Пример #1
0
        /// <summary>
        /// XML Representation for this object
        /// </summary>
        /// <returns>XML String</returns>

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

            xml.Append("<UpdateReportAcknowledgementsResponse xmlns=\"http://mws.amazonaws.com/doc/2009-01-01/\">");
            if (IsSetUpdateReportAcknowledgementsResult())
            {
                UpdateReportAcknowledgementsResult updateReportAcknowledgementsResult = this.UpdateReportAcknowledgementsResult;
                xml.Append("<UpdateReportAcknowledgementsResult>");
                xml.Append(updateReportAcknowledgementsResult.ToXMLFragment());
                xml.Append("</UpdateReportAcknowledgementsResult>");
            }
            if (IsSetResponseMetadata())
            {
                ResponseMetadata responseMetadata = this.ResponseMetadata;
                xml.Append("<ResponseMetadata>");
                xml.Append(responseMetadata.ToXMLFragment());
                xml.Append("</ResponseMetadata>");
            }
            xml.Append("</UpdateReportAcknowledgementsResponse>");
            return(xml.ToString());
        }
Пример #2
0
 /// <summary>
 /// Sets the UpdateReportAcknowledgementsResult property
 /// </summary>
 /// <param name="updateReportAcknowledgementsResult">UpdateReportAcknowledgementsResult property</param>
 /// <returns>this instance</returns>
 public UpdateReportAcknowledgementsResponse WithUpdateReportAcknowledgementsResult(UpdateReportAcknowledgementsResult updateReportAcknowledgementsResult)
 {
     this.updateReportAcknowledgementsResultField = updateReportAcknowledgementsResult;
     return(this);
 }