7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/finspace/Finspace_EXPORTS.h>
11#include <aws/finspace/model/KxAzMode.h>
12#include <aws/finspace/model/KxClusterStatus.h>
13#include <aws/finspace/model/KxClusterType.h>
14#include <aws/finspace/model/Volume.h>
54 m_statusHasBeenSet =
true;
69 template <
typename StatusReasonT = Aws::String>
71 m_statusReasonHasBeenSet =
true;
72 m_statusReason = std::forward<StatusReasonT>(value);
74 template <
typename StatusReasonT = Aws::String>
87 template <
typename ClusterNameT = Aws::String>
89 m_clusterNameHasBeenSet =
true;
90 m_clusterName = std::forward<ClusterNameT>(value);
92 template <
typename ClusterNameT = Aws::String>
128 m_clusterTypeHasBeenSet =
true;
129 m_clusterType = value;
143 template <
typename ClusterDescriptionT = Aws::String>
145 m_clusterDescriptionHasBeenSet =
true;
146 m_clusterDescription = std::forward<ClusterDescriptionT>(value);
148 template <
typename ClusterDescriptionT = Aws::String>
161 template <
typename ReleaseLabelT = Aws::String>
163 m_releaseLabelHasBeenSet =
true;
164 m_releaseLabel = std::forward<ReleaseLabelT>(value);
166 template <
typename ReleaseLabelT = Aws::String>
179 template <
typename VolumesT = Aws::Vector<Volume>>
181 m_volumesHasBeenSet =
true;
182 m_volumes = std::forward<VolumesT>(value);
184 template <
typename VolumesT = Aws::Vector<Volume>>
189 template <
typename VolumesT = Volume>
191 m_volumesHasBeenSet =
true;
192 m_volumes.emplace_back(std::forward<VolumesT>(value));
206 template <
typename InitializationScriptT = Aws::String>
208 m_initializationScriptHasBeenSet =
true;
209 m_initializationScript = std::forward<InitializationScriptT>(value);
211 template <
typename InitializationScriptT = Aws::String>
226 template <
typename ExecutionRoleT = Aws::String>
228 m_executionRoleHasBeenSet =
true;
229 m_executionRole = std::forward<ExecutionRoleT>(value);
231 template <
typename ExecutionRoleT = Aws::String>
248 m_azModeHasBeenSet =
true;
263 template <
typename AvailabilityZoneIdT = Aws::String>
265 m_availabilityZoneIdHasBeenSet =
true;
266 m_availabilityZoneId = std::forward<AvailabilityZoneIdT>(value);
268 template <
typename AvailabilityZoneIdT = Aws::String>
283 template <
typename LastModifiedTimestampT = Aws::Utils::DateTime>
285 m_lastModifiedTimestampHasBeenSet =
true;
286 m_lastModifiedTimestamp = std::forward<LastModifiedTimestampT>(value);
288 template <
typename LastModifiedTimestampT = Aws::Utils::DateTime>
303 template <
typename CreatedTimestampT = Aws::Utils::DateTime>
305 m_createdTimestampHasBeenSet =
true;
306 m_createdTimestamp = std::forward<CreatedTimestampT>(value);
308 template <
typename CreatedTimestampT = Aws::Utils::DateTime>
340 bool m_statusHasBeenSet =
false;
341 bool m_statusReasonHasBeenSet =
false;
342 bool m_clusterNameHasBeenSet =
false;
343 bool m_clusterTypeHasBeenSet =
false;
344 bool m_clusterDescriptionHasBeenSet =
false;
345 bool m_releaseLabelHasBeenSet =
false;
346 bool m_volumesHasBeenSet =
false;
347 bool m_initializationScriptHasBeenSet =
false;
348 bool m_executionRoleHasBeenSet =
false;
349 bool m_azModeHasBeenSet =
false;
350 bool m_availabilityZoneIdHasBeenSet =
false;
351 bool m_lastModifiedTimestampHasBeenSet =
false;
352 bool m_createdTimestampHasBeenSet =
false;
void SetStatus(KxClusterStatus value)
KxCluster & WithStatus(KxClusterStatus value)
void SetCreatedTimestamp(CreatedTimestampT &&value)
KxClusterType GetClusterType() const
const Aws::String & GetClusterDescription() const
bool ClusterDescriptionHasBeenSet() const
KxCluster & WithAvailabilityZoneId(AvailabilityZoneIdT &&value)
void SetStatusReason(StatusReasonT &&value)
bool ClusterNameHasBeenSet() const
KxCluster & WithReleaseLabel(ReleaseLabelT &&value)
void SetLastModifiedTimestamp(LastModifiedTimestampT &&value)
bool InitializationScriptHasBeenSet() const
bool ClusterTypeHasBeenSet() const
bool LastModifiedTimestampHasBeenSet() const
bool AzModeHasBeenSet() const
void SetInitializationScript(InitializationScriptT &&value)
const Aws::Vector< Volume > & GetVolumes() const
bool AvailabilityZoneIdHasBeenSet() const
bool VolumesHasBeenSet() const
AWS_FINSPACE_API KxCluster(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetInitializationScript() const
bool CreatedTimestampHasBeenSet() const
AWS_FINSPACE_API KxCluster & operator=(Aws::Utils::Json::JsonView jsonValue)
KxCluster & AddVolumes(VolumesT &&value)
void SetAvailabilityZoneId(AvailabilityZoneIdT &&value)
KxAzMode GetAzMode() const
KxCluster & WithClusterName(ClusterNameT &&value)
KxCluster & WithClusterType(KxClusterType value)
KxCluster & WithAzMode(KxAzMode value)
const Aws::String & GetReleaseLabel() const
KxClusterStatus GetStatus() const
KxCluster & WithLastModifiedTimestamp(LastModifiedTimestampT &&value)
KxCluster & WithExecutionRole(ExecutionRoleT &&value)
const Aws::String & GetClusterName() const
KxCluster & WithStatusReason(StatusReasonT &&value)
AWS_FINSPACE_API KxCluster()=default
KxCluster & WithVolumes(VolumesT &&value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
const Aws::Utils::DateTime & GetLastModifiedTimestamp() const
void SetVolumes(VolumesT &&value)
const Aws::String & GetAvailabilityZoneId() const
void SetReleaseLabel(ReleaseLabelT &&value)
KxCluster & WithCreatedTimestamp(CreatedTimestampT &&value)
const Aws::String & GetExecutionRole() const
bool ExecutionRoleHasBeenSet() const
bool StatusHasBeenSet() const
void SetClusterType(KxClusterType value)
KxCluster & WithClusterDescription(ClusterDescriptionT &&value)
void SetClusterDescription(ClusterDescriptionT &&value)
AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetStatusReason() const
void SetAzMode(KxAzMode value)
KxCluster & WithInitializationScript(InitializationScriptT &&value)
bool ReleaseLabelHasBeenSet() const
void SetExecutionRole(ExecutionRoleT &&value)
void SetClusterName(ClusterNameT &&value)
bool StatusReasonHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue