/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the route53-2013-04-01.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Route53.Model { /// /// A complex type that contains the response information for the request. /// public partial class ListHostedZonesByNameResponse : AmazonWebServiceResponse { private List _hostedZones = new List(); private string _dnsName; private string _hostedZoneId; private bool? _isTruncated; private string _nextDNSName; private string _nextHostedZoneId; private string _maxItems; /// /// Gets and sets the property HostedZones. /// /// A complex type that contains general information about the hosted zone. /// /// [AWSProperty(Required=true)] public List HostedZones { get { return this._hostedZones; } set { this._hostedZones = value; } } // Check to see if HostedZones property is set internal bool IsSetHostedZones() { return this._hostedZones != null && this._hostedZones.Count > 0; } /// /// Gets and sets the property DNSName. /// /// For the second and subsequent calls to ListHostedZonesByName, DNSName /// is the value that you specified for the dnsname parameter in the request /// that produced the current response. /// /// [AWSProperty(Max=1024)] public string DNSName { get { return this._dnsName; } set { this._dnsName = value; } } // Check to see if DNSName property is set internal bool IsSetDNSName() { return this._dnsName != null; } /// /// Gets and sets the property HostedZoneId. /// /// The ID that Amazon Route 53 assigned to the hosted zone when you created it. /// /// [AWSProperty(Max=32)] public string HostedZoneId { get { return this._hostedZoneId; } set { this._hostedZoneId = value; } } // Check to see if HostedZoneId property is set internal bool IsSetHostedZoneId() { return this._hostedZoneId != null; } /// /// Gets and sets the property IsTruncated. /// /// A flag that indicates whether there are more hosted zones to be listed. If the response /// was truncated, you can get the next group of maxitems hosted zones by /// calling ListHostedZonesByName again and specifying the values of NextDNSName /// and NextHostedZoneId elements in the dnsname and hostedzoneid /// parameters. /// /// [AWSProperty(Required=true)] public bool IsTruncated { get { return this._isTruncated.GetValueOrDefault(); } set { this._isTruncated = value; } } // Check to see if IsTruncated property is set internal bool IsSetIsTruncated() { return this._isTruncated.HasValue; } /// /// Gets and sets the property NextDNSName. /// /// If IsTruncated is true, the value of NextDNSName is the /// name of the first hosted zone in the next group of maxitems hosted zones. /// Call ListHostedZonesByName again and specify the value of NextDNSName /// and NextHostedZoneId in the dnsname and hostedzoneid /// parameters, respectively. /// /// /// /// This element is present only if IsTruncated is true. /// /// [AWSProperty(Max=1024)] public string NextDNSName { get { return this._nextDNSName; } set { this._nextDNSName = value; } } // Check to see if NextDNSName property is set internal bool IsSetNextDNSName() { return this._nextDNSName != null; } /// /// Gets and sets the property NextHostedZoneId. /// /// If IsTruncated is true, the value of NextHostedZoneId /// identifies the first hosted zone in the next group of maxitems hosted /// zones. Call ListHostedZonesByName again and specify the value of NextDNSName /// and NextHostedZoneId in the dnsname and hostedzoneid /// parameters, respectively. /// /// /// /// This element is present only if IsTruncated is true. /// /// [AWSProperty(Max=32)] public string NextHostedZoneId { get { return this._nextHostedZoneId; } set { this._nextHostedZoneId = value; } } // Check to see if NextHostedZoneId property is set internal bool IsSetNextHostedZoneId() { return this._nextHostedZoneId != null; } /// /// Gets and sets the property MaxItems. /// /// The value that you specified for the maxitems parameter in the call to /// ListHostedZonesByName that produced the current response. /// /// [AWSProperty(Required=true)] public string MaxItems { get { return this._maxItems; } set { this._maxItems = value; } } // Check to see if MaxItems property is set internal bool IsSetMaxItems() { return this._maxItems != null; } } }