/** * 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 the * traffic policies that are associated with the current Amazon Web Services * account.

See Also:

AWS * API Reference

*/ class ListTrafficPoliciesRequest : public Route53Request { public: AWS_ROUTE53_API ListTrafficPoliciesRequest(); // 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 "ListTrafficPolicies"; } AWS_ROUTE53_API Aws::String SerializePayload() const override; AWS_ROUTE53_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

(Conditional) For your first request to ListTrafficPolicies, * don't include the TrafficPolicyIdMarker parameter.

If you * have more traffic policies than the value of MaxItems, * ListTrafficPolicies returns only the first MaxItems * traffic policies. To get the next group of policies, submit another request to * ListTrafficPolicies. For the value of * TrafficPolicyIdMarker, specify the value of * TrafficPolicyIdMarker that was returned in the previous * response.

*/ inline const Aws::String& GetTrafficPolicyIdMarker() const{ return m_trafficPolicyIdMarker; } /** *

(Conditional) For your first request to ListTrafficPolicies, * don't include the TrafficPolicyIdMarker parameter.

If you * have more traffic policies than the value of MaxItems, * ListTrafficPolicies returns only the first MaxItems * traffic policies. To get the next group of policies, submit another request to * ListTrafficPolicies. For the value of * TrafficPolicyIdMarker, specify the value of * TrafficPolicyIdMarker that was returned in the previous * response.

*/ inline bool TrafficPolicyIdMarkerHasBeenSet() const { return m_trafficPolicyIdMarkerHasBeenSet; } /** *

(Conditional) For your first request to ListTrafficPolicies, * don't include the TrafficPolicyIdMarker parameter.

If you * have more traffic policies than the value of MaxItems, * ListTrafficPolicies returns only the first MaxItems * traffic policies. To get the next group of policies, submit another request to * ListTrafficPolicies. For the value of * TrafficPolicyIdMarker, specify the value of * TrafficPolicyIdMarker that was returned in the previous * response.

*/ inline void SetTrafficPolicyIdMarker(const Aws::String& value) { m_trafficPolicyIdMarkerHasBeenSet = true; m_trafficPolicyIdMarker = value; } /** *

(Conditional) For your first request to ListTrafficPolicies, * don't include the TrafficPolicyIdMarker parameter.

If you * have more traffic policies than the value of MaxItems, * ListTrafficPolicies returns only the first MaxItems * traffic policies. To get the next group of policies, submit another request to * ListTrafficPolicies. For the value of * TrafficPolicyIdMarker, specify the value of * TrafficPolicyIdMarker that was returned in the previous * response.

*/ inline void SetTrafficPolicyIdMarker(Aws::String&& value) { m_trafficPolicyIdMarkerHasBeenSet = true; m_trafficPolicyIdMarker = std::move(value); } /** *

(Conditional) For your first request to ListTrafficPolicies, * don't include the TrafficPolicyIdMarker parameter.

If you * have more traffic policies than the value of MaxItems, * ListTrafficPolicies returns only the first MaxItems * traffic policies. To get the next group of policies, submit another request to * ListTrafficPolicies. For the value of * TrafficPolicyIdMarker, specify the value of * TrafficPolicyIdMarker that was returned in the previous * response.

*/ inline void SetTrafficPolicyIdMarker(const char* value) { m_trafficPolicyIdMarkerHasBeenSet = true; m_trafficPolicyIdMarker.assign(value); } /** *

(Conditional) For your first request to ListTrafficPolicies, * don't include the TrafficPolicyIdMarker parameter.

If you * have more traffic policies than the value of MaxItems, * ListTrafficPolicies returns only the first MaxItems * traffic policies. To get the next group of policies, submit another request to * ListTrafficPolicies. For the value of * TrafficPolicyIdMarker, specify the value of * TrafficPolicyIdMarker that was returned in the previous * response.

*/ inline ListTrafficPoliciesRequest& WithTrafficPolicyIdMarker(const Aws::String& value) { SetTrafficPolicyIdMarker(value); return *this;} /** *

(Conditional) For your first request to ListTrafficPolicies, * don't include the TrafficPolicyIdMarker parameter.

If you * have more traffic policies than the value of MaxItems, * ListTrafficPolicies returns only the first MaxItems * traffic policies. To get the next group of policies, submit another request to * ListTrafficPolicies. For the value of * TrafficPolicyIdMarker, specify the value of * TrafficPolicyIdMarker that was returned in the previous * response.

*/ inline ListTrafficPoliciesRequest& WithTrafficPolicyIdMarker(Aws::String&& value) { SetTrafficPolicyIdMarker(std::move(value)); return *this;} /** *

(Conditional) For your first request to ListTrafficPolicies, * don't include the TrafficPolicyIdMarker parameter.

If you * have more traffic policies than the value of MaxItems, * ListTrafficPolicies returns only the first MaxItems * traffic policies. To get the next group of policies, submit another request to * ListTrafficPolicies. For the value of * TrafficPolicyIdMarker, specify the value of * TrafficPolicyIdMarker that was returned in the previous * response.

*/ inline ListTrafficPoliciesRequest& WithTrafficPolicyIdMarker(const char* value) { SetTrafficPolicyIdMarker(value); return *this;} /** *

(Optional) The maximum number of traffic policies that you want Amazon Route * 53 to return in response to this request. If you have more than * MaxItems traffic policies, the value of IsTruncated in * the response is true, and the value of * TrafficPolicyIdMarker is the ID of the first traffic policy that * Route 53 will return if you submit another request.

*/ inline const Aws::String& GetMaxItems() const{ return m_maxItems; } /** *

(Optional) The maximum number of traffic policies that you want Amazon Route * 53 to return in response to this request. If you have more than * MaxItems traffic policies, the value of IsTruncated in * the response is true, and the value of * TrafficPolicyIdMarker is the ID of the first traffic policy that * Route 53 will return if you submit another request.

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

(Optional) The maximum number of traffic policies that you want Amazon Route * 53 to return in response to this request. If you have more than * MaxItems traffic policies, the value of IsTruncated in * the response is true, and the value of * TrafficPolicyIdMarker is the ID of the first traffic policy that * Route 53 will return if you submit another request.

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

(Optional) The maximum number of traffic policies that you want Amazon Route * 53 to return in response to this request. If you have more than * MaxItems traffic policies, the value of IsTruncated in * the response is true, and the value of * TrafficPolicyIdMarker is the ID of the first traffic policy that * Route 53 will return if you submit another request.

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

(Optional) The maximum number of traffic policies that you want Amazon Route * 53 to return in response to this request. If you have more than * MaxItems traffic policies, the value of IsTruncated in * the response is true, and the value of * TrafficPolicyIdMarker is the ID of the first traffic policy that * Route 53 will return if you submit another request.

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

(Optional) The maximum number of traffic policies that you want Amazon Route * 53 to return in response to this request. If you have more than * MaxItems traffic policies, the value of IsTruncated in * the response is true, and the value of * TrafficPolicyIdMarker is the ID of the first traffic policy that * Route 53 will return if you submit another request.

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

(Optional) The maximum number of traffic policies that you want Amazon Route * 53 to return in response to this request. If you have more than * MaxItems traffic policies, the value of IsTruncated in * the response is true, and the value of * TrafficPolicyIdMarker is the ID of the first traffic policy that * Route 53 will return if you submit another request.

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

(Optional) The maximum number of traffic policies that you want Amazon Route * 53 to return in response to this request. If you have more than * MaxItems traffic policies, the value of IsTruncated in * the response is true, and the value of * TrafficPolicyIdMarker is the ID of the first traffic policy that * Route 53 will return if you submit another request.

*/ inline ListTrafficPoliciesRequest& WithMaxItems(const char* value) { SetMaxItems(value); return *this;} private: Aws::String m_trafficPolicyIdMarker; bool m_trafficPolicyIdMarkerHasBeenSet = false; Aws::String m_maxItems; bool m_maxItemsHasBeenSet = false; }; } // namespace Model } // namespace Route53 } // namespace Aws