7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/pcs/PCS_EXPORTS.h>
10#include <aws/pcs/model/ClusterSummary.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
36 template <
typename ClustersT = Aws::Vector<ClusterSummary>>
38 m_clustersHasBeenSet =
true;
39 m_clusters = std::forward<ClustersT>(value);
41 template <
typename ClustersT = Aws::Vector<ClusterSummary>>
46 template <
typename ClustersT = ClusterSummary>
48 m_clustersHasBeenSet =
true;
49 m_clusters.emplace_back(std::forward<ClustersT>(value));
64 template <
typename NextTokenT = Aws::String>
66 m_nextTokenHasBeenSet =
true;
67 m_nextToken = std::forward<NextTokenT>(value);
69 template <
typename NextTokenT = Aws::String>
79 template <
typename RequestIdT = Aws::String>
81 m_requestIdHasBeenSet =
true;
82 m_requestId = std::forward<RequestIdT>(value);
84 template <
typename RequestIdT = Aws::String>
96 bool m_clustersHasBeenSet =
false;
97 bool m_nextTokenHasBeenSet =
false;
98 bool m_requestIdHasBeenSet =
false;
ListClustersResult & WithNextToken(NextTokenT &&value)
const Aws::Vector< ClusterSummary > & GetClusters() const
const Aws::String & GetRequestId() const
void SetNextToken(NextTokenT &&value)
const Aws::String & GetNextToken() const
AWS_PCS_API ListClustersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListClustersResult & WithClusters(ClustersT &&value)
void SetRequestId(RequestIdT &&value)
void SetClusters(ClustersT &&value)
ListClustersResult & WithRequestId(RequestIdT &&value)
AWS_PCS_API ListClustersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListClustersResult & AddClusters(ClustersT &&value)
AWS_PCS_API ListClustersResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue