/** * 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 for the traffic policy instances that you created in a specified * hosted zone.

See Also:

AWS * API Reference

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

The ID of the hosted zone that you want to list traffic policy instances * for.

*/ inline const Aws::String& GetHostedZoneId() const{ return m_hostedZoneId; } /** *

The ID of the hosted zone that you want to list traffic policy instances * for.

*/ inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; } /** *

The ID of the hosted zone that you want to list traffic policy instances * for.

*/ inline void SetHostedZoneId(const Aws::String& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = value; } /** *

The ID of the hosted zone that you want to list traffic policy instances * for.

*/ inline void SetHostedZoneId(Aws::String&& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = std::move(value); } /** *

The ID of the hosted zone that you want to list traffic policy instances * for.

*/ inline void SetHostedZoneId(const char* value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId.assign(value); } /** *

The ID of the hosted zone that you want to list traffic policy instances * for.

*/ inline ListTrafficPolicyInstancesByHostedZoneRequest& WithHostedZoneId(const Aws::String& value) { SetHostedZoneId(value); return *this;} /** *

The ID of the hosted zone that you want to list traffic policy instances * for.

*/ inline ListTrafficPolicyInstancesByHostedZoneRequest& WithHostedZoneId(Aws::String&& value) { SetHostedZoneId(std::move(value)); return *this;} /** *

The ID of the hosted zone that you want to list traffic policy instances * for.

*/ inline ListTrafficPolicyInstancesByHostedZoneRequest& WithHostedZoneId(const char* value) { SetHostedZoneId(value); return *this;} /** *

If the value of IsTruncated in the previous response is 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 is 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 is 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 is 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 is 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 is 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 ListTrafficPolicyInstancesByHostedZoneRequest& WithTrafficPolicyInstanceNameMarker(const Aws::String& value) { SetTrafficPolicyInstanceNameMarker(value); return *this;} /** *

If the value of IsTruncated in the previous response is 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 ListTrafficPolicyInstancesByHostedZoneRequest& WithTrafficPolicyInstanceNameMarker(Aws::String&& value) { SetTrafficPolicyInstanceNameMarker(std::move(value)); return *this;} /** *

If the value of IsTruncated in the previous response is 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 ListTrafficPolicyInstancesByHostedZoneRequest& WithTrafficPolicyInstanceNameMarker(const char* value) { SetTrafficPolicyInstanceNameMarker(value); return *this;} /** *

If the value of IsTruncated in the previous response is 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 is 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 is 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 is 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 is 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 ListTrafficPolicyInstancesByHostedZoneRequest& WithTrafficPolicyInstanceTypeMarker(const RRType& value) { SetTrafficPolicyInstanceTypeMarker(value); return *this;} /** *

If the value of IsTruncated in the previous response is 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 ListTrafficPolicyInstancesByHostedZoneRequest& 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 ListTrafficPolicyInstancesByHostedZoneRequest& 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 ListTrafficPolicyInstancesByHostedZoneRequest& 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 ListTrafficPolicyInstancesByHostedZoneRequest& WithMaxItems(const char* value) { SetMaxItems(value); return *this;} private: Aws::String m_hostedZoneId; bool m_hostedZoneIdHasBeenSet = 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