/*
* 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 ListTrafficPolicyInstances operation.
/// Gets information about the traffic policy instances that you created by using the
/// current Amazon Web Services account.
///
///
///
/// After you submit an UpdateTrafficPolicyInstance
request, there's a brief
/// delay while Amazon Route 53 creates the resource record sets that are specified in
/// the traffic policy definition. For more information, see the State
response
/// element.
///
///
///
/// Route 53 returns a maximum of 100 items in each response. If you have a lot of traffic
/// policy instances, you can use the MaxItems
parameter to list them in
/// groups of up to 100.
///
///
public partial class ListTrafficPolicyInstancesRequest : AmazonRoute53Request
{
private string _hostedZoneIdMarker;
private string _trafficPolicyInstanceNameMarker;
private RRType _trafficPolicyInstanceTypeMarker;
private string _maxItems;
///
/// Gets and sets the property HostedZoneIdMarker.
///
/// If the value of IsTruncated
in the previous response was true
,
/// you have more traffic policy instances. To get more traffic policy instances, submit
/// another ListTrafficPolicyInstances
request. For the value of HostedZoneId
,
/// specify the value of HostedZoneIdMarker
from the previous response, which
/// is the hosted zone ID of the first traffic policy instance in the next group of traffic
/// policy instances.
///
///
///
/// If the value of IsTruncated
in the previous response was false
,
/// there are no more traffic policy instances to get.
///
///
[AWSProperty(Max=32)]
public string HostedZoneIdMarker
{
get { return this._hostedZoneIdMarker; }
set { this._hostedZoneIdMarker = value; }
}
// Check to see if HostedZoneIdMarker property is set
internal bool IsSetHostedZoneIdMarker()
{
return this._hostedZoneIdMarker != null;
}
///
/// Gets and sets the property TrafficPolicyInstanceNameMarker.
///
/// If the value of IsTruncated
in the previous response was true
,
/// you have more traffic policy instances. To get more traffic policy instances, submit
/// another ListTrafficPolicyInstances
request. For the value of trafficpolicyinstancename
,
/// specify the value of TrafficPolicyInstanceNameMarker
from the previous
/// response, which is the name of the first traffic policy instance in the next group
/// of traffic policy instances.
///
///
///
/// If the value of IsTruncated
in the previous response was false
,
/// there are no more traffic policy instances to get.
///
///
[AWSProperty(Max=1024)]
public string TrafficPolicyInstanceNameMarker
{
get { return this._trafficPolicyInstanceNameMarker; }
set { this._trafficPolicyInstanceNameMarker = value; }
}
// Check to see if TrafficPolicyInstanceNameMarker property is set
internal bool IsSetTrafficPolicyInstanceNameMarker()
{
return this._trafficPolicyInstanceNameMarker != null;
}
///
/// Gets and sets the property TrafficPolicyInstanceTypeMarker.
///
/// If the value of IsTruncated
in the previous response was true
,
/// you have more traffic policy instances. To get more traffic policy instances, submit
/// another ListTrafficPolicyInstances
request. For the value of trafficpolicyinstancetype
,
/// specify the value of TrafficPolicyInstanceTypeMarker
from the previous
/// response, which is the type of the first traffic policy instance in the next group
/// of traffic policy instances.
///
///
///
/// If the value of IsTruncated
in the previous response was false
,
/// there are no more traffic policy instances to get.
///
///
public RRType TrafficPolicyInstanceTypeMarker
{
get { return this._trafficPolicyInstanceTypeMarker; }
set { this._trafficPolicyInstanceTypeMarker = value; }
}
// Check to see if TrafficPolicyInstanceTypeMarker property is set
internal bool IsSetTrafficPolicyInstanceTypeMarker()
{
return this._trafficPolicyInstanceTypeMarker != null;
}
///
/// Gets and sets the property MaxItems.
///
/// The maximum number of traffic policy instances that you want Amazon Route 53 to return
/// in response to a ListTrafficPolicyInstances
request. If you have more
/// than MaxItems
traffic policy instances, the value of the IsTruncated
/// element in the response is true
, and the values of HostedZoneIdMarker
,
/// TrafficPolicyInstanceNameMarker
, and TrafficPolicyInstanceTypeMarker
/// represent the first traffic policy instance in the next group of MaxItems
/// traffic policy instances.
///
///
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;
}
}
}