Example #1
0
        /// <summary>
        /// XML Representation for this object
        /// </summary>
        /// <returns>XML String</returns>

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

            xml.Append("<GetReportListByNextTokenResponse xmlns=\"http://mws.amazonaws.com/doc/2009-01-01/\">");
            if (IsSetGetReportListByNextTokenResult())
            {
                GetReportListByNextTokenResult getReportListByNextTokenResult = this.GetReportListByNextTokenResult;
                xml.Append("<GetReportListByNextTokenResult>");
                xml.Append(getReportListByNextTokenResult.ToXMLFragment());
                xml.Append("</GetReportListByNextTokenResult>");
            }
            if (IsSetResponseMetadata())
            {
                ResponseMetadata responseMetadata = this.ResponseMetadata;
                xml.Append("<ResponseMetadata>");
                xml.Append(responseMetadata.ToXMLFragment());
                xml.Append("</ResponseMetadata>");
            }
            xml.Append("</GetReportListByNextTokenResponse>");
            return(xml.ToString());
        }
Example #2
0
 /// <summary>
 /// Sets the GetReportListByNextTokenResult property
 /// </summary>
 /// <param name="getReportListByNextTokenResult">GetReportListByNextTokenResult property</param>
 /// <returns>this instance</returns>
 public GetReportListByNextTokenResponse WithGetReportListByNextTokenResult(GetReportListByNextTokenResult getReportListByNextTokenResult)
 {
     this.getReportListByNextTokenResultField = getReportListByNextTokenResult;
     return(this);
 }