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