/** * 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 Json { class JsonValue; } // namespace Json } // namespace Utils namespace Route53Domains { namespace Model { /** *

The ListDomains response includes the following elements.

See * Also:

AWS * API Reference

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

A list of domains.

*/ inline const Aws::Vector& GetDomains() const{ return m_domains; } /** *

A list of domains.

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

A list of domains.

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

A list of domains.

*/ inline ListDomainsResult& WithDomains(const Aws::Vector& value) { SetDomains(value); return *this;} /** *

A list of domains.

*/ inline ListDomainsResult& WithDomains(Aws::Vector&& value) { SetDomains(std::move(value)); return *this;} /** *

A list of domains.

*/ inline ListDomainsResult& AddDomains(const DomainSummary& value) { m_domains.push_back(value); return *this; } /** *

A list of domains.

*/ inline ListDomainsResult& AddDomains(DomainSummary&& value) { m_domains.push_back(std::move(value)); return *this; } /** *

If there are more domains than you specified for MaxItems in the * request, submit another request and include the value of * NextPageMarker in the value of Marker.

*/ inline const Aws::String& GetNextPageMarker() const{ return m_nextPageMarker; } /** *

If there are more domains than you specified for MaxItems in the * request, submit another request and include the value of * NextPageMarker in the value of Marker.

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

If there are more domains than you specified for MaxItems in the * request, submit another request and include the value of * NextPageMarker in the value of Marker.

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

If there are more domains than you specified for MaxItems in the * request, submit another request and include the value of * NextPageMarker in the value of Marker.

*/ inline void SetNextPageMarker(const char* value) { m_nextPageMarker.assign(value); } /** *

If there are more domains than you specified for MaxItems in the * request, submit another request and include the value of * NextPageMarker in the value of Marker.

*/ inline ListDomainsResult& WithNextPageMarker(const Aws::String& value) { SetNextPageMarker(value); return *this;} /** *

If there are more domains than you specified for MaxItems in the * request, submit another request and include the value of * NextPageMarker in the value of Marker.

*/ inline ListDomainsResult& WithNextPageMarker(Aws::String&& value) { SetNextPageMarker(std::move(value)); return *this;} /** *

If there are more domains than you specified for MaxItems in the * request, submit another request and include the value of * NextPageMarker in the value of Marker.

*/ inline ListDomainsResult& WithNextPageMarker(const char* value) { SetNextPageMarker(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 ListDomainsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListDomainsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListDomainsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_domains; Aws::String m_nextPageMarker; Aws::String m_requestId; }; } // namespace Model } // namespace Route53Domains } // namespace Aws