/// <summary>
        /// XML Representation for this object
        /// </summary>
        /// <returns>XML String</returns>

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

            xml.Append("<GetReportScheduleCountResponse xmlns=\"http://mws.amazonaws.com/doc/2009-01-01/\">");
            if (IsSetGetReportScheduleCountResult())
            {
                GetReportScheduleCountResult getReportScheduleCountResult = this.GetReportScheduleCountResult;
                xml.Append("<GetReportScheduleCountResult>");
                xml.Append(getReportScheduleCountResult.ToXMLFragment());
                xml.Append("</GetReportScheduleCountResult>");
            }
            if (IsSetResponseMetadata())
            {
                ResponseMetadata responseMetadata = this.ResponseMetadata;
                xml.Append("<ResponseMetadata>");
                xml.Append(responseMetadata.ToXMLFragment());
                xml.Append("</ResponseMetadata>");
            }
            xml.Append("</GetReportScheduleCountResponse>");
            return(xml.ToString());
        }
 /// <summary>
 /// Sets the GetReportScheduleCountResult property
 /// </summary>
 /// <param name="getReportScheduleCountResult">GetReportScheduleCountResult property</param>
 /// <returns>this instance</returns>
 public GetReportScheduleCountResponse WithGetReportScheduleCountResult(GetReportScheduleCountResult getReportScheduleCountResult)
 {
     this.getReportScheduleCountResultField = getReportScheduleCountResult;
     return(this);
 }