/* * 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 ListTrafficPolicyVersions operation. /// Gets information about all of the versions for a specified traffic policy. /// /// /// /// Traffic policy versions are listed in numerical order by VersionNumber. /// /// public partial class ListTrafficPolicyVersionsRequest : AmazonRoute53Request { private string _id; private string _trafficPolicyVersionMarker; private string _maxItems; /// /// Gets and sets the property Id. /// /// Specify the value of Id of the traffic policy for which you want to list /// all versions. /// /// [AWSProperty(Required=true, Min=1, Max=36)] public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } /// /// Gets and sets the property TrafficPolicyVersionMarker. /// /// For your first request to ListTrafficPolicyVersions, don't include the /// TrafficPolicyVersionMarker parameter. /// /// /// /// If you have more traffic policy versions than the value of MaxItems, /// ListTrafficPolicyVersions returns only the first group of MaxItems /// versions. To get more traffic policy versions, submit another ListTrafficPolicyVersions /// request. For the value of TrafficPolicyVersionMarker, specify the value /// of TrafficPolicyVersionMarker in the previous response. /// /// [AWSProperty(Max=4)] public string TrafficPolicyVersionMarker { get { return this._trafficPolicyVersionMarker; } set { this._trafficPolicyVersionMarker = value; } } // Check to see if TrafficPolicyVersionMarker property is set internal bool IsSetTrafficPolicyVersionMarker() { return this._trafficPolicyVersionMarker != null; } /// /// Gets and sets the property MaxItems. /// /// The maximum number of traffic policy versions that you want Amazon Route 53 to include /// in the response body for this request. If the specified traffic policy has more than /// MaxItems versions, the value of IsTruncated in the response /// is true, and the value of the TrafficPolicyVersionMarker /// element is the ID of the first version 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; } } }