/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #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 policy instances.

See Also:

AWS * API Reference

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

The ID of the traffic policy for which you want to list traffic policy * instances.

*/ inline const Aws::String& GetTrafficPolicyId() const{ return m_trafficPolicyId; } /** *

The ID of the traffic policy for which you want to list traffic policy * instances.

*/ inline bool TrafficPolicyIdHasBeenSet() const { return m_trafficPolicyIdHasBeenSet; } /** *

The ID of the traffic policy for which you want to list traffic policy * instances.

*/ inline void SetTrafficPolicyId(const Aws::String& value) { m_trafficPolicyIdHasBeenSet = true; m_trafficPolicyId = value; } /** *

The ID of the traffic policy for which you want to list traffic policy * instances.

*/ inline void SetTrafficPolicyId(Aws::String&& value) { m_trafficPolicyIdHasBeenSet = true; m_trafficPolicyId = std::move(value); } /** *

The ID of the traffic policy for which you want to list traffic policy * instances.

*/ inline void SetTrafficPolicyId(const char* value) { m_trafficPolicyIdHasBeenSet = true; m_trafficPolicyId.assign(value); } /** *

The ID of the traffic policy for which you want to list traffic policy * instances.

*/ inline ListTrafficPolicyInstancesByPolicyRequest& WithTrafficPolicyId(const Aws::String& value) { SetTrafficPolicyId(value); return *this;} /** *

The ID of the traffic policy for which you want to list traffic policy * instances.

*/ inline ListTrafficPolicyInstancesByPolicyRequest& WithTrafficPolicyId(Aws::String&& value) { SetTrafficPolicyId(std::move(value)); return *this;} /** *

The ID of the traffic policy for which you want to list traffic policy * instances.

*/ inline ListTrafficPolicyInstancesByPolicyRequest& WithTrafficPolicyId(const char* value) { SetTrafficPolicyId(value); return *this;} /** *

The version of the traffic policy for which you want to list traffic policy * instances. The version must be associated with the traffic policy that is * specified by TrafficPolicyId.

*/ inline int GetTrafficPolicyVersion() const{ return m_trafficPolicyVersion; } /** *

The version of the traffic policy for which you want to list traffic policy * instances. The version must be associated with the traffic policy that is * specified by TrafficPolicyId.

*/ inline bool TrafficPolicyVersionHasBeenSet() const { return m_trafficPolicyVersionHasBeenSet; } /** *

The version of the traffic policy for which you want to list traffic policy * instances. The version must be associated with the traffic policy that is * specified by TrafficPolicyId.

*/ inline void SetTrafficPolicyVersion(int value) { m_trafficPolicyVersionHasBeenSet = true; m_trafficPolicyVersion = value; } /** *

The version of the traffic policy for which you want to list traffic policy * instances. The version must be associated with the traffic policy that is * specified by TrafficPolicyId.

*/ inline ListTrafficPolicyInstancesByPolicyRequest& WithTrafficPolicyVersion(int value) { SetTrafficPolicyVersion(value); return *this;} /** *

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 ListTrafficPolicyInstancesByPolicy * 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 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 traffic policy instances to get.

*/ inline const Aws::String& GetHostedZoneIdMarker() const{ return m_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 ListTrafficPolicyInstancesByPolicy * 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 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 traffic policy instances to get.

*/ inline bool HostedZoneIdMarkerHasBeenSet() const { return m_hostedZoneIdMarkerHasBeenSet; } /** *

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 ListTrafficPolicyInstancesByPolicy * 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 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 traffic policy instances to get.

*/ inline void SetHostedZoneIdMarker(const Aws::String& value) { m_hostedZoneIdMarkerHasBeenSet = true; m_hostedZoneIdMarker = value; } /** *

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 ListTrafficPolicyInstancesByPolicy * 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 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 traffic policy instances to get.

*/ inline void SetHostedZoneIdMarker(Aws::String&& value) { m_hostedZoneIdMarkerHasBeenSet = true; m_hostedZoneIdMarker = std::move(value); } /** *

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 ListTrafficPolicyInstancesByPolicy * 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 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 traffic policy instances to get.

*/ inline void SetHostedZoneIdMarker(const char* value) { m_hostedZoneIdMarkerHasBeenSet = true; m_hostedZoneIdMarker.assign(value); } /** *

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 ListTrafficPolicyInstancesByPolicy * 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 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 traffic policy instances to get.

*/ inline ListTrafficPolicyInstancesByPolicyRequest& WithHostedZoneIdMarker(const Aws::String& value) { SetHostedZoneIdMarker(value); return *this;} /** *

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 ListTrafficPolicyInstancesByPolicy * 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 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 traffic policy instances to get.

*/ inline ListTrafficPolicyInstancesByPolicyRequest& WithHostedZoneIdMarker(Aws::String&& value) { SetHostedZoneIdMarker(std::move(value)); return *this;} /** *

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 ListTrafficPolicyInstancesByPolicy * 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 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 traffic policy instances to get.

*/ inline ListTrafficPolicyInstancesByPolicyRequest& WithHostedZoneIdMarker(const char* value) { SetHostedZoneIdMarker(value); return *this;} /** *

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 ListTrafficPolicyInstancesByPolicy * 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 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 traffic policy instances to get.

*/ inline const Aws::String& GetTrafficPolicyInstanceNameMarker() const{ return m_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 ListTrafficPolicyInstancesByPolicy * 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 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 traffic policy instances to get.

*/ inline bool TrafficPolicyInstanceNameMarkerHasBeenSet() const { return m_trafficPolicyInstanceNameMarkerHasBeenSet; } /** *

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 ListTrafficPolicyInstancesByPolicy * 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 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 traffic policy instances to get.

*/ inline void SetTrafficPolicyInstanceNameMarker(const Aws::String& value) { m_trafficPolicyInstanceNameMarkerHasBeenSet = true; m_trafficPolicyInstanceNameMarker = value; } /** *

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 ListTrafficPolicyInstancesByPolicy * 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 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 traffic policy instances to get.

*/ inline void SetTrafficPolicyInstanceNameMarker(Aws::String&& value) { m_trafficPolicyInstanceNameMarkerHasBeenSet = true; m_trafficPolicyInstanceNameMarker = std::move(value); } /** *

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 ListTrafficPolicyInstancesByPolicy * 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 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 traffic policy instances to get.

*/ inline void SetTrafficPolicyInstanceNameMarker(const char* value) { m_trafficPolicyInstanceNameMarkerHasBeenSet = true; m_trafficPolicyInstanceNameMarker.assign(value); } /** *

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 ListTrafficPolicyInstancesByPolicy * 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 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 traffic policy instances to get.

*/ inline ListTrafficPolicyInstancesByPolicyRequest& WithTrafficPolicyInstanceNameMarker(const Aws::String& value) { SetTrafficPolicyInstanceNameMarker(value); return *this;} /** *

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 ListTrafficPolicyInstancesByPolicy * 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 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 traffic policy instances to get.

*/ inline ListTrafficPolicyInstancesByPolicyRequest& WithTrafficPolicyInstanceNameMarker(Aws::String&& value) { SetTrafficPolicyInstanceNameMarker(std::move(value)); return *this;} /** *

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 ListTrafficPolicyInstancesByPolicy * 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 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 traffic policy instances to get.

*/ inline ListTrafficPolicyInstancesByPolicyRequest& WithTrafficPolicyInstanceNameMarker(const char* value) { SetTrafficPolicyInstanceNameMarker(value); return *this;} /** *

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 ListTrafficPolicyInstancesByPolicy * request.

For the value of trafficpolicyinstancetype, specify * the value of TrafficPolicyInstanceTypeMarker from the previous * response, which is the name of the first traffic policy instance 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 traffic policy instances to get.

*/ inline const RRType& GetTrafficPolicyInstanceTypeMarker() const{ return m_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 ListTrafficPolicyInstancesByPolicy * request.

For the value of trafficpolicyinstancetype, specify * the value of TrafficPolicyInstanceTypeMarker from the previous * response, which is the name of the first traffic policy instance 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 traffic policy instances to get.

*/ inline bool TrafficPolicyInstanceTypeMarkerHasBeenSet() const { return m_trafficPolicyInstanceTypeMarkerHasBeenSet; } /** *

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 ListTrafficPolicyInstancesByPolicy * request.

For the value of trafficpolicyinstancetype, specify * the value of TrafficPolicyInstanceTypeMarker from the previous * response, which is the name of the first traffic policy instance 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 traffic policy instances to get.

*/ inline void SetTrafficPolicyInstanceTypeMarker(const RRType& value) { m_trafficPolicyInstanceTypeMarkerHasBeenSet = true; m_trafficPolicyInstanceTypeMarker = value; } /** *

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 ListTrafficPolicyInstancesByPolicy * request.

For the value of trafficpolicyinstancetype, specify * the value of TrafficPolicyInstanceTypeMarker from the previous * response, which is the name of the first traffic policy instance 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 traffic policy instances to get.

*/ inline void SetTrafficPolicyInstanceTypeMarker(RRType&& value) { m_trafficPolicyInstanceTypeMarkerHasBeenSet = true; m_trafficPolicyInstanceTypeMarker = std::move(value); } /** *

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 ListTrafficPolicyInstancesByPolicy * request.

For the value of trafficpolicyinstancetype, specify * the value of TrafficPolicyInstanceTypeMarker from the previous * response, which is the name of the first traffic policy instance 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 traffic policy instances to get.

*/ inline ListTrafficPolicyInstancesByPolicyRequest& WithTrafficPolicyInstanceTypeMarker(const RRType& value) { SetTrafficPolicyInstanceTypeMarker(value); return *this;} /** *

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 ListTrafficPolicyInstancesByPolicy * request.

For the value of trafficpolicyinstancetype, specify * the value of TrafficPolicyInstanceTypeMarker from the previous * response, which is the name of the first traffic policy instance 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 traffic policy instances to get.

*/ inline ListTrafficPolicyInstancesByPolicyRequest& WithTrafficPolicyInstanceTypeMarker(RRType&& value) { SetTrafficPolicyInstanceTypeMarker(std::move(value)); return *this;} /** *

The maximum number of traffic policy instances to be included in the response * body for this 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 that Amazon Route 53 will return if you submit another * request.

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

The maximum number of traffic policy instances to be included in the response * body for this 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 that Amazon Route 53 will return if you submit another * request.

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

The maximum number of traffic policy instances to be included in the response * body for this 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 that Amazon 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 instances to be included in the response * body for this 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 that Amazon 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 instances to be included in the response * body for this 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 that Amazon 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 instances to be included in the response * body for this 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 that Amazon Route 53 will return if you submit another * request.

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

The maximum number of traffic policy instances to be included in the response * body for this 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 that Amazon Route 53 will return if you submit another * request.

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

The maximum number of traffic policy instances to be included in the response * body for this 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 that Amazon Route 53 will return if you submit another * request.

*/ inline ListTrafficPolicyInstancesByPolicyRequest& WithMaxItems(const char* value) { SetMaxItems(value); return *this;} private: Aws::String m_trafficPolicyId; bool m_trafficPolicyIdHasBeenSet = false; int m_trafficPolicyVersion; bool m_trafficPolicyVersionHasBeenSet = false; Aws::String m_hostedZoneIdMarker; bool m_hostedZoneIdMarkerHasBeenSet = false; Aws::String m_trafficPolicyInstanceNameMarker; bool m_trafficPolicyInstanceNameMarkerHasBeenSet = false; RRType m_trafficPolicyInstanceTypeMarker; bool m_trafficPolicyInstanceTypeMarkerHasBeenSet = false; Aws::String m_maxItems; bool m_maxItemsHasBeenSet = false; }; } // namespace Model } // namespace Route53 } // namespace Aws