/** * 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 DAX { namespace Model { class AWS_DAX_API DescribeClustersResult { public: DescribeClustersResult(); DescribeClustersResult(const Aws::AmazonWebServiceResult& result); DescribeClustersResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Provides an identifier to allow retrieval of paginated results.

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

Provides an identifier to allow retrieval of paginated results.

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

Provides an identifier to allow retrieval of paginated results.

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

Provides an identifier to allow retrieval of paginated results.

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

Provides an identifier to allow retrieval of paginated results.

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

Provides an identifier to allow retrieval of paginated results.

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

Provides an identifier to allow retrieval of paginated results.

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

The descriptions of your DAX clusters, in response to a * DescribeClusters request.

*/ inline const Aws::Vector& GetClusters() const{ return m_clusters; } /** *

The descriptions of your DAX clusters, in response to a * DescribeClusters request.

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

The descriptions of your DAX clusters, in response to a * DescribeClusters request.

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

The descriptions of your DAX clusters, in response to a * DescribeClusters request.

*/ inline DescribeClustersResult& WithClusters(const Aws::Vector& value) { SetClusters(value); return *this;} /** *

The descriptions of your DAX clusters, in response to a * DescribeClusters request.

*/ inline DescribeClustersResult& WithClusters(Aws::Vector&& value) { SetClusters(std::move(value)); return *this;} /** *

The descriptions of your DAX clusters, in response to a * DescribeClusters request.

*/ inline DescribeClustersResult& AddClusters(const Cluster& value) { m_clusters.push_back(value); return *this; } /** *

The descriptions of your DAX clusters, in response to a * DescribeClusters request.

*/ inline DescribeClustersResult& AddClusters(Cluster&& value) { m_clusters.push_back(std::move(value)); return *this; } private: Aws::String m_nextToken; Aws::Vector m_clusters; }; } // namespace Model } // namespace DAX } // namespace Aws