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