/// <summary> /// XML Representation for this object /// </summary> /// <returns>XML String</returns> public String ToXML() { StringBuilder xml = new StringBuilder(); xml.Append("<GetConsoleOutputResponse xmlns=\"http://ec2.amazonaws.com/doc/2008-12-01/\">"); if (IsSetResponseMetadata()) { ResponseMetadata responseMetadata = this.ResponseMetadata; xml.Append("<ResponseMetadata>"); xml.Append(responseMetadata.ToXMLFragment()); xml.Append("</ResponseMetadata>"); } if (IsSetGetConsoleOutputResult()) { GetConsoleOutputResult getConsoleOutputResult = this.GetConsoleOutputResult; xml.Append("<GetConsoleOutputResult>"); xml.Append(getConsoleOutputResult.ToXMLFragment()); xml.Append("</GetConsoleOutputResult>"); } xml.Append("</GetConsoleOutputResponse>"); return(xml.ToString()); }
/// <summary> /// Sets the GetConsoleOutputResult property /// </summary> /// <param name="getConsoleOutputResult">GetConsoleOutputResult property</param> /// <returns>this instance</returns> public GetConsoleOutputResponse WithGetConsoleOutputResult(GetConsoleOutputResult getConsoleOutputResult) { this.getConsoleOutputResultField = getConsoleOutputResult; return this; }
/// <summary> /// Sets the GetConsoleOutputResult property /// </summary> /// <param name="getConsoleOutputResult">GetConsoleOutputResult property</param> /// <returns>this instance</returns> public GetConsoleOutputResponse WithGetConsoleOutputResult(GetConsoleOutputResult getConsoleOutputResult) { this.getConsoleOutputResultField = getConsoleOutputResult; return(this); }