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