/// <summary>
        /// XML Representation for this object
        /// </summary>
        /// <returns>XML String</returns>

        public String ToXML()
        {
            StringBuilder xml = new StringBuilder();

            xml.Append("<DescribeAvailabilityZonesResponse 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 (IsSetDescribeAvailabilityZonesResult())
            {
                DescribeAvailabilityZonesResult describeAvailabilityZonesResult = this.DescribeAvailabilityZonesResult;
                xml.Append("<DescribeAvailabilityZonesResult>");
                xml.Append(describeAvailabilityZonesResult.ToXMLFragment());
                xml.Append("</DescribeAvailabilityZonesResult>");
            }
            xml.Append("</DescribeAvailabilityZonesResponse>");
            return(xml.ToString());
        }
 /// <summary>
 /// Sets the DescribeAvailabilityZonesResult property
 /// </summary>
 /// <param name="describeAvailabilityZonesResult">DescribeAvailabilityZonesResult property</param>
 /// <returns>this instance</returns>
 public DescribeAvailabilityZonesResponse WithDescribeAvailabilityZonesResult(DescribeAvailabilityZonesResult describeAvailabilityZonesResult)
 {
     this.describeAvailabilityZonesResultField = describeAvailabilityZonesResult;
     return(this);
 }
 /// <summary>
 /// Sets the DescribeAvailabilityZonesResult property
 /// </summary>
 /// <param name="describeAvailabilityZonesResult">DescribeAvailabilityZonesResult property</param>
 /// <returns>this instance</returns>
 public DescribeAvailabilityZonesResponse WithDescribeAvailabilityZonesResult(DescribeAvailabilityZonesResult describeAvailabilityZonesResult)
 {
     this.describeAvailabilityZonesResultField = describeAvailabilityZonesResult;
     return this;
 }