7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/dsql/DSQL_EXPORTS.h>
11#include <aws/dsql/model/ClusterSummary.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
39 template <
typename NextTokenT = Aws::String>
41 m_nextTokenHasBeenSet =
true;
42 m_nextToken = std::forward<NextTokenT>(value);
44 template <
typename NextTokenT = Aws::String>
56 template <
typename ClustersT = Aws::Vector<ClusterSummary>>
58 m_clustersHasBeenSet =
true;
59 m_clusters = std::forward<ClustersT>(value);
61 template <
typename ClustersT = Aws::Vector<ClusterSummary>>
66 template <
typename ClustersT = ClusterSummary>
68 m_clustersHasBeenSet =
true;
69 m_clusters.emplace_back(std::forward<ClustersT>(value));
77 template <
typename RequestIdT = Aws::String>
79 m_requestIdHasBeenSet =
true;
80 m_requestId = std::forward<RequestIdT>(value);
82 template <
typename RequestIdT = Aws::String>
97 bool m_nextTokenHasBeenSet =
false;
98 bool m_clustersHasBeenSet =
false;
99 bool m_requestIdHasBeenSet =
false;
void SetRequestId(RequestIdT &&value)
void SetClusters(ClustersT &&value)
AWS_DSQL_API ListClustersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetNextToken() const
AWS_DSQL_API ListClustersResult()=default
void SetNextToken(NextTokenT &&value)
const Aws::Vector< ClusterSummary > & GetClusters() const
const Aws::String & GetRequestId() const
AWS_DSQL_API ListClustersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListClustersResult & AddClusters(ClustersT &&value)
ListClustersResult & WithClusters(ClustersT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
ListClustersResult & WithNextToken(NextTokenT &&value)
ListClustersResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue