/** * 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 request to get information about the traffic policy instances that you * created by using the current Amazon Web Services account.

See * Also:

AWS * API Reference

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

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.

*/ 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 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.

*/ 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 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.

*/ 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 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.

*/ 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 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.

*/ 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 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.

*/ inline ListTrafficPolicyInstancesRequest& 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 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.

*/ inline ListTrafficPolicyInstancesRequest& 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 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.

*/ inline ListTrafficPolicyInstancesRequest& 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 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.

*/ 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 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.

*/ 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 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.

*/ 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 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.

*/ 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 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.

*/ 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 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.

*/ inline ListTrafficPolicyInstancesRequest& 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 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.

*/ inline ListTrafficPolicyInstancesRequest& 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 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.

*/ inline ListTrafficPolicyInstancesRequest& 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 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.

*/ 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 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.

*/ 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 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.

*/ 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 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.

*/ 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 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.

*/ inline ListTrafficPolicyInstancesRequest& 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 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.

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

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.

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

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

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.

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

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.

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

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.

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

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.

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

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.

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

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.

*/ inline ListTrafficPolicyInstancesRequest& WithMaxItems(const char* value) { SetMaxItems(value); return *this;} private: 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