/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace Route53 { namespace Model { /** *

A complex type that contains information about the reusable delegation sets * that are associated with the current Amazon Web Services account.

See * Also:

AWS * API Reference

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

A complex type that contains one DelegationSet element for each * reusable delegation set that was created by the current Amazon Web Services * account.

*/ inline const Aws::Vector& GetDelegationSets() const{ return m_delegationSets; } /** *

A complex type that contains one DelegationSet element for each * reusable delegation set that was created by the current Amazon Web Services * account.

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

A complex type that contains one DelegationSet element for each * reusable delegation set that was created by the current Amazon Web Services * account.

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

A complex type that contains one DelegationSet element for each * reusable delegation set that was created by the current Amazon Web Services * account.

*/ inline ListReusableDelegationSetsResult& WithDelegationSets(const Aws::Vector& value) { SetDelegationSets(value); return *this;} /** *

A complex type that contains one DelegationSet element for each * reusable delegation set that was created by the current Amazon Web Services * account.

*/ inline ListReusableDelegationSetsResult& WithDelegationSets(Aws::Vector&& value) { SetDelegationSets(std::move(value)); return *this;} /** *

A complex type that contains one DelegationSet element for each * reusable delegation set that was created by the current Amazon Web Services * account.

*/ inline ListReusableDelegationSetsResult& AddDelegationSets(const DelegationSet& value) { m_delegationSets.push_back(value); return *this; } /** *

A complex type that contains one DelegationSet element for each * reusable delegation set that was created by the current Amazon Web Services * account.

*/ inline ListReusableDelegationSetsResult& AddDelegationSets(DelegationSet&& value) { m_delegationSets.push_back(std::move(value)); return *this; } /** *

For the second and subsequent calls to * ListReusableDelegationSets, Marker is the value that * you specified for the marker parameter in the request that produced * the current response.

*/ inline const Aws::String& GetMarker() const{ return m_marker; } /** *

For the second and subsequent calls to * ListReusableDelegationSets, Marker is the value that * you specified for the marker parameter in the request that produced * the current response.

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

For the second and subsequent calls to * ListReusableDelegationSets, Marker is the value that * you specified for the marker parameter in the request that produced * the current response.

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

For the second and subsequent calls to * ListReusableDelegationSets, Marker is the value that * you specified for the marker parameter in the request that produced * the current response.

*/ inline void SetMarker(const char* value) { m_marker.assign(value); } /** *

For the second and subsequent calls to * ListReusableDelegationSets, Marker is the value that * you specified for the marker parameter in the request that produced * the current response.

*/ inline ListReusableDelegationSetsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;} /** *

For the second and subsequent calls to * ListReusableDelegationSets, Marker is the value that * you specified for the marker parameter in the request that produced * the current response.

*/ inline ListReusableDelegationSetsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;} /** *

For the second and subsequent calls to * ListReusableDelegationSets, Marker is the value that * you specified for the marker parameter in the request that produced * the current response.

*/ inline ListReusableDelegationSetsResult& WithMarker(const char* value) { SetMarker(value); return *this;} /** *

A flag that indicates whether there are more reusable delegation sets to be * listed.

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

A flag that indicates whether there are more reusable delegation sets to be * listed.

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

A flag that indicates whether there are more reusable delegation sets to be * listed.

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

If IsTruncated is true, the value of * NextMarker identifies the next reusable delegation set that Amazon * Route 53 will return if you submit another * ListReusableDelegationSets request and specify the value of * NextMarker in the marker parameter.

*/ inline const Aws::String& GetNextMarker() const{ return m_nextMarker; } /** *

If IsTruncated is true, the value of * NextMarker identifies the next reusable delegation set that Amazon * Route 53 will return if you submit another * ListReusableDelegationSets request and specify the value of * NextMarker in the marker parameter.

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

If IsTruncated is true, the value of * NextMarker identifies the next reusable delegation set that Amazon * Route 53 will return if you submit another * ListReusableDelegationSets request and specify the value of * NextMarker in the marker parameter.

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

If IsTruncated is true, the value of * NextMarker identifies the next reusable delegation set that Amazon * Route 53 will return if you submit another * ListReusableDelegationSets request and specify the value of * NextMarker in the marker parameter.

*/ inline void SetNextMarker(const char* value) { m_nextMarker.assign(value); } /** *

If IsTruncated is true, the value of * NextMarker identifies the next reusable delegation set that Amazon * Route 53 will return if you submit another * ListReusableDelegationSets request and specify the value of * NextMarker in the marker parameter.

*/ inline ListReusableDelegationSetsResult& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;} /** *

If IsTruncated is true, the value of * NextMarker identifies the next reusable delegation set that Amazon * Route 53 will return if you submit another * ListReusableDelegationSets request and specify the value of * NextMarker in the marker parameter.

*/ inline ListReusableDelegationSetsResult& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;} /** *

If IsTruncated is true, the value of * NextMarker identifies the next reusable delegation set that Amazon * Route 53 will return if you submit another * ListReusableDelegationSets request and specify the value of * NextMarker in the marker parameter.

*/ inline ListReusableDelegationSetsResult& WithNextMarker(const char* value) { SetNextMarker(value); return *this;} /** *

The value that you specified for the maxitems parameter in the * call to ListReusableDelegationSets 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 ListReusableDelegationSets 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 ListReusableDelegationSets 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 ListReusableDelegationSets 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 ListReusableDelegationSets that produced the current * response.

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

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

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

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

*/ inline ListReusableDelegationSetsResult& 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 ListReusableDelegationSetsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListReusableDelegationSetsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListReusableDelegationSetsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_delegationSets; Aws::String m_marker; bool m_isTruncated; Aws::String m_nextMarker; Aws::String m_maxItems; Aws::String m_requestId; }; } // namespace Model } // namespace Route53 } // namespace Aws