Esempio n. 1
0
        /// <summary>
        /// XML Representation for this object
        /// </summary>
        /// <returns>XML String</returns>

        public String ToXML()
        {
            StringBuilder xml = new StringBuilder();

            xml.Append("<GetReportRequestListByNextTokenResponse xmlns=\"http://mws.amazonaws.com/doc/2009-01-01/\">");
            if (IsSetGetReportRequestListByNextTokenResult())
            {
                GetReportRequestListByNextTokenResult getReportRequestListByNextTokenResult = this.GetReportRequestListByNextTokenResult;
                xml.Append("<GetReportRequestListByNextTokenResult>");
                xml.Append(getReportRequestListByNextTokenResult.ToXMLFragment());
                xml.Append("</GetReportRequestListByNextTokenResult>");
            }
            if (IsSetResponseMetadata())
            {
                ResponseMetadata responseMetadata = this.ResponseMetadata;
                xml.Append("<ResponseMetadata>");
                xml.Append(responseMetadata.ToXMLFragment());
                xml.Append("</ResponseMetadata>");
            }
            xml.Append("</GetReportRequestListByNextTokenResponse>");
            return(xml.ToString());
        }
Esempio n. 2
0
 /// <summary>
 /// Sets the GetReportRequestListByNextTokenResult property
 /// </summary>
 /// <param name="getReportRequestListByNextTokenResult">GetReportRequestListByNextTokenResult property</param>
 /// <returns>this instance</returns>
 public GetReportRequestListByNextTokenResponse WithGetReportRequestListByNextTokenResult(GetReportRequestListByNextTokenResult getReportRequestListByNextTokenResult)
 {
     this.getReportRequestListByNextTokenResultField = getReportRequestListByNextTokenResult;
     return(this);
 }