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