コード例 #1
0
        /// <summary>
        /// XML Representation for this object
        /// </summary>
        /// <returns>XML String</returns>

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

            xml.Append("<GetReportScheduleListResponse xmlns=\"http://mws.amazonaws.com/doc/2009-01-01/\">");
            if (IsSetGetReportScheduleListResult())
            {
                GetReportScheduleListResult getReportScheduleListResult = this.GetReportScheduleListResult;
                xml.Append("<GetReportScheduleListResult>");
                xml.Append(getReportScheduleListResult.ToXMLFragment());
                xml.Append("</GetReportScheduleListResult>");
            }
            if (IsSetResponseMetadata())
            {
                ResponseMetadata responseMetadata = this.ResponseMetadata;
                xml.Append("<ResponseMetadata>");
                xml.Append(responseMetadata.ToXMLFragment());
                xml.Append("</ResponseMetadata>");
            }
            xml.Append("</GetReportScheduleListResponse>");
            return(xml.ToString());
        }
コード例 #2
0
 /// <summary>
 /// Sets the GetReportScheduleListResult property
 /// </summary>
 /// <param name="getReportScheduleListResult">GetReportScheduleListResult property</param>
 /// <returns>this instance</returns>
 public GetReportScheduleListResponse WithGetReportScheduleListResult(GetReportScheduleListResult getReportScheduleListResult)
 {
     this.getReportScheduleListResultField = getReportScheduleListResult;
     return(this);
 }