Пример #1
0
        /// <summary>
        /// XML Representation for this object
        /// </summary>
        /// <returns>XML String</returns>

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

            xml.Append("<GetReportRequestListResponse xmlns=\"http://mws.amazonaws.com/doc/2009-01-01/\">");
            if (IsSetGetReportRequestListResult())
            {
                GetReportRequestListResult getReportRequestListResult = this.GetReportRequestListResult;
                xml.Append("<GetReportRequestListResult>");
                xml.Append(getReportRequestListResult.ToXMLFragment());
                xml.Append("</GetReportRequestListResult>");
            }
            if (IsSetResponseMetadata())
            {
                ResponseMetadata responseMetadata = this.ResponseMetadata;
                xml.Append("<ResponseMetadata>");
                xml.Append(responseMetadata.ToXMLFragment());
                xml.Append("</ResponseMetadata>");
            }
            xml.Append("</GetReportRequestListResponse>");
            return(xml.ToString());
        }
Пример #2
0
 /// <summary>
 /// Sets the GetReportRequestListResult property
 /// </summary>
 /// <param name="getReportRequestListResult">GetReportRequestListResult property</param>
 /// <returns>this instance</returns>
 public GetReportRequestListResponse WithGetReportRequestListResult(GetReportRequestListResult getReportRequestListResult)
 {
     this.getReportRequestListResultField = getReportRequestListResult;
     return(this);
 }