Ejemplo n.º 1
0
        /// <summary>
        /// XML Representation for this object
        /// </summary>
        /// <returns>XML String</returns>

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

            xml.Append("<GetReportRequestCountResponse xmlns=\"http://mws.amazonaws.com/doc/2009-01-01/\">");
            if (IsSetGetReportRequestCountResult())
            {
                GetReportRequestCountResult getReportRequestCountResult = this.GetReportRequestCountResult;
                xml.Append("<GetReportRequestCountResult>");
                xml.Append(getReportRequestCountResult.ToXMLFragment());
                xml.Append("</GetReportRequestCountResult>");
            }
            if (IsSetResponseMetadata())
            {
                ResponseMetadata responseMetadata = this.ResponseMetadata;
                xml.Append("<ResponseMetadata>");
                xml.Append(responseMetadata.ToXMLFragment());
                xml.Append("</ResponseMetadata>");
            }
            xml.Append("</GetReportRequestCountResponse>");
            return(xml.ToString());
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Sets the GetReportRequestCountResult property
 /// </summary>
 /// <param name="getReportRequestCountResult">GetReportRequestCountResult property</param>
 /// <returns>this instance</returns>
 public GetReportRequestCountResponse WithGetReportRequestCountResult(GetReportRequestCountResult getReportRequestCountResult)
 {
     this.getReportRequestCountResultField = getReportRequestCountResult;
     return(this);
 }