/// <summary> /// XML Representation for this object /// </summary> /// <returns>XML String</returns> public String ToXML() { StringBuilder xml = new StringBuilder(); xml.Append("<SelectResponse xmlns=\"http://sdb.amazonaws.com/doc/2009-04-15/\">"); if (IsSetSelectResult()) { SelectResult selectResult = this.SelectResult; xml.Append("<SelectResult>"); xml.Append(selectResult.ToXMLFragment()); xml.Append("</SelectResult>"); } if (IsSetResponseMetadata()) { ResponseMetadata responseMetadata = this.ResponseMetadata; xml.Append("<ResponseMetadata>"); xml.Append(responseMetadata.ToXMLFragment()); xml.Append("</ResponseMetadata>"); } xml.Append("</SelectResponse>"); return(xml.ToString()); }
/// <summary> /// Sets the SelectResult property /// </summary> /// <param name="selectResult">SelectResult property</param> /// <returns>this instance</returns> public SelectResponse WithSelectResult(SelectResult selectResult) { this.selectResultField = selectResult; return this; }
public SelectResponse WithSelectResult(SelectResult selectResult) { this.selectResultField = selectResult; return(this); }