/** * 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 { class ListCidrCollectionsResult { public: AWS_ROUTE53_API ListCidrCollectionsResult(); AWS_ROUTE53_API ListCidrCollectionsResult(const Aws::AmazonWebServiceResult& result); AWS_ROUTE53_API ListCidrCollectionsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An opaque pagination token to indicate where the service is to begin * enumerating results.

If no value is provided, the listing of results * starts from the beginning.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

An opaque pagination token to indicate where the service is to begin * enumerating results.

If no value is provided, the listing of results * starts from the beginning.

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

An opaque pagination token to indicate where the service is to begin * enumerating results.

If no value is provided, the listing of results * starts from the beginning.

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

An opaque pagination token to indicate where the service is to begin * enumerating results.

If no value is provided, the listing of results * starts from the beginning.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

An opaque pagination token to indicate where the service is to begin * enumerating results.

If no value is provided, the listing of results * starts from the beginning.

*/ inline ListCidrCollectionsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

An opaque pagination token to indicate where the service is to begin * enumerating results.

If no value is provided, the listing of results * starts from the beginning.

*/ inline ListCidrCollectionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

An opaque pagination token to indicate where the service is to begin * enumerating results.

If no value is provided, the listing of results * starts from the beginning.

*/ inline ListCidrCollectionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

A complex type with information about the CIDR collection.

*/ inline const Aws::Vector& GetCidrCollections() const{ return m_cidrCollections; } /** *

A complex type with information about the CIDR collection.

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

A complex type with information about the CIDR collection.

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

A complex type with information about the CIDR collection.

*/ inline ListCidrCollectionsResult& WithCidrCollections(const Aws::Vector& value) { SetCidrCollections(value); return *this;} /** *

A complex type with information about the CIDR collection.

*/ inline ListCidrCollectionsResult& WithCidrCollections(Aws::Vector&& value) { SetCidrCollections(std::move(value)); return *this;} /** *

A complex type with information about the CIDR collection.

*/ inline ListCidrCollectionsResult& AddCidrCollections(const CollectionSummary& value) { m_cidrCollections.push_back(value); return *this; } /** *

A complex type with information about the CIDR collection.

*/ inline ListCidrCollectionsResult& AddCidrCollections(CollectionSummary&& value) { m_cidrCollections.push_back(std::move(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 ListCidrCollectionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListCidrCollectionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListCidrCollectionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_nextToken; Aws::Vector m_cidrCollections; Aws::String m_requestId; }; } // namespace Model } // namespace Route53 } // namespace Aws