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

Each ClusterListEntry object contains a cluster's state, a * cluster's ID, and other important status information.

*/ inline const Aws::Vector& GetClusterListEntries() const{ return m_clusterListEntries; } /** *

Each ClusterListEntry object contains a cluster's state, a * cluster's ID, and other important status information.

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

Each ClusterListEntry object contains a cluster's state, a * cluster's ID, and other important status information.

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

Each ClusterListEntry object contains a cluster's state, a * cluster's ID, and other important status information.

*/ inline ListClustersResult& WithClusterListEntries(const Aws::Vector& value) { SetClusterListEntries(value); return *this;} /** *

Each ClusterListEntry object contains a cluster's state, a * cluster's ID, and other important status information.

*/ inline ListClustersResult& WithClusterListEntries(Aws::Vector&& value) { SetClusterListEntries(std::move(value)); return *this;} /** *

Each ClusterListEntry object contains a cluster's state, a * cluster's ID, and other important status information.

*/ inline ListClustersResult& AddClusterListEntries(const ClusterListEntry& value) { m_clusterListEntries.push_back(value); return *this; } /** *

Each ClusterListEntry object contains a cluster's state, a * cluster's ID, and other important status information.

*/ inline ListClustersResult& AddClusterListEntries(ClusterListEntry&& value) { m_clusterListEntries.push_back(std::move(value)); return *this; } /** *

HTTP requests are stateless. If you use the automatically generated * NextToken value in your next ClusterListEntry call, * your list of returned clusters will start from this point in the array.

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

HTTP requests are stateless. If you use the automatically generated * NextToken value in your next ClusterListEntry call, * your list of returned clusters will start from this point in the array.

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

HTTP requests are stateless. If you use the automatically generated * NextToken value in your next ClusterListEntry call, * your list of returned clusters will start from this point in the array.

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

HTTP requests are stateless. If you use the automatically generated * NextToken value in your next ClusterListEntry call, * your list of returned clusters will start from this point in the array.

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

HTTP requests are stateless. If you use the automatically generated * NextToken value in your next ClusterListEntry call, * your list of returned clusters will start from this point in the array.

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

HTTP requests are stateless. If you use the automatically generated * NextToken value in your next ClusterListEntry call, * your list of returned clusters will start from this point in the array.

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

HTTP requests are stateless. If you use the automatically generated * NextToken value in your next ClusterListEntry call, * your list of returned clusters will start from this point in the array.

*/ inline ListClustersResult& WithNextToken(const char* value) { SetNextToken(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 ListClustersResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListClustersResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListClustersResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_clusterListEntries; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace Snowball } // namespace Aws