/// <summary> /// XML Representation for this object /// </summary> /// <returns>XML String</returns> public String ToXML() { StringBuilder xml = new StringBuilder(); xml.Append("<GetReportListResponse xmlns=\"http://mws.amazonaws.com/doc/2009-01-01/\">"); if (IsSetGetReportListResult()) { GetReportListResult getReportListResult = this.GetReportListResult; xml.Append("<GetReportListResult>"); xml.Append(getReportListResult.ToXMLFragment()); xml.Append("</GetReportListResult>"); } if (IsSetResponseMetadata()) { ResponseMetadata responseMetadata = this.ResponseMetadata; xml.Append("<ResponseMetadata>"); xml.Append(responseMetadata.ToXMLFragment()); xml.Append("</ResponseMetadata>"); } xml.Append("</GetReportListResponse>"); return(xml.ToString()); }
/// <summary> /// Sets the GetReportListResult property /// </summary> /// <param name="getReportListResult">GetReportListResult property</param> /// <returns>this instance</returns> public GetReportListResponse WithGetReportListResult(GetReportListResult getReportListResult) { this.getReportListResultField = getReportListResult; return(this); }