/*
* 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
{
///
/// Container for the parameters to the ListHostedZones operation.
/// Retrieves a list of the public and private hosted zones that are associated with the
/// current Amazon Web Services account. The response includes a HostedZones
/// child element for each hosted zone.
///
///
///
/// Amazon Route 53 returns a maximum of 100 items in each response. If you have a lot
/// of hosted zones, you can use the maxitems
parameter to list them in groups
/// of up to 100.
///
///
public partial class ListHostedZonesRequest : AmazonRoute53Request
{
private string _marker;
private string _maxItems;
private string _delegationSetId;
///
/// Empty constructor used to set properties independently even when a simple constructor is available
///
public ListHostedZonesRequest() { }
///
/// Gets and sets the property Marker.
///
/// If the value of IsTruncated
in the previous response was true
,
/// you have more hosted zones. To get more hosted zones, submit another ListHostedZones
/// request.
///
///
///
/// For the value of marker
, specify the value of NextMarker
/// from the previous response, which is the ID of the first hosted zone that Amazon Route
/// 53 will return if you submit another request.
///
///
///
/// If the value of IsTruncated
in the previous response was false
,
/// there are no more hosted zones to get.
///
///
[AWSProperty(Max=64)]
public string Marker
{
get { return this._marker; }
set { this._marker = value; }
}
// Check to see if Marker property is set
internal bool IsSetMarker()
{
return this._marker != null;
}
///
/// Gets and sets the property MaxItems.
///
/// (Optional) The maximum number of hosted zones that you want Amazon Route 53 to return.
/// If you have more than maxitems
hosted zones, the value of IsTruncated
/// in the response is true
, and the value of NextMarker
is
/// the hosted zone ID of the first hosted zone that Route 53 will return if you submit
/// another request.
///
///
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;
}
///
/// Gets and sets the property DelegationSetId.
///
/// If you're using reusable delegation sets and you want to list all of the hosted zones
/// that are associated with a reusable delegation set, specify the ID of that reusable
/// delegation set.
///
///
[AWSProperty(Max=32)]
public string DelegationSetId
{
get { return this._delegationSetId; }
set { this._delegationSetId = value; }
}
// Check to see if DelegationSetId property is set
internal bool IsSetDelegationSetId()
{
return this._delegationSetId != null;
}
}
}