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

A complex type that contains the response information for the * request.

See Also:

AWS * API Reference

*/ class ListTrafficPolicyInstancesResult { public: AWS_ROUTE53_API ListTrafficPolicyInstancesResult(); AWS_ROUTE53_API ListTrafficPolicyInstancesResult(const Aws::AmazonWebServiceResult& result); AWS_ROUTE53_API ListTrafficPolicyInstancesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A list that contains one TrafficPolicyInstance element for each * traffic policy instance that matches the elements in the request.

*/ inline const Aws::Vector& GetTrafficPolicyInstances() const{ return m_trafficPolicyInstances; } /** *

A list that contains one TrafficPolicyInstance element for each * traffic policy instance that matches the elements in the request.

*/ inline void SetTrafficPolicyInstances(const Aws::Vector& value) { m_trafficPolicyInstances = value; } /** *

A list that contains one TrafficPolicyInstance element for each * traffic policy instance that matches the elements in the request.

*/ inline void SetTrafficPolicyInstances(Aws::Vector&& value) { m_trafficPolicyInstances = std::move(value); } /** *

A list that contains one TrafficPolicyInstance element for each * traffic policy instance that matches the elements in the request.

*/ inline ListTrafficPolicyInstancesResult& WithTrafficPolicyInstances(const Aws::Vector& value) { SetTrafficPolicyInstances(value); return *this;} /** *

A list that contains one TrafficPolicyInstance element for each * traffic policy instance that matches the elements in the request.

*/ inline ListTrafficPolicyInstancesResult& WithTrafficPolicyInstances(Aws::Vector&& value) { SetTrafficPolicyInstances(std::move(value)); return *this;} /** *

A list that contains one TrafficPolicyInstance element for each * traffic policy instance that matches the elements in the request.

*/ inline ListTrafficPolicyInstancesResult& AddTrafficPolicyInstances(const TrafficPolicyInstance& value) { m_trafficPolicyInstances.push_back(value); return *this; } /** *

A list that contains one TrafficPolicyInstance element for each * traffic policy instance that matches the elements in the request.

*/ inline ListTrafficPolicyInstancesResult& AddTrafficPolicyInstances(TrafficPolicyInstance&& value) { m_trafficPolicyInstances.push_back(std::move(value)); return *this; } /** *

If IsTruncated is true, * HostedZoneIdMarker is the ID of the hosted zone of the first * traffic policy instance that Route 53 will return if you submit another * ListTrafficPolicyInstances request.

*/ inline const Aws::String& GetHostedZoneIdMarker() const{ return m_hostedZoneIdMarker; } /** *

If IsTruncated is true, * HostedZoneIdMarker is the ID of the hosted zone of the first * traffic policy instance that Route 53 will return if you submit another * ListTrafficPolicyInstances request.

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

If IsTruncated is true, * HostedZoneIdMarker is the ID of the hosted zone of the first * traffic policy instance that Route 53 will return if you submit another * ListTrafficPolicyInstances request.

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

If IsTruncated is true, * HostedZoneIdMarker is the ID of the hosted zone of the first * traffic policy instance that Route 53 will return if you submit another * ListTrafficPolicyInstances request.

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

If IsTruncated is true, * HostedZoneIdMarker is the ID of the hosted zone of the first * traffic policy instance that Route 53 will return if you submit another * ListTrafficPolicyInstances request.

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

If IsTruncated is true, * HostedZoneIdMarker is the ID of the hosted zone of the first * traffic policy instance that Route 53 will return if you submit another * ListTrafficPolicyInstances request.

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

If IsTruncated is true, * HostedZoneIdMarker is the ID of the hosted zone of the first * traffic policy instance that Route 53 will return if you submit another * ListTrafficPolicyInstances request.

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

If IsTruncated is true, * TrafficPolicyInstanceNameMarker is the name of the first traffic * policy instance that Route 53 will return if you submit another * ListTrafficPolicyInstances request.

*/ inline const Aws::String& GetTrafficPolicyInstanceNameMarker() const{ return m_trafficPolicyInstanceNameMarker; } /** *

If IsTruncated is true, * TrafficPolicyInstanceNameMarker is the name of the first traffic * policy instance that Route 53 will return if you submit another * ListTrafficPolicyInstances request.

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

If IsTruncated is true, * TrafficPolicyInstanceNameMarker is the name of the first traffic * policy instance that Route 53 will return if you submit another * ListTrafficPolicyInstances request.

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

If IsTruncated is true, * TrafficPolicyInstanceNameMarker is the name of the first traffic * policy instance that Route 53 will return if you submit another * ListTrafficPolicyInstances request.

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

If IsTruncated is true, * TrafficPolicyInstanceNameMarker is the name of the first traffic * policy instance that Route 53 will return if you submit another * ListTrafficPolicyInstances request.

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

If IsTruncated is true, * TrafficPolicyInstanceNameMarker is the name of the first traffic * policy instance that Route 53 will return if you submit another * ListTrafficPolicyInstances request.

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

If IsTruncated is true, * TrafficPolicyInstanceNameMarker is the name of the first traffic * policy instance that Route 53 will return if you submit another * ListTrafficPolicyInstances request.

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

If IsTruncated is true, * TrafficPolicyInstanceTypeMarker is the DNS type of the resource * record sets that are associated with the first traffic policy instance that * Amazon Route 53 will return if you submit another * ListTrafficPolicyInstances request.

*/ inline const RRType& GetTrafficPolicyInstanceTypeMarker() const{ return m_trafficPolicyInstanceTypeMarker; } /** *

If IsTruncated is true, * TrafficPolicyInstanceTypeMarker is the DNS type of the resource * record sets that are associated with the first traffic policy instance that * Amazon Route 53 will return if you submit another * ListTrafficPolicyInstances request.

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

If IsTruncated is true, * TrafficPolicyInstanceTypeMarker is the DNS type of the resource * record sets that are associated with the first traffic policy instance that * Amazon Route 53 will return if you submit another * ListTrafficPolicyInstances request.

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

If IsTruncated is true, * TrafficPolicyInstanceTypeMarker is the DNS type of the resource * record sets that are associated with the first traffic policy instance that * Amazon Route 53 will return if you submit another * ListTrafficPolicyInstances request.

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

If IsTruncated is true, * TrafficPolicyInstanceTypeMarker is the DNS type of the resource * record sets that are associated with the first traffic policy instance that * Amazon Route 53 will return if you submit another * ListTrafficPolicyInstances request.

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

A flag that indicates whether there are more traffic policy instances to be * listed. If the response was truncated, you can get more traffic policy instances * by calling ListTrafficPolicyInstances again and specifying the * values of the HostedZoneIdMarker, * TrafficPolicyInstanceNameMarker, and * TrafficPolicyInstanceTypeMarker in the corresponding request * parameters.

*/ inline bool GetIsTruncated() const{ return m_isTruncated; } /** *

A flag that indicates whether there are more traffic policy instances to be * listed. If the response was truncated, you can get more traffic policy instances * by calling ListTrafficPolicyInstances again and specifying the * values of the HostedZoneIdMarker, * TrafficPolicyInstanceNameMarker, and * TrafficPolicyInstanceTypeMarker in the corresponding request * parameters.

*/ inline void SetIsTruncated(bool value) { m_isTruncated = value; } /** *

A flag that indicates whether there are more traffic policy instances to be * listed. If the response was truncated, you can get more traffic policy instances * by calling ListTrafficPolicyInstances again and specifying the * values of the HostedZoneIdMarker, * TrafficPolicyInstanceNameMarker, and * TrafficPolicyInstanceTypeMarker in the corresponding request * parameters.

*/ inline ListTrafficPolicyInstancesResult& WithIsTruncated(bool value) { SetIsTruncated(value); return *this;} /** *

The value that you specified for the MaxItems parameter in the * call to ListTrafficPolicyInstances that produced the current * response.

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

The value that you specified for the MaxItems parameter in the * call to ListTrafficPolicyInstances that produced the current * response.

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

The value that you specified for the MaxItems parameter in the * call to ListTrafficPolicyInstances that produced the current * response.

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

The value that you specified for the MaxItems parameter in the * call to ListTrafficPolicyInstances that produced the current * response.

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

The value that you specified for the MaxItems parameter in the * call to ListTrafficPolicyInstances that produced the current * response.

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

The value that you specified for the MaxItems parameter in the * call to ListTrafficPolicyInstances that produced the current * response.

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

The value that you specified for the MaxItems parameter in the * call to ListTrafficPolicyInstances that produced the current * response.

*/ inline ListTrafficPolicyInstancesResult& WithMaxItems(const char* value) { SetMaxItems(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline ListTrafficPolicyInstancesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListTrafficPolicyInstancesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListTrafficPolicyInstancesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_trafficPolicyInstances; Aws::String m_hostedZoneIdMarker; Aws::String m_trafficPolicyInstanceNameMarker; RRType m_trafficPolicyInstanceTypeMarker; bool m_isTruncated; Aws::String m_maxItems; Aws::String m_requestId; }; } // namespace Model } // namespace Route53 } // namespace Aws