/// <summary> /// XML Representation for this object /// </summary> /// <returns>XML String</returns> public String ToXML() { StringBuilder xml = new StringBuilder(); xml.Append("<ChangeMessageVisibilityResponse xmlns=\"http://queue.amazonaws.com/doc/2009-02-01/\">"); if (IsSetResponseMetadata()) { ResponseMetadata responseMetadata = this.ResponseMetadata; xml.Append("<ResponseMetadata>"); xml.Append(responseMetadata.ToXMLFragment()); xml.Append("</ResponseMetadata>"); } xml.Append("</ChangeMessageVisibilityResponse>"); return(xml.ToString()); }
/// <summary> /// XML Representation for this object /// </summary> /// <returns>XML String</returns> public String ToXML() { StringBuilder xml = new StringBuilder(); xml.Append("<CreateQueueResponse xmlns=\"http://queue.amazonaws.com/doc/2009-02-01/\">"); if (IsSetCreateQueueResult()) { CreateQueueResult createQueueResult = this.CreateQueueResult; xml.Append("<CreateQueueResult>"); xml.Append(createQueueResult.ToXMLFragment()); xml.Append("</CreateQueueResult>"); } if (IsSetResponseMetadata()) { ResponseMetadata responseMetadata = this.ResponseMetadata; xml.Append("<ResponseMetadata>"); xml.Append(responseMetadata.ToXMLFragment()); xml.Append("</ResponseMetadata>"); } xml.Append("</CreateQueueResponse>"); return(xml.ToString()); }
/// <summary> /// XML Representation for this object /// </summary> /// <returns>XML String</returns> public String ToXML() { StringBuilder xml = new StringBuilder(); xml.Append("<GetQueueAttributesResponse xmlns=\"http://queue.amazonaws.com/doc/2009-02-01/\">"); if (IsSetGetQueueAttributesResult()) { GetQueueAttributesResult getQueueAttributesResult = this.GetQueueAttributesResult; xml.Append("<GetQueueAttributesResult>"); xml.Append(getQueueAttributesResult.ToXMLFragment()); xml.Append("</GetQueueAttributesResult>"); } if (IsSetResponseMetadata()) { ResponseMetadata responseMetadata = this.ResponseMetadata; xml.Append("<ResponseMetadata>"); xml.Append(responseMetadata.ToXMLFragment()); xml.Append("</ResponseMetadata>"); } xml.Append("</GetQueueAttributesResponse>"); return(xml.ToString()); }