7#include <aws/finspace/Finspace_EXPORTS.h>
8#include <aws/finspace/model/KxClusterStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/finspace/model/KxClusterType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/finspace/model/KxAzMode.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/finspace/model/Volume.h>
69 template<
typename StatusReasonT = Aws::String>
70 void SetStatusReason(StatusReasonT&& value) { m_statusReasonHasBeenSet =
true; m_statusReason = std::forward<StatusReasonT>(value); }
71 template<
typename StatusReasonT = Aws::String>
81 template<
typename ClusterNameT = Aws::String>
82 void SetClusterName(ClusterNameT&& value) { m_clusterNameHasBeenSet =
true; m_clusterName = std::forward<ClusterNameT>(value); }
83 template<
typename ClusterNameT = Aws::String>
125 template<
typename ClusterDescriptionT = Aws::String>
126 void SetClusterDescription(ClusterDescriptionT&& value) { m_clusterDescriptionHasBeenSet =
true; m_clusterDescription = std::forward<ClusterDescriptionT>(value); }
127 template<
typename ClusterDescriptionT = Aws::String>
137 template<
typename ReleaseLabelT = Aws::String>
138 void SetReleaseLabel(ReleaseLabelT&& value) { m_releaseLabelHasBeenSet =
true; m_releaseLabel = std::forward<ReleaseLabelT>(value); }
139 template<
typename ReleaseLabelT = Aws::String>
149 template<
typename VolumesT = Aws::Vector<Volume>>
150 void SetVolumes(VolumesT&& value) { m_volumesHasBeenSet =
true; m_volumes = std::forward<VolumesT>(value); }
151 template<
typename VolumesT = Aws::Vector<Volume>>
153 template<
typename VolumesT = Volume>
154 KxCluster&
AddVolumes(VolumesT&& value) { m_volumesHasBeenSet =
true; m_volumes.emplace_back(std::forward<VolumesT>(value));
return *
this; }
166 template<
typename InitializationScriptT = Aws::String>
167 void SetInitializationScript(InitializationScriptT&& value) { m_initializationScriptHasBeenSet =
true; m_initializationScript = std::forward<InitializationScriptT>(value); }
168 template<
typename InitializationScriptT = Aws::String>
180 template<
typename ExecutionRoleT = Aws::String>
181 void SetExecutionRole(ExecutionRoleT&& value) { m_executionRoleHasBeenSet =
true; m_executionRole = std::forward<ExecutionRoleT>(value); }
182 template<
typename ExecutionRoleT = Aws::String>
205 template<
typename AvailabilityZoneIdT = Aws::String>
206 void SetAvailabilityZoneId(AvailabilityZoneIdT&& value) { m_availabilityZoneIdHasBeenSet =
true; m_availabilityZoneId = std::forward<AvailabilityZoneIdT>(value); }
207 template<
typename AvailabilityZoneIdT = Aws::String>
219 template<
typename LastModifiedTimestampT = Aws::Utils::DateTime>
220 void SetLastModifiedTimestamp(LastModifiedTimestampT&& value) { m_lastModifiedTimestampHasBeenSet =
true; m_lastModifiedTimestamp = std::forward<LastModifiedTimestampT>(value); }
221 template<
typename LastModifiedTimestampT = Aws::Utils::DateTime>
233 template<
typename CreatedTimestampT = Aws::Utils::DateTime>
234 void SetCreatedTimestamp(CreatedTimestampT&& value) { m_createdTimestampHasBeenSet =
true; m_createdTimestamp = std::forward<CreatedTimestampT>(value); }
235 template<
typename CreatedTimestampT = Aws::Utils::DateTime>
241 bool m_statusHasBeenSet =
false;
244 bool m_statusReasonHasBeenSet =
false;
247 bool m_clusterNameHasBeenSet =
false;
250 bool m_clusterTypeHasBeenSet =
false;
253 bool m_clusterDescriptionHasBeenSet =
false;
256 bool m_releaseLabelHasBeenSet =
false;
259 bool m_volumesHasBeenSet =
false;
262 bool m_initializationScriptHasBeenSet =
false;
265 bool m_executionRoleHasBeenSet =
false;
268 bool m_azModeHasBeenSet =
false;
271 bool m_availabilityZoneIdHasBeenSet =
false;
274 bool m_lastModifiedTimestampHasBeenSet =
false;
277 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