/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Http { class URI; } //namespace Http namespace Route53 { namespace Model { /** *

A complex type that contains the information about the request to list your * traffic policies.

See Also:

AWS * API Reference

*/ class ListTrafficPolicyVersionsRequest : public Route53Request { public: AWS_ROUTE53_API ListTrafficPolicyVersionsRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "ListTrafficPolicyVersions"; } AWS_ROUTE53_API Aws::String SerializePayload() const override; AWS_ROUTE53_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

Specify the value of Id of the traffic policy for which you want * to list all versions.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

Specify the value of Id of the traffic policy for which you want * to list all versions.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

Specify the value of Id of the traffic policy for which you want * to list all versions.

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

Specify the value of Id of the traffic policy for which you want * to list all versions.

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

Specify the value of Id of the traffic policy for which you want * to list all versions.

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

Specify the value of Id of the traffic policy for which you want * to list all versions.

*/ inline ListTrafficPolicyVersionsRequest& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

Specify the value of Id of the traffic policy for which you want * to list all versions.

*/ inline ListTrafficPolicyVersionsRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

Specify the value of Id of the traffic policy for which you want * to list all versions.

*/ inline ListTrafficPolicyVersionsRequest& WithId(const char* value) { SetId(value); return *this;} /** *

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.

*/ inline const Aws::String& GetTrafficPolicyVersionMarker() const{ return m_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.

*/ inline bool TrafficPolicyVersionMarkerHasBeenSet() const { return m_trafficPolicyVersionMarkerHasBeenSet; } /** *

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.

*/ inline void SetTrafficPolicyVersionMarker(const Aws::String& value) { m_trafficPolicyVersionMarkerHasBeenSet = true; m_trafficPolicyVersionMarker = value; } /** *

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.

*/ inline void SetTrafficPolicyVersionMarker(Aws::String&& value) { m_trafficPolicyVersionMarkerHasBeenSet = true; m_trafficPolicyVersionMarker = std::move(value); } /** *

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.

*/ inline void SetTrafficPolicyVersionMarker(const char* value) { m_trafficPolicyVersionMarkerHasBeenSet = true; m_trafficPolicyVersionMarker.assign(value); } /** *

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.

*/ inline ListTrafficPolicyVersionsRequest& WithTrafficPolicyVersionMarker(const Aws::String& value) { SetTrafficPolicyVersionMarker(value); return *this;} /** *

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.

*/ inline ListTrafficPolicyVersionsRequest& WithTrafficPolicyVersionMarker(Aws::String&& value) { SetTrafficPolicyVersionMarker(std::move(value)); return *this;} /** *

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.

*/ inline ListTrafficPolicyVersionsRequest& WithTrafficPolicyVersionMarker(const char* value) { SetTrafficPolicyVersionMarker(value); return *this;} /** *

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.

*/ inline const Aws::String& GetMaxItems() const{ return m_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.

*/ inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; } /** *

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.

*/ inline void SetMaxItems(const Aws::String& value) { m_maxItemsHasBeenSet = true; m_maxItems = value; } /** *

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.

*/ inline void SetMaxItems(Aws::String&& value) { m_maxItemsHasBeenSet = true; m_maxItems = std::move(value); } /** *

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.

*/ inline void SetMaxItems(const char* value) { m_maxItemsHasBeenSet = true; m_maxItems.assign(value); } /** *

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.

*/ inline ListTrafficPolicyVersionsRequest& WithMaxItems(const Aws::String& value) { SetMaxItems(value); return *this;} /** *

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.

*/ inline ListTrafficPolicyVersionsRequest& WithMaxItems(Aws::String&& value) { SetMaxItems(std::move(value)); return *this;} /** *

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.

*/ inline ListTrafficPolicyVersionsRequest& WithMaxItems(const char* value) { SetMaxItems(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_trafficPolicyVersionMarker; bool m_trafficPolicyVersionMarkerHasBeenSet = false; Aws::String m_maxItems; bool m_maxItemsHasBeenSet = false; }; } // namespace Model } // namespace Route53 } // namespace Aws