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