AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Cluster.h
1
6#pragma once
7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticmapreduce/model/ClusterStatus.h>
10#include <aws/elasticmapreduce/model/Ec2InstanceAttributes.h>
11#include <aws/elasticmapreduce/model/InstanceCollectionType.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/elasticmapreduce/model/ScaleDownBehavior.h>
14#include <aws/elasticmapreduce/model/RepoUpgradeOnBoot.h>
15#include <aws/elasticmapreduce/model/KerberosAttributes.h>
16#include <aws/elasticmapreduce/model/Application.h>
17#include <aws/elasticmapreduce/model/Tag.h>
18#include <aws/elasticmapreduce/model/Configuration.h>
19#include <aws/elasticmapreduce/model/PlacementGroupConfig.h>
20#include <utility>
21
22namespace Aws
23{
24namespace Utils
25{
26namespace Json
27{
28 class JsonValue;
29 class JsonView;
30} // namespace Json
31} // namespace Utils
32namespace EMR
33{
34namespace Model
35{
36
42 class Cluster
43 {
44 public:
45 AWS_EMR_API Cluster();
46 AWS_EMR_API Cluster(Aws::Utils::Json::JsonView jsonValue);
49
50
52
55 inline const Aws::String& GetId() const{ return m_id; }
56 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
57 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
58 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
59 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
60 inline Cluster& WithId(const Aws::String& value) { SetId(value); return *this;}
61 inline Cluster& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
62 inline Cluster& WithId(const char* value) { SetId(value); return *this;}
64
66
70 inline const Aws::String& GetName() const{ return m_name; }
71 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
72 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
73 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
74 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
75 inline Cluster& WithName(const Aws::String& value) { SetName(value); return *this;}
76 inline Cluster& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
77 inline Cluster& WithName(const char* value) { SetName(value); return *this;}
79
81
84 inline const ClusterStatus& GetStatus() const{ return m_status; }
85 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
86 inline void SetStatus(const ClusterStatus& value) { m_statusHasBeenSet = true; m_status = value; }
87 inline void SetStatus(ClusterStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
88 inline Cluster& WithStatus(const ClusterStatus& value) { SetStatus(value); return *this;}
89 inline Cluster& WithStatus(ClusterStatus&& value) { SetStatus(std::move(value)); return *this;}
91
93
97 inline const Ec2InstanceAttributes& GetEc2InstanceAttributes() const{ return m_ec2InstanceAttributes; }
98 inline bool Ec2InstanceAttributesHasBeenSet() const { return m_ec2InstanceAttributesHasBeenSet; }
99 inline void SetEc2InstanceAttributes(const Ec2InstanceAttributes& value) { m_ec2InstanceAttributesHasBeenSet = true; m_ec2InstanceAttributes = value; }
100 inline void SetEc2InstanceAttributes(Ec2InstanceAttributes&& value) { m_ec2InstanceAttributesHasBeenSet = true; m_ec2InstanceAttributes = std::move(value); }
102 inline Cluster& WithEc2InstanceAttributes(Ec2InstanceAttributes&& value) { SetEc2InstanceAttributes(std::move(value)); return *this;}
104
106
113 inline const InstanceCollectionType& GetInstanceCollectionType() const{ return m_instanceCollectionType; }
114 inline bool InstanceCollectionTypeHasBeenSet() const { return m_instanceCollectionTypeHasBeenSet; }
115 inline void SetInstanceCollectionType(const InstanceCollectionType& value) { m_instanceCollectionTypeHasBeenSet = true; m_instanceCollectionType = value; }
116 inline void SetInstanceCollectionType(InstanceCollectionType&& value) { m_instanceCollectionTypeHasBeenSet = true; m_instanceCollectionType = std::move(value); }
118 inline Cluster& WithInstanceCollectionType(InstanceCollectionType&& value) { SetInstanceCollectionType(std::move(value)); return *this;}
120
122
126 inline const Aws::String& GetLogUri() const{ return m_logUri; }
127 inline bool LogUriHasBeenSet() const { return m_logUriHasBeenSet; }
128 inline void SetLogUri(const Aws::String& value) { m_logUriHasBeenSet = true; m_logUri = value; }
129 inline void SetLogUri(Aws::String&& value) { m_logUriHasBeenSet = true; m_logUri = std::move(value); }
130 inline void SetLogUri(const char* value) { m_logUriHasBeenSet = true; m_logUri.assign(value); }
131 inline Cluster& WithLogUri(const Aws::String& value) { SetLogUri(value); return *this;}
132 inline Cluster& WithLogUri(Aws::String&& value) { SetLogUri(std::move(value)); return *this;}
133 inline Cluster& WithLogUri(const char* value) { SetLogUri(value); return *this;}
135
137
141 inline const Aws::String& GetLogEncryptionKmsKeyId() const{ return m_logEncryptionKmsKeyId; }
142 inline bool LogEncryptionKmsKeyIdHasBeenSet() const { return m_logEncryptionKmsKeyIdHasBeenSet; }
143 inline void SetLogEncryptionKmsKeyId(const Aws::String& value) { m_logEncryptionKmsKeyIdHasBeenSet = true; m_logEncryptionKmsKeyId = value; }
144 inline void SetLogEncryptionKmsKeyId(Aws::String&& value) { m_logEncryptionKmsKeyIdHasBeenSet = true; m_logEncryptionKmsKeyId = std::move(value); }
145 inline void SetLogEncryptionKmsKeyId(const char* value) { m_logEncryptionKmsKeyIdHasBeenSet = true; m_logEncryptionKmsKeyId.assign(value); }
146 inline Cluster& WithLogEncryptionKmsKeyId(const Aws::String& value) { SetLogEncryptionKmsKeyId(value); return *this;}
147 inline Cluster& WithLogEncryptionKmsKeyId(Aws::String&& value) { SetLogEncryptionKmsKeyId(std::move(value)); return *this;}
148 inline Cluster& WithLogEncryptionKmsKeyId(const char* value) { SetLogEncryptionKmsKeyId(value); return *this;}
150
152
155 inline const Aws::String& GetRequestedAmiVersion() const{ return m_requestedAmiVersion; }
156 inline bool RequestedAmiVersionHasBeenSet() const { return m_requestedAmiVersionHasBeenSet; }
157 inline void SetRequestedAmiVersion(const Aws::String& value) { m_requestedAmiVersionHasBeenSet = true; m_requestedAmiVersion = value; }
158 inline void SetRequestedAmiVersion(Aws::String&& value) { m_requestedAmiVersionHasBeenSet = true; m_requestedAmiVersion = std::move(value); }
159 inline void SetRequestedAmiVersion(const char* value) { m_requestedAmiVersionHasBeenSet = true; m_requestedAmiVersion.assign(value); }
160 inline Cluster& WithRequestedAmiVersion(const Aws::String& value) { SetRequestedAmiVersion(value); return *this;}
161 inline Cluster& WithRequestedAmiVersion(Aws::String&& value) { SetRequestedAmiVersion(std::move(value)); return *this;}
162 inline Cluster& WithRequestedAmiVersion(const char* value) { SetRequestedAmiVersion(value); return *this;}
164
166
169 inline const Aws::String& GetRunningAmiVersion() const{ return m_runningAmiVersion; }
170 inline bool RunningAmiVersionHasBeenSet() const { return m_runningAmiVersionHasBeenSet; }
171 inline void SetRunningAmiVersion(const Aws::String& value) { m_runningAmiVersionHasBeenSet = true; m_runningAmiVersion = value; }
172 inline void SetRunningAmiVersion(Aws::String&& value) { m_runningAmiVersionHasBeenSet = true; m_runningAmiVersion = std::move(value); }
173 inline void SetRunningAmiVersion(const char* value) { m_runningAmiVersionHasBeenSet = true; m_runningAmiVersion.assign(value); }
174 inline Cluster& WithRunningAmiVersion(const Aws::String& value) { SetRunningAmiVersion(value); return *this;}
175 inline Cluster& WithRunningAmiVersion(Aws::String&& value) { SetRunningAmiVersion(std::move(value)); return *this;}
176 inline Cluster& WithRunningAmiVersion(const char* value) { SetRunningAmiVersion(value); return *this;}
178
180
190 inline const Aws::String& GetReleaseLabel() const{ return m_releaseLabel; }
191 inline bool ReleaseLabelHasBeenSet() const { return m_releaseLabelHasBeenSet; }
192 inline void SetReleaseLabel(const Aws::String& value) { m_releaseLabelHasBeenSet = true; m_releaseLabel = value; }
193 inline void SetReleaseLabel(Aws::String&& value) { m_releaseLabelHasBeenSet = true; m_releaseLabel = std::move(value); }
194 inline void SetReleaseLabel(const char* value) { m_releaseLabelHasBeenSet = true; m_releaseLabel.assign(value); }
195 inline Cluster& WithReleaseLabel(const Aws::String& value) { SetReleaseLabel(value); return *this;}
196 inline Cluster& WithReleaseLabel(Aws::String&& value) { SetReleaseLabel(std::move(value)); return *this;}
197 inline Cluster& WithReleaseLabel(const char* value) { SetReleaseLabel(value); return *this;}
199
201
205 inline bool GetAutoTerminate() const{ return m_autoTerminate; }
206 inline bool AutoTerminateHasBeenSet() const { return m_autoTerminateHasBeenSet; }
207 inline void SetAutoTerminate(bool value) { m_autoTerminateHasBeenSet = true; m_autoTerminate = value; }
208 inline Cluster& WithAutoTerminate(bool value) { SetAutoTerminate(value); return *this;}
210
212
217 inline bool GetTerminationProtected() const{ return m_terminationProtected; }
218 inline bool TerminationProtectedHasBeenSet() const { return m_terminationProtectedHasBeenSet; }
219 inline void SetTerminationProtected(bool value) { m_terminationProtectedHasBeenSet = true; m_terminationProtected = value; }
220 inline Cluster& WithTerminationProtected(bool value) { SetTerminationProtected(value); return *this;}
222
224
228 inline bool GetUnhealthyNodeReplacement() const{ return m_unhealthyNodeReplacement; }
229 inline bool UnhealthyNodeReplacementHasBeenSet() const { return m_unhealthyNodeReplacementHasBeenSet; }
230 inline void SetUnhealthyNodeReplacement(bool value) { m_unhealthyNodeReplacementHasBeenSet = true; m_unhealthyNodeReplacement = value; }
231 inline Cluster& WithUnhealthyNodeReplacement(bool value) { SetUnhealthyNodeReplacement(value); return *this;}
233
235
248 inline bool GetVisibleToAllUsers() const{ return m_visibleToAllUsers; }
249 inline bool VisibleToAllUsersHasBeenSet() const { return m_visibleToAllUsersHasBeenSet; }
250 inline void SetVisibleToAllUsers(bool value) { m_visibleToAllUsersHasBeenSet = true; m_visibleToAllUsers = value; }
251 inline Cluster& WithVisibleToAllUsers(bool value) { SetVisibleToAllUsers(value); return *this;}
253
255
258 inline const Aws::Vector<Application>& GetApplications() const{ return m_applications; }
259 inline bool ApplicationsHasBeenSet() const { return m_applicationsHasBeenSet; }
260 inline void SetApplications(const Aws::Vector<Application>& value) { m_applicationsHasBeenSet = true; m_applications = value; }
261 inline void SetApplications(Aws::Vector<Application>&& value) { m_applicationsHasBeenSet = true; m_applications = std::move(value); }
262 inline Cluster& WithApplications(const Aws::Vector<Application>& value) { SetApplications(value); return *this;}
263 inline Cluster& WithApplications(Aws::Vector<Application>&& value) { SetApplications(std::move(value)); return *this;}
264 inline Cluster& AddApplications(const Application& value) { m_applicationsHasBeenSet = true; m_applications.push_back(value); return *this; }
265 inline Cluster& AddApplications(Application&& value) { m_applicationsHasBeenSet = true; m_applications.push_back(std::move(value)); return *this; }
267
269
272 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
273 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
274 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
275 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
276 inline Cluster& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
277 inline Cluster& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
278 inline Cluster& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
279 inline Cluster& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
281
283
287 inline const Aws::String& GetServiceRole() const{ return m_serviceRole; }
288 inline bool ServiceRoleHasBeenSet() const { return m_serviceRoleHasBeenSet; }
289 inline void SetServiceRole(const Aws::String& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = value; }
290 inline void SetServiceRole(Aws::String&& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = std::move(value); }
291 inline void SetServiceRole(const char* value) { m_serviceRoleHasBeenSet = true; m_serviceRole.assign(value); }
292 inline Cluster& WithServiceRole(const Aws::String& value) { SetServiceRole(value); return *this;}
293 inline Cluster& WithServiceRole(Aws::String&& value) { SetServiceRole(std::move(value)); return *this;}
294 inline Cluster& WithServiceRole(const char* value) { SetServiceRole(value); return *this;}
296
298
306 inline int GetNormalizedInstanceHours() const{ return m_normalizedInstanceHours; }
307 inline bool NormalizedInstanceHoursHasBeenSet() const { return m_normalizedInstanceHoursHasBeenSet; }
308 inline void SetNormalizedInstanceHours(int value) { m_normalizedInstanceHoursHasBeenSet = true; m_normalizedInstanceHours = value; }
309 inline Cluster& WithNormalizedInstanceHours(int value) { SetNormalizedInstanceHours(value); return *this;}
311
313
317 inline const Aws::String& GetMasterPublicDnsName() const{ return m_masterPublicDnsName; }
318 inline bool MasterPublicDnsNameHasBeenSet() const { return m_masterPublicDnsNameHasBeenSet; }
319 inline void SetMasterPublicDnsName(const Aws::String& value) { m_masterPublicDnsNameHasBeenSet = true; m_masterPublicDnsName = value; }
320 inline void SetMasterPublicDnsName(Aws::String&& value) { m_masterPublicDnsNameHasBeenSet = true; m_masterPublicDnsName = std::move(value); }
321 inline void SetMasterPublicDnsName(const char* value) { m_masterPublicDnsNameHasBeenSet = true; m_masterPublicDnsName.assign(value); }
322 inline Cluster& WithMasterPublicDnsName(const Aws::String& value) { SetMasterPublicDnsName(value); return *this;}
323 inline Cluster& WithMasterPublicDnsName(Aws::String&& value) { SetMasterPublicDnsName(std::move(value)); return *this;}
324 inline Cluster& WithMasterPublicDnsName(const char* value) { SetMasterPublicDnsName(value); return *this;}
326
328
332 inline const Aws::Vector<Configuration>& GetConfigurations() const{ return m_configurations; }
333 inline bool ConfigurationsHasBeenSet() const { return m_configurationsHasBeenSet; }
334 inline void SetConfigurations(const Aws::Vector<Configuration>& value) { m_configurationsHasBeenSet = true; m_configurations = value; }
335 inline void SetConfigurations(Aws::Vector<Configuration>&& value) { m_configurationsHasBeenSet = true; m_configurations = std::move(value); }
336 inline Cluster& WithConfigurations(const Aws::Vector<Configuration>& value) { SetConfigurations(value); return *this;}
337 inline Cluster& WithConfigurations(Aws::Vector<Configuration>&& value) { SetConfigurations(std::move(value)); return *this;}
338 inline Cluster& AddConfigurations(const Configuration& value) { m_configurationsHasBeenSet = true; m_configurations.push_back(value); return *this; }
339 inline Cluster& AddConfigurations(Configuration&& value) { m_configurationsHasBeenSet = true; m_configurations.push_back(std::move(value)); return *this; }
341
343
346 inline const Aws::String& GetSecurityConfiguration() const{ return m_securityConfiguration; }
347 inline bool SecurityConfigurationHasBeenSet() const { return m_securityConfigurationHasBeenSet; }
348 inline void SetSecurityConfiguration(const Aws::String& value) { m_securityConfigurationHasBeenSet = true; m_securityConfiguration = value; }
349 inline void SetSecurityConfiguration(Aws::String&& value) { m_securityConfigurationHasBeenSet = true; m_securityConfiguration = std::move(value); }
350 inline void SetSecurityConfiguration(const char* value) { m_securityConfigurationHasBeenSet = true; m_securityConfiguration.assign(value); }
351 inline Cluster& WithSecurityConfiguration(const Aws::String& value) { SetSecurityConfiguration(value); return *this;}
352 inline Cluster& WithSecurityConfiguration(Aws::String&& value) { SetSecurityConfiguration(std::move(value)); return *this;}
353 inline Cluster& WithSecurityConfiguration(const char* value) { SetSecurityConfiguration(value); return *this;}
355
357
363 inline const Aws::String& GetAutoScalingRole() const{ return m_autoScalingRole; }
364 inline bool AutoScalingRoleHasBeenSet() const { return m_autoScalingRoleHasBeenSet; }
365 inline void SetAutoScalingRole(const Aws::String& value) { m_autoScalingRoleHasBeenSet = true; m_autoScalingRole = value; }
366 inline void SetAutoScalingRole(Aws::String&& value) { m_autoScalingRoleHasBeenSet = true; m_autoScalingRole = std::move(value); }
367 inline void SetAutoScalingRole(const char* value) { m_autoScalingRoleHasBeenSet = true; m_autoScalingRole.assign(value); }
368 inline Cluster& WithAutoScalingRole(const Aws::String& value) { SetAutoScalingRole(value); return *this;}
369 inline Cluster& WithAutoScalingRole(Aws::String&& value) { SetAutoScalingRole(std::move(value)); return *this;}
370 inline Cluster& WithAutoScalingRole(const char* value) { SetAutoScalingRole(value); return *this;}
372
374
389 inline const ScaleDownBehavior& GetScaleDownBehavior() const{ return m_scaleDownBehavior; }
390 inline bool ScaleDownBehaviorHasBeenSet() const { return m_scaleDownBehaviorHasBeenSet; }
391 inline void SetScaleDownBehavior(const ScaleDownBehavior& value) { m_scaleDownBehaviorHasBeenSet = true; m_scaleDownBehavior = value; }
392 inline void SetScaleDownBehavior(ScaleDownBehavior&& value) { m_scaleDownBehaviorHasBeenSet = true; m_scaleDownBehavior = std::move(value); }
393 inline Cluster& WithScaleDownBehavior(const ScaleDownBehavior& value) { SetScaleDownBehavior(value); return *this;}
394 inline Cluster& WithScaleDownBehavior(ScaleDownBehavior&& value) { SetScaleDownBehavior(std::move(value)); return *this;}
396
398
402 inline const Aws::String& GetCustomAmiId() const{ return m_customAmiId; }
403 inline bool CustomAmiIdHasBeenSet() const { return m_customAmiIdHasBeenSet; }
404 inline void SetCustomAmiId(const Aws::String& value) { m_customAmiIdHasBeenSet = true; m_customAmiId = value; }
405 inline void SetCustomAmiId(Aws::String&& value) { m_customAmiIdHasBeenSet = true; m_customAmiId = std::move(value); }
406 inline void SetCustomAmiId(const char* value) { m_customAmiIdHasBeenSet = true; m_customAmiId.assign(value); }
407 inline Cluster& WithCustomAmiId(const Aws::String& value) { SetCustomAmiId(value); return *this;}
408 inline Cluster& WithCustomAmiId(Aws::String&& value) { SetCustomAmiId(std::move(value)); return *this;}
409 inline Cluster& WithCustomAmiId(const char* value) { SetCustomAmiId(value); return *this;}
411
413
418 inline int GetEbsRootVolumeSize() const{ return m_ebsRootVolumeSize; }
419 inline bool EbsRootVolumeSizeHasBeenSet() const { return m_ebsRootVolumeSizeHasBeenSet; }
420 inline void SetEbsRootVolumeSize(int value) { m_ebsRootVolumeSizeHasBeenSet = true; m_ebsRootVolumeSize = value; }
421 inline Cluster& WithEbsRootVolumeSize(int value) { SetEbsRootVolumeSize(value); return *this;}
423
425
430 inline const RepoUpgradeOnBoot& GetRepoUpgradeOnBoot() const{ return m_repoUpgradeOnBoot; }
431 inline bool RepoUpgradeOnBootHasBeenSet() const { return m_repoUpgradeOnBootHasBeenSet; }
432 inline void SetRepoUpgradeOnBoot(const RepoUpgradeOnBoot& value) { m_repoUpgradeOnBootHasBeenSet = true; m_repoUpgradeOnBoot = value; }
433 inline void SetRepoUpgradeOnBoot(RepoUpgradeOnBoot&& value) { m_repoUpgradeOnBootHasBeenSet = true; m_repoUpgradeOnBoot = std::move(value); }
434 inline Cluster& WithRepoUpgradeOnBoot(const RepoUpgradeOnBoot& value) { SetRepoUpgradeOnBoot(value); return *this;}
435 inline Cluster& WithRepoUpgradeOnBoot(RepoUpgradeOnBoot&& value) { SetRepoUpgradeOnBoot(std::move(value)); return *this;}
437
439
445 inline const KerberosAttributes& GetKerberosAttributes() const{ return m_kerberosAttributes; }
446 inline bool KerberosAttributesHasBeenSet() const { return m_kerberosAttributesHasBeenSet; }
447 inline void SetKerberosAttributes(const KerberosAttributes& value) { m_kerberosAttributesHasBeenSet = true; m_kerberosAttributes = value; }
448 inline void SetKerberosAttributes(KerberosAttributes&& value) { m_kerberosAttributesHasBeenSet = true; m_kerberosAttributes = std::move(value); }
449 inline Cluster& WithKerberosAttributes(const KerberosAttributes& value) { SetKerberosAttributes(value); return *this;}
450 inline Cluster& WithKerberosAttributes(KerberosAttributes&& value) { SetKerberosAttributes(std::move(value)); return *this;}
452
454
457 inline const Aws::String& GetClusterArn() const{ return m_clusterArn; }
458 inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
459 inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; }
460 inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); }
461 inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); }
462 inline Cluster& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;}
463 inline Cluster& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;}
464 inline Cluster& WithClusterArn(const char* value) { SetClusterArn(value); return *this;}
466
468
472 inline const Aws::String& GetOutpostArn() const{ return m_outpostArn; }
473 inline bool OutpostArnHasBeenSet() const { return m_outpostArnHasBeenSet; }
474 inline void SetOutpostArn(const Aws::String& value) { m_outpostArnHasBeenSet = true; m_outpostArn = value; }
475 inline void SetOutpostArn(Aws::String&& value) { m_outpostArnHasBeenSet = true; m_outpostArn = std::move(value); }
476 inline void SetOutpostArn(const char* value) { m_outpostArnHasBeenSet = true; m_outpostArn.assign(value); }
477 inline Cluster& WithOutpostArn(const Aws::String& value) { SetOutpostArn(value); return *this;}
478 inline Cluster& WithOutpostArn(Aws::String&& value) { SetOutpostArn(std::move(value)); return *this;}
479 inline Cluster& WithOutpostArn(const char* value) { SetOutpostArn(value); return *this;}
481
483
486 inline int GetStepConcurrencyLevel() const{ return m_stepConcurrencyLevel; }
487 inline bool StepConcurrencyLevelHasBeenSet() const { return m_stepConcurrencyLevelHasBeenSet; }
488 inline void SetStepConcurrencyLevel(int value) { m_stepConcurrencyLevelHasBeenSet = true; m_stepConcurrencyLevel = value; }
489 inline Cluster& WithStepConcurrencyLevel(int value) { SetStepConcurrencyLevel(value); return *this;}
491
493
496 inline const Aws::Vector<PlacementGroupConfig>& GetPlacementGroups() const{ return m_placementGroups; }
497 inline bool PlacementGroupsHasBeenSet() const { return m_placementGroupsHasBeenSet; }
498 inline void SetPlacementGroups(const Aws::Vector<PlacementGroupConfig>& value) { m_placementGroupsHasBeenSet = true; m_placementGroups = value; }
499 inline void SetPlacementGroups(Aws::Vector<PlacementGroupConfig>&& value) { m_placementGroupsHasBeenSet = true; m_placementGroups = std::move(value); }
501 inline Cluster& WithPlacementGroups(Aws::Vector<PlacementGroupConfig>&& value) { SetPlacementGroups(std::move(value)); return *this;}
502 inline Cluster& AddPlacementGroups(const PlacementGroupConfig& value) { m_placementGroupsHasBeenSet = true; m_placementGroups.push_back(value); return *this; }
503 inline Cluster& AddPlacementGroups(PlacementGroupConfig&& value) { m_placementGroupsHasBeenSet = true; m_placementGroups.push_back(std::move(value)); return *this; }
505
507
512 inline const Aws::String& GetOSReleaseLabel() const{ return m_oSReleaseLabel; }
513 inline bool OSReleaseLabelHasBeenSet() const { return m_oSReleaseLabelHasBeenSet; }
514 inline void SetOSReleaseLabel(const Aws::String& value) { m_oSReleaseLabelHasBeenSet = true; m_oSReleaseLabel = value; }
515 inline void SetOSReleaseLabel(Aws::String&& value) { m_oSReleaseLabelHasBeenSet = true; m_oSReleaseLabel = std::move(value); }
516 inline void SetOSReleaseLabel(const char* value) { m_oSReleaseLabelHasBeenSet = true; m_oSReleaseLabel.assign(value); }
517 inline Cluster& WithOSReleaseLabel(const Aws::String& value) { SetOSReleaseLabel(value); return *this;}
518 inline Cluster& WithOSReleaseLabel(Aws::String&& value) { SetOSReleaseLabel(std::move(value)); return *this;}
519 inline Cluster& WithOSReleaseLabel(const char* value) { SetOSReleaseLabel(value); return *this;}
521
523
528 inline int GetEbsRootVolumeIops() const{ return m_ebsRootVolumeIops; }
529 inline bool EbsRootVolumeIopsHasBeenSet() const { return m_ebsRootVolumeIopsHasBeenSet; }
530 inline void SetEbsRootVolumeIops(int value) { m_ebsRootVolumeIopsHasBeenSet = true; m_ebsRootVolumeIops = value; }
531 inline Cluster& WithEbsRootVolumeIops(int value) { SetEbsRootVolumeIops(value); return *this;}
533
535
540 inline int GetEbsRootVolumeThroughput() const{ return m_ebsRootVolumeThroughput; }
541 inline bool EbsRootVolumeThroughputHasBeenSet() const { return m_ebsRootVolumeThroughputHasBeenSet; }
542 inline void SetEbsRootVolumeThroughput(int value) { m_ebsRootVolumeThroughputHasBeenSet = true; m_ebsRootVolumeThroughput = value; }
543 inline Cluster& WithEbsRootVolumeThroughput(int value) { SetEbsRootVolumeThroughput(value); return *this;}
545 private:
546
547 Aws::String m_id;
548 bool m_idHasBeenSet = false;
549
550 Aws::String m_name;
551 bool m_nameHasBeenSet = false;
552
553 ClusterStatus m_status;
554 bool m_statusHasBeenSet = false;
555
556 Ec2InstanceAttributes m_ec2InstanceAttributes;
557 bool m_ec2InstanceAttributesHasBeenSet = false;
558
559 InstanceCollectionType m_instanceCollectionType;
560 bool m_instanceCollectionTypeHasBeenSet = false;
561
562 Aws::String m_logUri;
563 bool m_logUriHasBeenSet = false;
564
565 Aws::String m_logEncryptionKmsKeyId;
566 bool m_logEncryptionKmsKeyIdHasBeenSet = false;
567
568 Aws::String m_requestedAmiVersion;
569 bool m_requestedAmiVersionHasBeenSet = false;
570
571 Aws::String m_runningAmiVersion;
572 bool m_runningAmiVersionHasBeenSet = false;
573
574 Aws::String m_releaseLabel;
575 bool m_releaseLabelHasBeenSet = false;
576
577 bool m_autoTerminate;
578 bool m_autoTerminateHasBeenSet = false;
579
580 bool m_terminationProtected;
581 bool m_terminationProtectedHasBeenSet = false;
582
583 bool m_unhealthyNodeReplacement;
584 bool m_unhealthyNodeReplacementHasBeenSet = false;
585
586 bool m_visibleToAllUsers;
587 bool m_visibleToAllUsersHasBeenSet = false;
588
589 Aws::Vector<Application> m_applications;
590 bool m_applicationsHasBeenSet = false;
591
592 Aws::Vector<Tag> m_tags;
593 bool m_tagsHasBeenSet = false;
594
595 Aws::String m_serviceRole;
596 bool m_serviceRoleHasBeenSet = false;
597
598 int m_normalizedInstanceHours;
599 bool m_normalizedInstanceHoursHasBeenSet = false;
600
601 Aws::String m_masterPublicDnsName;
602 bool m_masterPublicDnsNameHasBeenSet = false;
603
604 Aws::Vector<Configuration> m_configurations;
605 bool m_configurationsHasBeenSet = false;
606
607 Aws::String m_securityConfiguration;
608 bool m_securityConfigurationHasBeenSet = false;
609
610 Aws::String m_autoScalingRole;
611 bool m_autoScalingRoleHasBeenSet = false;
612
613 ScaleDownBehavior m_scaleDownBehavior;
614 bool m_scaleDownBehaviorHasBeenSet = false;
615
616 Aws::String m_customAmiId;
617 bool m_customAmiIdHasBeenSet = false;
618
619 int m_ebsRootVolumeSize;
620 bool m_ebsRootVolumeSizeHasBeenSet = false;
621
622 RepoUpgradeOnBoot m_repoUpgradeOnBoot;
623 bool m_repoUpgradeOnBootHasBeenSet = false;
624
625 KerberosAttributes m_kerberosAttributes;
626 bool m_kerberosAttributesHasBeenSet = false;
627
628 Aws::String m_clusterArn;
629 bool m_clusterArnHasBeenSet = false;
630
631 Aws::String m_outpostArn;
632 bool m_outpostArnHasBeenSet = false;
633
634 int m_stepConcurrencyLevel;
635 bool m_stepConcurrencyLevelHasBeenSet = false;
636
637 Aws::Vector<PlacementGroupConfig> m_placementGroups;
638 bool m_placementGroupsHasBeenSet = false;
639
640 Aws::String m_oSReleaseLabel;
641 bool m_oSReleaseLabelHasBeenSet = false;
642
643 int m_ebsRootVolumeIops;
644 bool m_ebsRootVolumeIopsHasBeenSet = false;
645
646 int m_ebsRootVolumeThroughput;
647 bool m_ebsRootVolumeThroughputHasBeenSet = false;
648 };
649
650} // namespace Model
651} // namespace EMR
652} // namespace Aws
Cluster & WithRequestedAmiVersion(const Aws::String &value)
Definition Cluster.h:160
Cluster & WithAutoScalingRole(Aws::String &&value)
Definition Cluster.h:369
const Aws::String & GetServiceRole() const
Definition Cluster.h:287
Cluster & WithRepoUpgradeOnBoot(RepoUpgradeOnBoot &&value)
Definition Cluster.h:435
const Aws::String & GetRunningAmiVersion() const
Definition Cluster.h:169
Cluster & WithSecurityConfiguration(const Aws::String &value)
Definition Cluster.h:351
bool StatusHasBeenSet() const
Definition Cluster.h:85
bool NormalizedInstanceHoursHasBeenSet() const
Definition Cluster.h:307
Cluster & WithReleaseLabel(const char *value)
Definition Cluster.h:197
void SetId(const char *value)
Definition Cluster.h:59
void SetPlacementGroups(const Aws::Vector< PlacementGroupConfig > &value)
Definition Cluster.h:498
Cluster & WithTerminationProtected(bool value)
Definition Cluster.h:220
Cluster & WithRequestedAmiVersion(Aws::String &&value)
Definition Cluster.h:161
Cluster & WithInstanceCollectionType(const InstanceCollectionType &value)
Definition Cluster.h:117
Cluster & WithCustomAmiId(const Aws::String &value)
Definition Cluster.h:407
void SetStatus(ClusterStatus &&value)
Definition Cluster.h:87
const Aws::Vector< Configuration > & GetConfigurations() const
Definition Cluster.h:332
void SetTags(const Aws::Vector< Tag > &value)
Definition Cluster.h:274
void SetCustomAmiId(const char *value)
Definition Cluster.h:406
void SetServiceRole(const char *value)
Definition Cluster.h:291
Cluster & WithStatus(ClusterStatus &&value)
Definition Cluster.h:89
bool GetTerminationProtected() const
Definition Cluster.h:217
Cluster & WithMasterPublicDnsName(const char *value)
Definition Cluster.h:324
void SetOutpostArn(const char *value)
Definition Cluster.h:476
bool EbsRootVolumeThroughputHasBeenSet() const
Definition Cluster.h:541
Cluster & WithKerberosAttributes(const KerberosAttributes &value)
Definition Cluster.h:449
bool NameHasBeenSet() const
Definition Cluster.h:71
Cluster & WithSecurityConfiguration(const char *value)
Definition Cluster.h:353
void SetRequestedAmiVersion(Aws::String &&value)
Definition Cluster.h:158
const RepoUpgradeOnBoot & GetRepoUpgradeOnBoot() const
Definition Cluster.h:430
Cluster & WithOutpostArn(const char *value)
Definition Cluster.h:479
Cluster & WithId(const Aws::String &value)
Definition Cluster.h:60
bool InstanceCollectionTypeHasBeenSet() const
Definition Cluster.h:114
void SetSecurityConfiguration(Aws::String &&value)
Definition Cluster.h:349
void SetStepConcurrencyLevel(int value)
Definition Cluster.h:488
bool MasterPublicDnsNameHasBeenSet() const
Definition Cluster.h:318
Cluster & WithLogEncryptionKmsKeyId(Aws::String &&value)
Definition Cluster.h:147
void SetOSReleaseLabel(const Aws::String &value)
Definition Cluster.h:514
const Aws::String & GetLogEncryptionKmsKeyId() const
Definition Cluster.h:141
bool UnhealthyNodeReplacementHasBeenSet() const
Definition Cluster.h:229
void SetKerberosAttributes(const KerberosAttributes &value)
Definition Cluster.h:447
Cluster & AddPlacementGroups(PlacementGroupConfig &&value)
Definition Cluster.h:503
AWS_EMR_API Cluster & operator=(Aws::Utils::Json::JsonView jsonValue)
int GetEbsRootVolumeThroughput() const
Definition Cluster.h:540
bool AutoScalingRoleHasBeenSet() const
Definition Cluster.h:364
void SetName(Aws::String &&value)
Definition Cluster.h:73
Cluster & WithRunningAmiVersion(Aws::String &&value)
Definition Cluster.h:175
int GetStepConcurrencyLevel() const
Definition Cluster.h:486
Cluster & AddApplications(Application &&value)
Definition Cluster.h:265
Cluster & WithLogUri(Aws::String &&value)
Definition Cluster.h:132
Cluster & WithReleaseLabel(const Aws::String &value)
Definition Cluster.h:195
void SetCustomAmiId(const Aws::String &value)
Definition Cluster.h:404
Cluster & WithId(const char *value)
Definition Cluster.h:62
bool LogEncryptionKmsKeyIdHasBeenSet() const
Definition Cluster.h:142
bool TerminationProtectedHasBeenSet() const
Definition Cluster.h:218
const Aws::Vector< PlacementGroupConfig > & GetPlacementGroups() const
Definition Cluster.h:496
bool LogUriHasBeenSet() const
Definition Cluster.h:127
void SetId(Aws::String &&value)
Definition Cluster.h:58
void SetRunningAmiVersion(const char *value)
Definition Cluster.h:173
void SetLogUri(const Aws::String &value)
Definition Cluster.h:128
const Aws::Vector< Application > & GetApplications() const
Definition Cluster.h:258
bool OutpostArnHasBeenSet() const
Definition Cluster.h:473
void SetScaleDownBehavior(ScaleDownBehavior &&value)
Definition Cluster.h:392
const Aws::String & GetLogUri() const
Definition Cluster.h:126
void SetLogUri(Aws::String &&value)
Definition Cluster.h:129
Cluster & WithOutpostArn(const Aws::String &value)
Definition Cluster.h:477
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
Cluster & WithServiceRole(Aws::String &&value)
Definition Cluster.h:293
bool EbsRootVolumeSizeHasBeenSet() const
Definition Cluster.h:419
Cluster & WithAutoScalingRole(const Aws::String &value)
Definition Cluster.h:368
void SetRequestedAmiVersion(const char *value)
Definition Cluster.h:159
void SetServiceRole(const Aws::String &value)
Definition Cluster.h:289
bool GetVisibleToAllUsers() const
Definition Cluster.h:248
void SetReleaseLabel(const char *value)
Definition Cluster.h:194
bool ScaleDownBehaviorHasBeenSet() const
Definition Cluster.h:390
bool OSReleaseLabelHasBeenSet() const
Definition Cluster.h:513
AWS_EMR_API Cluster(Aws::Utils::Json::JsonView jsonValue)
void SetPlacementGroups(Aws::Vector< PlacementGroupConfig > &&value)
Definition Cluster.h:499
void SetMasterPublicDnsName(const Aws::String &value)
Definition Cluster.h:319
void SetAutoScalingRole(const Aws::String &value)
Definition Cluster.h:365
Cluster & WithOSReleaseLabel(const char *value)
Definition Cluster.h:519
void SetTerminationProtected(bool value)
Definition Cluster.h:219
Cluster & WithStatus(const ClusterStatus &value)
Definition Cluster.h:88
Cluster & WithConfigurations(const Aws::Vector< Configuration > &value)
Definition Cluster.h:336
Cluster & WithScaleDownBehavior(ScaleDownBehavior &&value)
Definition Cluster.h:394
void SetKerberosAttributes(KerberosAttributes &&value)
Definition Cluster.h:448
void SetAutoScalingRole(const char *value)
Definition Cluster.h:367
void SetOSReleaseLabel(Aws::String &&value)
Definition Cluster.h:515
Cluster & WithName(const char *value)
Definition Cluster.h:77
Cluster & WithServiceRole(const Aws::String &value)
Definition Cluster.h:292
void SetName(const Aws::String &value)
Definition Cluster.h:72
bool GetAutoTerminate() const
Definition Cluster.h:205
void SetUnhealthyNodeReplacement(bool value)
Definition Cluster.h:230
int GetEbsRootVolumeSize() const
Definition Cluster.h:418
Cluster & AddPlacementGroups(const PlacementGroupConfig &value)
Definition Cluster.h:502
Cluster & WithRunningAmiVersion(const Aws::String &value)
Definition Cluster.h:174
void SetOutpostArn(Aws::String &&value)
Definition Cluster.h:475
Cluster & WithCustomAmiId(const char *value)
Definition Cluster.h:409
bool PlacementGroupsHasBeenSet() const
Definition Cluster.h:497
Cluster & WithMasterPublicDnsName(Aws::String &&value)
Definition Cluster.h:323
Cluster & WithKerberosAttributes(KerberosAttributes &&value)
Definition Cluster.h:450
Cluster & WithMasterPublicDnsName(const Aws::String &value)
Definition Cluster.h:322
void SetEbsRootVolumeIops(int value)
Definition Cluster.h:530
bool RequestedAmiVersionHasBeenSet() const
Definition Cluster.h:156
const ClusterStatus & GetStatus() const
Definition Cluster.h:84
void SetReleaseLabel(const Aws::String &value)
Definition Cluster.h:192
Cluster & WithOSReleaseLabel(const Aws::String &value)
Definition Cluster.h:517
void SetNormalizedInstanceHours(int value)
Definition Cluster.h:308
void SetScaleDownBehavior(const ScaleDownBehavior &value)
Definition Cluster.h:391
Cluster & WithLogEncryptionKmsKeyId(const char *value)
Definition Cluster.h:148
void SetOSReleaseLabel(const char *value)
Definition Cluster.h:516
Cluster & WithName(Aws::String &&value)
Definition Cluster.h:76
Cluster & WithCustomAmiId(Aws::String &&value)
Definition Cluster.h:408
Cluster & WithVisibleToAllUsers(bool value)
Definition Cluster.h:251
Cluster & AddTags(Tag &&value)
Definition Cluster.h:279
const Aws::String & GetCustomAmiId() const
Definition Cluster.h:402
bool ConfigurationsHasBeenSet() const
Definition Cluster.h:333
bool EbsRootVolumeIopsHasBeenSet() const
Definition Cluster.h:529
void SetEc2InstanceAttributes(const Ec2InstanceAttributes &value)
Definition Cluster.h:99
bool StepConcurrencyLevelHasBeenSet() const
Definition Cluster.h:487
void SetName(const char *value)
Definition Cluster.h:74
const Aws::String & GetReleaseLabel() const
Definition Cluster.h:190
void SetRunningAmiVersion(const Aws::String &value)
Definition Cluster.h:171
const Aws::String & GetClusterArn() const
Definition Cluster.h:457
const Aws::String & GetRequestedAmiVersion() const
Definition Cluster.h:155
bool GetUnhealthyNodeReplacement() const
Definition Cluster.h:228
void SetClusterArn(const Aws::String &value)
Definition Cluster.h:459
void SetLogEncryptionKmsKeyId(Aws::String &&value)
Definition Cluster.h:144
void SetSecurityConfiguration(const char *value)
Definition Cluster.h:350
Cluster & WithRunningAmiVersion(const char *value)
Definition Cluster.h:176
Cluster & WithServiceRole(const char *value)
Definition Cluster.h:294
bool ServiceRoleHasBeenSet() const
Definition Cluster.h:288
void SetServiceRole(Aws::String &&value)
Definition Cluster.h:290
void SetConfigurations(const Aws::Vector< Configuration > &value)
Definition Cluster.h:334
Cluster & WithSecurityConfiguration(Aws::String &&value)
Definition Cluster.h:352
bool IdHasBeenSet() const
Definition Cluster.h:56
void SetStatus(const ClusterStatus &value)
Definition Cluster.h:86
Cluster & WithRepoUpgradeOnBoot(const RepoUpgradeOnBoot &value)
Definition Cluster.h:434
void SetClusterArn(const char *value)
Definition Cluster.h:461
void SetCustomAmiId(Aws::String &&value)
Definition Cluster.h:405
void SetId(const Aws::String &value)
Definition Cluster.h:57
Cluster & AddConfigurations(const Configuration &value)
Definition Cluster.h:338
void SetMasterPublicDnsName(const char *value)
Definition Cluster.h:321
bool AutoTerminateHasBeenSet() const
Definition Cluster.h:206
Cluster & WithEbsRootVolumeThroughput(int value)
Definition Cluster.h:543
Cluster & AddApplications(const Application &value)
Definition Cluster.h:264
bool Ec2InstanceAttributesHasBeenSet() const
Definition Cluster.h:98
void SetInstanceCollectionType(InstanceCollectionType &&value)
Definition Cluster.h:116
Cluster & WithAutoScalingRole(const char *value)
Definition Cluster.h:370
Cluster & WithLogUri(const Aws::String &value)
Definition Cluster.h:131
void SetClusterArn(Aws::String &&value)
Definition Cluster.h:460
void SetApplications(const Aws::Vector< Application > &value)
Definition Cluster.h:260
bool KerberosAttributesHasBeenSet() const
Definition Cluster.h:446
const ScaleDownBehavior & GetScaleDownBehavior() const
Definition Cluster.h:389
Cluster & WithNormalizedInstanceHours(int value)
Definition Cluster.h:309
void SetLogEncryptionKmsKeyId(const char *value)
Definition Cluster.h:145
bool VisibleToAllUsersHasBeenSet() const
Definition Cluster.h:249
const Aws::String & GetId() const
Definition Cluster.h:55
Cluster & WithConfigurations(Aws::Vector< Configuration > &&value)
Definition Cluster.h:337
bool ClusterArnHasBeenSet() const
Definition Cluster.h:458
void SetReleaseLabel(Aws::String &&value)
Definition Cluster.h:193
Cluster & AddConfigurations(Configuration &&value)
Definition Cluster.h:339
void SetTags(Aws::Vector< Tag > &&value)
Definition Cluster.h:275
void SetRepoUpgradeOnBoot(RepoUpgradeOnBoot &&value)
Definition Cluster.h:433
Cluster & WithName(const Aws::String &value)
Definition Cluster.h:75
Cluster & WithOutpostArn(Aws::String &&value)
Definition Cluster.h:478
Cluster & WithPlacementGroups(Aws::Vector< PlacementGroupConfig > &&value)
Definition Cluster.h:501
void SetVisibleToAllUsers(bool value)
Definition Cluster.h:250
Cluster & WithRequestedAmiVersion(const char *value)
Definition Cluster.h:162
Cluster & WithLogEncryptionKmsKeyId(const Aws::String &value)
Definition Cluster.h:146
Cluster & WithClusterArn(const char *value)
Definition Cluster.h:464
bool SecurityConfigurationHasBeenSet() const
Definition Cluster.h:347
const Aws::String & GetOutpostArn() const
Definition Cluster.h:472
Cluster & WithEbsRootVolumeIops(int value)
Definition Cluster.h:531
const Aws::String & GetMasterPublicDnsName() const
Definition Cluster.h:317
Cluster & WithTags(Aws::Vector< Tag > &&value)
Definition Cluster.h:277
int GetNormalizedInstanceHours() const
Definition Cluster.h:306
Cluster & WithId(Aws::String &&value)
Definition Cluster.h:61
const Aws::String & GetSecurityConfiguration() const
Definition Cluster.h:346
Cluster & WithApplications(const Aws::Vector< Application > &value)
Definition Cluster.h:262
void SetEbsRootVolumeThroughput(int value)
Definition Cluster.h:542
const Aws::Vector< Tag > & GetTags() const
Definition Cluster.h:272
Cluster & WithApplications(Aws::Vector< Application > &&value)
Definition Cluster.h:263
void SetAutoScalingRole(Aws::String &&value)
Definition Cluster.h:366
Cluster & WithClusterArn(Aws::String &&value)
Definition Cluster.h:463
bool TagsHasBeenSet() const
Definition Cluster.h:273
const Aws::String & GetOSReleaseLabel() const
Definition Cluster.h:512
void SetMasterPublicDnsName(Aws::String &&value)
Definition Cluster.h:320
void SetRepoUpgradeOnBoot(const RepoUpgradeOnBoot &value)
Definition Cluster.h:432
Cluster & WithTags(const Aws::Vector< Tag > &value)
Definition Cluster.h:276
bool ApplicationsHasBeenSet() const
Definition Cluster.h:259
Cluster & WithEc2InstanceAttributes(const Ec2InstanceAttributes &value)
Definition Cluster.h:101
void SetOutpostArn(const Aws::String &value)
Definition Cluster.h:474
const InstanceCollectionType & GetInstanceCollectionType() const
Definition Cluster.h:113
void SetInstanceCollectionType(const InstanceCollectionType &value)
Definition Cluster.h:115
Cluster & WithClusterArn(const Aws::String &value)
Definition Cluster.h:462
int GetEbsRootVolumeIops() const
Definition Cluster.h:528
const Aws::String & GetName() const
Definition Cluster.h:70
bool ReleaseLabelHasBeenSet() const
Definition Cluster.h:191
void SetEbsRootVolumeSize(int value)
Definition Cluster.h:420
const Aws::String & GetAutoScalingRole() const
Definition Cluster.h:363
void SetSecurityConfiguration(const Aws::String &value)
Definition Cluster.h:348
Cluster & WithInstanceCollectionType(InstanceCollectionType &&value)
Definition Cluster.h:118
void SetApplications(Aws::Vector< Application > &&value)
Definition Cluster.h:261
Cluster & WithAutoTerminate(bool value)
Definition Cluster.h:208
void SetRunningAmiVersion(Aws::String &&value)
Definition Cluster.h:172
void SetEc2InstanceAttributes(Ec2InstanceAttributes &&value)
Definition Cluster.h:100
bool RunningAmiVersionHasBeenSet() const
Definition Cluster.h:170
Cluster & WithReleaseLabel(Aws::String &&value)
Definition Cluster.h:196
Cluster & WithUnhealthyNodeReplacement(bool value)
Definition Cluster.h:231
Cluster & WithStepConcurrencyLevel(int value)
Definition Cluster.h:489
Cluster & WithOSReleaseLabel(Aws::String &&value)
Definition Cluster.h:518
void SetConfigurations(Aws::Vector< Configuration > &&value)
Definition Cluster.h:335
void SetLogEncryptionKmsKeyId(const Aws::String &value)
Definition Cluster.h:143
Cluster & WithScaleDownBehavior(const ScaleDownBehavior &value)
Definition Cluster.h:393
void SetLogUri(const char *value)
Definition Cluster.h:130
Cluster & WithPlacementGroups(const Aws::Vector< PlacementGroupConfig > &value)
Definition Cluster.h:500
bool CustomAmiIdHasBeenSet() const
Definition Cluster.h:403
Cluster & WithEc2InstanceAttributes(Ec2InstanceAttributes &&value)
Definition Cluster.h:102
void SetRequestedAmiVersion(const Aws::String &value)
Definition Cluster.h:157
bool RepoUpgradeOnBootHasBeenSet() const
Definition Cluster.h:431
const Ec2InstanceAttributes & GetEc2InstanceAttributes() const
Definition Cluster.h:97
const KerberosAttributes & GetKerberosAttributes() const
Definition Cluster.h:445
void SetAutoTerminate(bool value)
Definition Cluster.h:207
Cluster & AddTags(const Tag &value)
Definition Cluster.h:278
Cluster & WithLogUri(const char *value)
Definition Cluster.h:133
Cluster & WithEbsRootVolumeSize(int value)
Definition Cluster.h:421
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue