AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RunJobFlowRequest.h
1
6#pragma once
7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/elasticmapreduce/EMRRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/elasticmapreduce/model/JobFlowInstancesConfig.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/elasticmapreduce/model/ScaleDownBehavior.h>
13#include <aws/elasticmapreduce/model/RepoUpgradeOnBoot.h>
14#include <aws/elasticmapreduce/model/KerberosAttributes.h>
15#include <aws/elasticmapreduce/model/ManagedScalingPolicy.h>
16#include <aws/elasticmapreduce/model/AutoTerminationPolicy.h>
17#include <aws/elasticmapreduce/model/StepConfig.h>
18#include <aws/elasticmapreduce/model/BootstrapActionConfig.h>
19#include <aws/elasticmapreduce/model/SupportedProductConfig.h>
20#include <aws/elasticmapreduce/model/Application.h>
21#include <aws/elasticmapreduce/model/Configuration.h>
22#include <aws/elasticmapreduce/model/Tag.h>
23#include <aws/elasticmapreduce/model/PlacementGroupConfig.h>
24#include <utility>
25
26namespace Aws
27{
28namespace EMR
29{
30namespace Model
31{
32
39 {
40 public:
41 AWS_EMR_API RunJobFlowRequest();
42
43 // Service request name is the Operation name which will send this request out,
44 // each operation should has unique request name, so that we can get operation's name from this request.
45 // Note: this is not true for response, multiple operations may have the same response name,
46 // so we can not get operation's name from response.
47 inline virtual const char* GetServiceRequestName() const override { return "RunJobFlow"; }
48
49 AWS_EMR_API Aws::String SerializePayload() const override;
50
52
53
55
58 inline const Aws::String& GetName() const{ return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
61 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
62 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
63 inline RunJobFlowRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
64 inline RunJobFlowRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
65 inline RunJobFlowRequest& WithName(const char* value) { SetName(value); return *this;}
67
69
73 inline const Aws::String& GetLogUri() const{ return m_logUri; }
74 inline bool LogUriHasBeenSet() const { return m_logUriHasBeenSet; }
75 inline void SetLogUri(const Aws::String& value) { m_logUriHasBeenSet = true; m_logUri = value; }
76 inline void SetLogUri(Aws::String&& value) { m_logUriHasBeenSet = true; m_logUri = std::move(value); }
77 inline void SetLogUri(const char* value) { m_logUriHasBeenSet = true; m_logUri.assign(value); }
78 inline RunJobFlowRequest& WithLogUri(const Aws::String& value) { SetLogUri(value); return *this;}
79 inline RunJobFlowRequest& WithLogUri(Aws::String&& value) { SetLogUri(std::move(value)); return *this;}
80 inline RunJobFlowRequest& WithLogUri(const char* value) { SetLogUri(value); return *this;}
82
84
89 inline const Aws::String& GetLogEncryptionKmsKeyId() const{ return m_logEncryptionKmsKeyId; }
90 inline bool LogEncryptionKmsKeyIdHasBeenSet() const { return m_logEncryptionKmsKeyIdHasBeenSet; }
91 inline void SetLogEncryptionKmsKeyId(const Aws::String& value) { m_logEncryptionKmsKeyIdHasBeenSet = true; m_logEncryptionKmsKeyId = value; }
92 inline void SetLogEncryptionKmsKeyId(Aws::String&& value) { m_logEncryptionKmsKeyIdHasBeenSet = true; m_logEncryptionKmsKeyId = std::move(value); }
93 inline void SetLogEncryptionKmsKeyId(const char* value) { m_logEncryptionKmsKeyIdHasBeenSet = true; m_logEncryptionKmsKeyId.assign(value); }
95 inline RunJobFlowRequest& WithLogEncryptionKmsKeyId(Aws::String&& value) { SetLogEncryptionKmsKeyId(std::move(value)); return *this;}
96 inline RunJobFlowRequest& WithLogEncryptionKmsKeyId(const char* value) { SetLogEncryptionKmsKeyId(value); return *this;}
98
100
103 inline const Aws::String& GetAdditionalInfo() const{ return m_additionalInfo; }
104 inline bool AdditionalInfoHasBeenSet() const { return m_additionalInfoHasBeenSet; }
105 inline void SetAdditionalInfo(const Aws::String& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo = value; }
106 inline void SetAdditionalInfo(Aws::String&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo = std::move(value); }
107 inline void SetAdditionalInfo(const char* value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.assign(value); }
108 inline RunJobFlowRequest& WithAdditionalInfo(const Aws::String& value) { SetAdditionalInfo(value); return *this;}
109 inline RunJobFlowRequest& WithAdditionalInfo(Aws::String&& value) { SetAdditionalInfo(std::move(value)); return *this;}
110 inline RunJobFlowRequest& WithAdditionalInfo(const char* value) { SetAdditionalInfo(value); return *this;}
112
114
119 inline const Aws::String& GetAmiVersion() const{ return m_amiVersion; }
120 inline bool AmiVersionHasBeenSet() const { return m_amiVersionHasBeenSet; }
121 inline void SetAmiVersion(const Aws::String& value) { m_amiVersionHasBeenSet = true; m_amiVersion = value; }
122 inline void SetAmiVersion(Aws::String&& value) { m_amiVersionHasBeenSet = true; m_amiVersion = std::move(value); }
123 inline void SetAmiVersion(const char* value) { m_amiVersionHasBeenSet = true; m_amiVersion.assign(value); }
124 inline RunJobFlowRequest& WithAmiVersion(const Aws::String& value) { SetAmiVersion(value); return *this;}
125 inline RunJobFlowRequest& WithAmiVersion(Aws::String&& value) { SetAmiVersion(std::move(value)); return *this;}
126 inline RunJobFlowRequest& WithAmiVersion(const char* value) { SetAmiVersion(value); return *this;}
128
130
140 inline const Aws::String& GetReleaseLabel() const{ return m_releaseLabel; }
141 inline bool ReleaseLabelHasBeenSet() const { return m_releaseLabelHasBeenSet; }
142 inline void SetReleaseLabel(const Aws::String& value) { m_releaseLabelHasBeenSet = true; m_releaseLabel = value; }
143 inline void SetReleaseLabel(Aws::String&& value) { m_releaseLabelHasBeenSet = true; m_releaseLabel = std::move(value); }
144 inline void SetReleaseLabel(const char* value) { m_releaseLabelHasBeenSet = true; m_releaseLabel.assign(value); }
145 inline RunJobFlowRequest& WithReleaseLabel(const Aws::String& value) { SetReleaseLabel(value); return *this;}
146 inline RunJobFlowRequest& WithReleaseLabel(Aws::String&& value) { SetReleaseLabel(std::move(value)); return *this;}
147 inline RunJobFlowRequest& WithReleaseLabel(const char* value) { SetReleaseLabel(value); return *this;}
149
151
154 inline const JobFlowInstancesConfig& GetInstances() const{ return m_instances; }
155 inline bool InstancesHasBeenSet() const { return m_instancesHasBeenSet; }
156 inline void SetInstances(const JobFlowInstancesConfig& value) { m_instancesHasBeenSet = true; m_instances = value; }
157 inline void SetInstances(JobFlowInstancesConfig&& value) { m_instancesHasBeenSet = true; m_instances = std::move(value); }
158 inline RunJobFlowRequest& WithInstances(const JobFlowInstancesConfig& value) { SetInstances(value); return *this;}
159 inline RunJobFlowRequest& WithInstances(JobFlowInstancesConfig&& value) { SetInstances(std::move(value)); return *this;}
161
163
166 inline const Aws::Vector<StepConfig>& GetSteps() const{ return m_steps; }
167 inline bool StepsHasBeenSet() const { return m_stepsHasBeenSet; }
168 inline void SetSteps(const Aws::Vector<StepConfig>& value) { m_stepsHasBeenSet = true; m_steps = value; }
169 inline void SetSteps(Aws::Vector<StepConfig>&& value) { m_stepsHasBeenSet = true; m_steps = std::move(value); }
170 inline RunJobFlowRequest& WithSteps(const Aws::Vector<StepConfig>& value) { SetSteps(value); return *this;}
171 inline RunJobFlowRequest& WithSteps(Aws::Vector<StepConfig>&& value) { SetSteps(std::move(value)); return *this;}
172 inline RunJobFlowRequest& AddSteps(const StepConfig& value) { m_stepsHasBeenSet = true; m_steps.push_back(value); return *this; }
173 inline RunJobFlowRequest& AddSteps(StepConfig&& value) { m_stepsHasBeenSet = true; m_steps.push_back(std::move(value)); return *this; }
175
177
181 inline const Aws::Vector<BootstrapActionConfig>& GetBootstrapActions() const{ return m_bootstrapActions; }
182 inline bool BootstrapActionsHasBeenSet() const { return m_bootstrapActionsHasBeenSet; }
183 inline void SetBootstrapActions(const Aws::Vector<BootstrapActionConfig>& value) { m_bootstrapActionsHasBeenSet = true; m_bootstrapActions = value; }
184 inline void SetBootstrapActions(Aws::Vector<BootstrapActionConfig>&& value) { m_bootstrapActionsHasBeenSet = true; m_bootstrapActions = std::move(value); }
187 inline RunJobFlowRequest& AddBootstrapActions(const BootstrapActionConfig& value) { m_bootstrapActionsHasBeenSet = true; m_bootstrapActions.push_back(value); return *this; }
188 inline RunJobFlowRequest& AddBootstrapActions(BootstrapActionConfig&& value) { m_bootstrapActionsHasBeenSet = true; m_bootstrapActions.push_back(std::move(value)); return *this; }
190
192
201 inline const Aws::Vector<Aws::String>& GetSupportedProducts() const{ return m_supportedProducts; }
202 inline bool SupportedProductsHasBeenSet() const { return m_supportedProductsHasBeenSet; }
203 inline void SetSupportedProducts(const Aws::Vector<Aws::String>& value) { m_supportedProductsHasBeenSet = true; m_supportedProducts = value; }
204 inline void SetSupportedProducts(Aws::Vector<Aws::String>&& value) { m_supportedProductsHasBeenSet = true; m_supportedProducts = std::move(value); }
207 inline RunJobFlowRequest& AddSupportedProducts(const Aws::String& value) { m_supportedProductsHasBeenSet = true; m_supportedProducts.push_back(value); return *this; }
208 inline RunJobFlowRequest& AddSupportedProducts(Aws::String&& value) { m_supportedProductsHasBeenSet = true; m_supportedProducts.push_back(std::move(value)); return *this; }
209 inline RunJobFlowRequest& AddSupportedProducts(const char* value) { m_supportedProductsHasBeenSet = true; m_supportedProducts.push_back(value); return *this; }
211
213
232 inline const Aws::Vector<SupportedProductConfig>& GetNewSupportedProducts() const{ return m_newSupportedProducts; }
233 inline bool NewSupportedProductsHasBeenSet() const { return m_newSupportedProductsHasBeenSet; }
234 inline void SetNewSupportedProducts(const Aws::Vector<SupportedProductConfig>& value) { m_newSupportedProductsHasBeenSet = true; m_newSupportedProducts = value; }
235 inline void SetNewSupportedProducts(Aws::Vector<SupportedProductConfig>&& value) { m_newSupportedProductsHasBeenSet = true; m_newSupportedProducts = std::move(value); }
238 inline RunJobFlowRequest& AddNewSupportedProducts(const SupportedProductConfig& value) { m_newSupportedProductsHasBeenSet = true; m_newSupportedProducts.push_back(value); return *this; }
239 inline RunJobFlowRequest& AddNewSupportedProducts(SupportedProductConfig&& value) { m_newSupportedProductsHasBeenSet = true; m_newSupportedProducts.push_back(std::move(value)); return *this; }
241
243
250 inline const Aws::Vector<Application>& GetApplications() const{ return m_applications; }
251 inline bool ApplicationsHasBeenSet() const { return m_applicationsHasBeenSet; }
252 inline void SetApplications(const Aws::Vector<Application>& value) { m_applicationsHasBeenSet = true; m_applications = value; }
253 inline void SetApplications(Aws::Vector<Application>&& value) { m_applicationsHasBeenSet = true; m_applications = std::move(value); }
254 inline RunJobFlowRequest& WithApplications(const Aws::Vector<Application>& value) { SetApplications(value); return *this;}
255 inline RunJobFlowRequest& WithApplications(Aws::Vector<Application>&& value) { SetApplications(std::move(value)); return *this;}
256 inline RunJobFlowRequest& AddApplications(const Application& value) { m_applicationsHasBeenSet = true; m_applications.push_back(value); return *this; }
257 inline RunJobFlowRequest& AddApplications(Application&& value) { m_applicationsHasBeenSet = true; m_applications.push_back(std::move(value)); return *this; }
259
261
265 inline const Aws::Vector<Configuration>& GetConfigurations() const{ return m_configurations; }
266 inline bool ConfigurationsHasBeenSet() const { return m_configurationsHasBeenSet; }
267 inline void SetConfigurations(const Aws::Vector<Configuration>& value) { m_configurationsHasBeenSet = true; m_configurations = value; }
268 inline void SetConfigurations(Aws::Vector<Configuration>&& value) { m_configurationsHasBeenSet = true; m_configurations = std::move(value); }
270 inline RunJobFlowRequest& WithConfigurations(Aws::Vector<Configuration>&& value) { SetConfigurations(std::move(value)); return *this;}
271 inline RunJobFlowRequest& AddConfigurations(const Configuration& value) { m_configurationsHasBeenSet = true; m_configurations.push_back(value); return *this; }
272 inline RunJobFlowRequest& AddConfigurations(Configuration&& value) { m_configurationsHasBeenSet = true; m_configurations.push_back(std::move(value)); return *this; }
274
276
293 inline bool GetVisibleToAllUsers() const{ return m_visibleToAllUsers; }
294 inline bool VisibleToAllUsersHasBeenSet() const { return m_visibleToAllUsersHasBeenSet; }
295 inline void SetVisibleToAllUsers(bool value) { m_visibleToAllUsersHasBeenSet = true; m_visibleToAllUsers = value; }
296 inline RunJobFlowRequest& WithVisibleToAllUsers(bool value) { SetVisibleToAllUsers(value); return *this;}
298
300
306 inline const Aws::String& GetJobFlowRole() const{ return m_jobFlowRole; }
307 inline bool JobFlowRoleHasBeenSet() const { return m_jobFlowRoleHasBeenSet; }
308 inline void SetJobFlowRole(const Aws::String& value) { m_jobFlowRoleHasBeenSet = true; m_jobFlowRole = value; }
309 inline void SetJobFlowRole(Aws::String&& value) { m_jobFlowRoleHasBeenSet = true; m_jobFlowRole = std::move(value); }
310 inline void SetJobFlowRole(const char* value) { m_jobFlowRoleHasBeenSet = true; m_jobFlowRole.assign(value); }
311 inline RunJobFlowRequest& WithJobFlowRole(const Aws::String& value) { SetJobFlowRole(value); return *this;}
312 inline RunJobFlowRequest& WithJobFlowRole(Aws::String&& value) { SetJobFlowRole(std::move(value)); return *this;}
313 inline RunJobFlowRequest& WithJobFlowRole(const char* value) { SetJobFlowRole(value); return *this;}
315
317
322 inline const Aws::String& GetServiceRole() const{ return m_serviceRole; }
323 inline bool ServiceRoleHasBeenSet() const { return m_serviceRoleHasBeenSet; }
324 inline void SetServiceRole(const Aws::String& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = value; }
325 inline void SetServiceRole(Aws::String&& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = std::move(value); }
326 inline void SetServiceRole(const char* value) { m_serviceRoleHasBeenSet = true; m_serviceRole.assign(value); }
327 inline RunJobFlowRequest& WithServiceRole(const Aws::String& value) { SetServiceRole(value); return *this;}
328 inline RunJobFlowRequest& WithServiceRole(Aws::String&& value) { SetServiceRole(std::move(value)); return *this;}
329 inline RunJobFlowRequest& WithServiceRole(const char* value) { SetServiceRole(value); return *this;}
331
333
337 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
338 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
339 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
340 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
341 inline RunJobFlowRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
342 inline RunJobFlowRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
343 inline RunJobFlowRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
344 inline RunJobFlowRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
346
348
351 inline const Aws::String& GetSecurityConfiguration() const{ return m_securityConfiguration; }
352 inline bool SecurityConfigurationHasBeenSet() const { return m_securityConfigurationHasBeenSet; }
353 inline void SetSecurityConfiguration(const Aws::String& value) { m_securityConfigurationHasBeenSet = true; m_securityConfiguration = value; }
354 inline void SetSecurityConfiguration(Aws::String&& value) { m_securityConfigurationHasBeenSet = true; m_securityConfiguration = std::move(value); }
355 inline void SetSecurityConfiguration(const char* value) { m_securityConfigurationHasBeenSet = true; m_securityConfiguration.assign(value); }
357 inline RunJobFlowRequest& WithSecurityConfiguration(Aws::String&& value) { SetSecurityConfiguration(std::move(value)); return *this;}
358 inline RunJobFlowRequest& WithSecurityConfiguration(const char* value) { SetSecurityConfiguration(value); return *this;}
360
362
368 inline const Aws::String& GetAutoScalingRole() const{ return m_autoScalingRole; }
369 inline bool AutoScalingRoleHasBeenSet() const { return m_autoScalingRoleHasBeenSet; }
370 inline void SetAutoScalingRole(const Aws::String& value) { m_autoScalingRoleHasBeenSet = true; m_autoScalingRole = value; }
371 inline void SetAutoScalingRole(Aws::String&& value) { m_autoScalingRoleHasBeenSet = true; m_autoScalingRole = std::move(value); }
372 inline void SetAutoScalingRole(const char* value) { m_autoScalingRoleHasBeenSet = true; m_autoScalingRole.assign(value); }
373 inline RunJobFlowRequest& WithAutoScalingRole(const Aws::String& value) { SetAutoScalingRole(value); return *this;}
374 inline RunJobFlowRequest& WithAutoScalingRole(Aws::String&& value) { SetAutoScalingRole(std::move(value)); return *this;}
375 inline RunJobFlowRequest& WithAutoScalingRole(const char* value) { SetAutoScalingRole(value); return *this;}
377
379
394 inline const ScaleDownBehavior& GetScaleDownBehavior() const{ return m_scaleDownBehavior; }
395 inline bool ScaleDownBehaviorHasBeenSet() const { return m_scaleDownBehaviorHasBeenSet; }
396 inline void SetScaleDownBehavior(const ScaleDownBehavior& value) { m_scaleDownBehaviorHasBeenSet = true; m_scaleDownBehavior = value; }
397 inline void SetScaleDownBehavior(ScaleDownBehavior&& value) { m_scaleDownBehaviorHasBeenSet = true; m_scaleDownBehavior = std::move(value); }
399 inline RunJobFlowRequest& WithScaleDownBehavior(ScaleDownBehavior&& value) { SetScaleDownBehavior(std::move(value)); return *this;}
401
403
419 inline const Aws::String& GetCustomAmiId() const{ return m_customAmiId; }
420 inline bool CustomAmiIdHasBeenSet() const { return m_customAmiIdHasBeenSet; }
421 inline void SetCustomAmiId(const Aws::String& value) { m_customAmiIdHasBeenSet = true; m_customAmiId = value; }
422 inline void SetCustomAmiId(Aws::String&& value) { m_customAmiIdHasBeenSet = true; m_customAmiId = std::move(value); }
423 inline void SetCustomAmiId(const char* value) { m_customAmiIdHasBeenSet = true; m_customAmiId.assign(value); }
424 inline RunJobFlowRequest& WithCustomAmiId(const Aws::String& value) { SetCustomAmiId(value); return *this;}
425 inline RunJobFlowRequest& WithCustomAmiId(Aws::String&& value) { SetCustomAmiId(std::move(value)); return *this;}
426 inline RunJobFlowRequest& WithCustomAmiId(const char* value) { SetCustomAmiId(value); return *this;}
428
430
435 inline int GetEbsRootVolumeSize() const{ return m_ebsRootVolumeSize; }
436 inline bool EbsRootVolumeSizeHasBeenSet() const { return m_ebsRootVolumeSizeHasBeenSet; }
437 inline void SetEbsRootVolumeSize(int value) { m_ebsRootVolumeSizeHasBeenSet = true; m_ebsRootVolumeSize = value; }
438 inline RunJobFlowRequest& WithEbsRootVolumeSize(int value) { SetEbsRootVolumeSize(value); return *this;}
440
442
449 inline const RepoUpgradeOnBoot& GetRepoUpgradeOnBoot() const{ return m_repoUpgradeOnBoot; }
450 inline bool RepoUpgradeOnBootHasBeenSet() const { return m_repoUpgradeOnBootHasBeenSet; }
451 inline void SetRepoUpgradeOnBoot(const RepoUpgradeOnBoot& value) { m_repoUpgradeOnBootHasBeenSet = true; m_repoUpgradeOnBoot = value; }
452 inline void SetRepoUpgradeOnBoot(RepoUpgradeOnBoot&& value) { m_repoUpgradeOnBootHasBeenSet = true; m_repoUpgradeOnBoot = std::move(value); }
454 inline RunJobFlowRequest& WithRepoUpgradeOnBoot(RepoUpgradeOnBoot&& value) { SetRepoUpgradeOnBoot(std::move(value)); return *this;}
456
458
464 inline const KerberosAttributes& GetKerberosAttributes() const{ return m_kerberosAttributes; }
465 inline bool KerberosAttributesHasBeenSet() const { return m_kerberosAttributesHasBeenSet; }
466 inline void SetKerberosAttributes(const KerberosAttributes& value) { m_kerberosAttributesHasBeenSet = true; m_kerberosAttributes = value; }
467 inline void SetKerberosAttributes(KerberosAttributes&& value) { m_kerberosAttributesHasBeenSet = true; m_kerberosAttributes = std::move(value); }
469 inline RunJobFlowRequest& WithKerberosAttributes(KerberosAttributes&& value) { SetKerberosAttributes(std::move(value)); return *this;}
471
473
477 inline int GetStepConcurrencyLevel() const{ return m_stepConcurrencyLevel; }
478 inline bool StepConcurrencyLevelHasBeenSet() const { return m_stepConcurrencyLevelHasBeenSet; }
479 inline void SetStepConcurrencyLevel(int value) { m_stepConcurrencyLevelHasBeenSet = true; m_stepConcurrencyLevel = value; }
480 inline RunJobFlowRequest& WithStepConcurrencyLevel(int value) { SetStepConcurrencyLevel(value); return *this;}
482
484
487 inline const ManagedScalingPolicy& GetManagedScalingPolicy() const{ return m_managedScalingPolicy; }
488 inline bool ManagedScalingPolicyHasBeenSet() const { return m_managedScalingPolicyHasBeenSet; }
489 inline void SetManagedScalingPolicy(const ManagedScalingPolicy& value) { m_managedScalingPolicyHasBeenSet = true; m_managedScalingPolicy = value; }
490 inline void SetManagedScalingPolicy(ManagedScalingPolicy&& value) { m_managedScalingPolicyHasBeenSet = true; m_managedScalingPolicy = std::move(value); }
494
496
499 inline const Aws::Vector<PlacementGroupConfig>& GetPlacementGroupConfigs() const{ return m_placementGroupConfigs; }
500 inline bool PlacementGroupConfigsHasBeenSet() const { return m_placementGroupConfigsHasBeenSet; }
501 inline void SetPlacementGroupConfigs(const Aws::Vector<PlacementGroupConfig>& value) { m_placementGroupConfigsHasBeenSet = true; m_placementGroupConfigs = value; }
502 inline void SetPlacementGroupConfigs(Aws::Vector<PlacementGroupConfig>&& value) { m_placementGroupConfigsHasBeenSet = true; m_placementGroupConfigs = std::move(value); }
505 inline RunJobFlowRequest& AddPlacementGroupConfigs(const PlacementGroupConfig& value) { m_placementGroupConfigsHasBeenSet = true; m_placementGroupConfigs.push_back(value); return *this; }
506 inline RunJobFlowRequest& AddPlacementGroupConfigs(PlacementGroupConfig&& value) { m_placementGroupConfigsHasBeenSet = true; m_placementGroupConfigs.push_back(std::move(value)); return *this; }
508
510
511 inline const AutoTerminationPolicy& GetAutoTerminationPolicy() const{ return m_autoTerminationPolicy; }
512 inline bool AutoTerminationPolicyHasBeenSet() const { return m_autoTerminationPolicyHasBeenSet; }
513 inline void SetAutoTerminationPolicy(const AutoTerminationPolicy& value) { m_autoTerminationPolicyHasBeenSet = true; m_autoTerminationPolicy = value; }
514 inline void SetAutoTerminationPolicy(AutoTerminationPolicy&& value) { m_autoTerminationPolicyHasBeenSet = true; m_autoTerminationPolicy = std::move(value); }
518
520
525 inline const Aws::String& GetOSReleaseLabel() const{ return m_oSReleaseLabel; }
526 inline bool OSReleaseLabelHasBeenSet() const { return m_oSReleaseLabelHasBeenSet; }
527 inline void SetOSReleaseLabel(const Aws::String& value) { m_oSReleaseLabelHasBeenSet = true; m_oSReleaseLabel = value; }
528 inline void SetOSReleaseLabel(Aws::String&& value) { m_oSReleaseLabelHasBeenSet = true; m_oSReleaseLabel = std::move(value); }
529 inline void SetOSReleaseLabel(const char* value) { m_oSReleaseLabelHasBeenSet = true; m_oSReleaseLabel.assign(value); }
530 inline RunJobFlowRequest& WithOSReleaseLabel(const Aws::String& value) { SetOSReleaseLabel(value); return *this;}
531 inline RunJobFlowRequest& WithOSReleaseLabel(Aws::String&& value) { SetOSReleaseLabel(std::move(value)); return *this;}
532 inline RunJobFlowRequest& WithOSReleaseLabel(const char* value) { SetOSReleaseLabel(value); return *this;}
534
536
541 inline int GetEbsRootVolumeIops() const{ return m_ebsRootVolumeIops; }
542 inline bool EbsRootVolumeIopsHasBeenSet() const { return m_ebsRootVolumeIopsHasBeenSet; }
543 inline void SetEbsRootVolumeIops(int value) { m_ebsRootVolumeIopsHasBeenSet = true; m_ebsRootVolumeIops = value; }
544 inline RunJobFlowRequest& WithEbsRootVolumeIops(int value) { SetEbsRootVolumeIops(value); return *this;}
546
548
553 inline int GetEbsRootVolumeThroughput() const{ return m_ebsRootVolumeThroughput; }
554 inline bool EbsRootVolumeThroughputHasBeenSet() const { return m_ebsRootVolumeThroughputHasBeenSet; }
555 inline void SetEbsRootVolumeThroughput(int value) { m_ebsRootVolumeThroughputHasBeenSet = true; m_ebsRootVolumeThroughput = value; }
558 private:
559
560 Aws::String m_name;
561 bool m_nameHasBeenSet = false;
562
563 Aws::String m_logUri;
564 bool m_logUriHasBeenSet = false;
565
566 Aws::String m_logEncryptionKmsKeyId;
567 bool m_logEncryptionKmsKeyIdHasBeenSet = false;
568
569 Aws::String m_additionalInfo;
570 bool m_additionalInfoHasBeenSet = false;
571
572 Aws::String m_amiVersion;
573 bool m_amiVersionHasBeenSet = false;
574
575 Aws::String m_releaseLabel;
576 bool m_releaseLabelHasBeenSet = false;
577
578 JobFlowInstancesConfig m_instances;
579 bool m_instancesHasBeenSet = false;
580
582 bool m_stepsHasBeenSet = false;
583
584 Aws::Vector<BootstrapActionConfig> m_bootstrapActions;
585 bool m_bootstrapActionsHasBeenSet = false;
586
587 Aws::Vector<Aws::String> m_supportedProducts;
588 bool m_supportedProductsHasBeenSet = false;
589
590 Aws::Vector<SupportedProductConfig> m_newSupportedProducts;
591 bool m_newSupportedProductsHasBeenSet = false;
592
593 Aws::Vector<Application> m_applications;
594 bool m_applicationsHasBeenSet = false;
595
596 Aws::Vector<Configuration> m_configurations;
597 bool m_configurationsHasBeenSet = false;
598
599 bool m_visibleToAllUsers;
600 bool m_visibleToAllUsersHasBeenSet = false;
601
602 Aws::String m_jobFlowRole;
603 bool m_jobFlowRoleHasBeenSet = false;
604
605 Aws::String m_serviceRole;
606 bool m_serviceRoleHasBeenSet = false;
607
608 Aws::Vector<Tag> m_tags;
609 bool m_tagsHasBeenSet = false;
610
611 Aws::String m_securityConfiguration;
612 bool m_securityConfigurationHasBeenSet = false;
613
614 Aws::String m_autoScalingRole;
615 bool m_autoScalingRoleHasBeenSet = false;
616
617 ScaleDownBehavior m_scaleDownBehavior;
618 bool m_scaleDownBehaviorHasBeenSet = false;
619
620 Aws::String m_customAmiId;
621 bool m_customAmiIdHasBeenSet = false;
622
623 int m_ebsRootVolumeSize;
624 bool m_ebsRootVolumeSizeHasBeenSet = false;
625
626 RepoUpgradeOnBoot m_repoUpgradeOnBoot;
627 bool m_repoUpgradeOnBootHasBeenSet = false;
628
629 KerberosAttributes m_kerberosAttributes;
630 bool m_kerberosAttributesHasBeenSet = false;
631
632 int m_stepConcurrencyLevel;
633 bool m_stepConcurrencyLevelHasBeenSet = false;
634
635 ManagedScalingPolicy m_managedScalingPolicy;
636 bool m_managedScalingPolicyHasBeenSet = false;
637
638 Aws::Vector<PlacementGroupConfig> m_placementGroupConfigs;
639 bool m_placementGroupConfigsHasBeenSet = false;
640
641 AutoTerminationPolicy m_autoTerminationPolicy;
642 bool m_autoTerminationPolicyHasBeenSet = false;
643
644 Aws::String m_oSReleaseLabel;
645 bool m_oSReleaseLabelHasBeenSet = false;
646
647 int m_ebsRootVolumeIops;
648 bool m_ebsRootVolumeIopsHasBeenSet = false;
649
650 int m_ebsRootVolumeThroughput;
651 bool m_ebsRootVolumeThroughputHasBeenSet = false;
652 };
653
654} // namespace Model
655} // namespace EMR
656} // namespace Aws
void SetLogEncryptionKmsKeyId(const Aws::String &value)
const Aws::Vector< Application > & GetApplications() const
RunJobFlowRequest & WithRepoUpgradeOnBoot(const RepoUpgradeOnBoot &value)
RunJobFlowRequest & AddTags(const Tag &value)
void SetName(const Aws::String &value)
RunJobFlowRequest & WithStepConcurrencyLevel(int value)
RunJobFlowRequest & WithSteps(Aws::Vector< StepConfig > &&value)
const Aws::String & GetReleaseLabel() const
RunJobFlowRequest & WithServiceRole(Aws::String &&value)
void SetAdditionalInfo(const Aws::String &value)
void SetCustomAmiId(Aws::String &&value)
RunJobFlowRequest & WithOSReleaseLabel(Aws::String &&value)
const Aws::Vector< SupportedProductConfig > & GetNewSupportedProducts() const
const Aws::Vector< StepConfig > & GetSteps() const
const Aws::Vector< Tag > & GetTags() const
void SetSteps(const Aws::Vector< StepConfig > &value)
RunJobFlowRequest & WithAutoScalingRole(const Aws::String &value)
void SetManagedScalingPolicy(ManagedScalingPolicy &&value)
RunJobFlowRequest & AddPlacementGroupConfigs(const PlacementGroupConfig &value)
RunJobFlowRequest & WithServiceRole(const Aws::String &value)
void SetOSReleaseLabel(const char *value)
RunJobFlowRequest & AddApplications(Application &&value)
void SetSupportedProducts(Aws::Vector< Aws::String > &&value)
void SetAutoTerminationPolicy(const AutoTerminationPolicy &value)
RunJobFlowRequest & WithConfigurations(const Aws::Vector< Configuration > &value)
RunJobFlowRequest & WithAmiVersion(Aws::String &&value)
void SetSupportedProducts(const Aws::Vector< Aws::String > &value)
RunJobFlowRequest & WithLogEncryptionKmsKeyId(Aws::String &&value)
RunJobFlowRequest & AddBootstrapActions(BootstrapActionConfig &&value)
virtual const char * GetServiceRequestName() const override
RunJobFlowRequest & WithSecurityConfiguration(const Aws::String &value)
void SetKerberosAttributes(KerberosAttributes &&value)
void SetKerberosAttributes(const KerberosAttributes &value)
const JobFlowInstancesConfig & GetInstances() const
RunJobFlowRequest & WithBootstrapActions(Aws::Vector< BootstrapActionConfig > &&value)
RunJobFlowRequest & WithServiceRole(const char *value)
RunJobFlowRequest & WithBootstrapActions(const Aws::Vector< BootstrapActionConfig > &value)
RunJobFlowRequest & WithAdditionalInfo(const Aws::String &value)
const Aws::Vector< PlacementGroupConfig > & GetPlacementGroupConfigs() const
RunJobFlowRequest & WithTags(const Aws::Vector< Tag > &value)
RunJobFlowRequest & AddPlacementGroupConfigs(PlacementGroupConfig &&value)
void SetAmiVersion(const Aws::String &value)
void SetServiceRole(const char *value)
RunJobFlowRequest & WithSupportedProducts(Aws::Vector< Aws::String > &&value)
RunJobFlowRequest & WithAutoScalingRole(Aws::String &&value)
void SetManagedScalingPolicy(const ManagedScalingPolicy &value)
RunJobFlowRequest & AddApplications(const Application &value)
RunJobFlowRequest & AddNewSupportedProducts(const SupportedProductConfig &value)
RunJobFlowRequest & WithOSReleaseLabel(const Aws::String &value)
const Aws::String & GetJobFlowRole() const
void SetPlacementGroupConfigs(Aws::Vector< PlacementGroupConfig > &&value)
RunJobFlowRequest & WithJobFlowRole(Aws::String &&value)
void SetScaleDownBehavior(ScaleDownBehavior &&value)
const Aws::String & GetLogUri() const
RunJobFlowRequest & WithConfigurations(Aws::Vector< Configuration > &&value)
RunJobFlowRequest & WithCustomAmiId(const Aws::String &value)
const Aws::String & GetServiceRole() const
void SetRepoUpgradeOnBoot(const RepoUpgradeOnBoot &value)
RunJobFlowRequest & WithManagedScalingPolicy(const ManagedScalingPolicy &value)
void SetOSReleaseLabel(const Aws::String &value)
RunJobFlowRequest & WithLogEncryptionKmsKeyId(const Aws::String &value)
void SetAutoScalingRole(const char *value)
RunJobFlowRequest & WithAutoScalingRole(const char *value)
RunJobFlowRequest & AddConfigurations(Configuration &&value)
void SetInstances(JobFlowInstancesConfig &&value)
RunJobFlowRequest & WithOSReleaseLabel(const char *value)
const ScaleDownBehavior & GetScaleDownBehavior() const
RunJobFlowRequest & WithAdditionalInfo(const char *value)
RunJobFlowRequest & WithReleaseLabel(const char *value)
void SetBootstrapActions(Aws::Vector< BootstrapActionConfig > &&value)
void SetOSReleaseLabel(Aws::String &&value)
void SetApplications(const Aws::Vector< Application > &value)
RunJobFlowRequest & WithAmiVersion(const char *value)
void SetApplications(Aws::Vector< Application > &&value)
RunJobFlowRequest & WithLogEncryptionKmsKeyId(const char *value)
void SetLogUri(Aws::String &&value)
RunJobFlowRequest & WithAutoTerminationPolicy(const AutoTerminationPolicy &value)
RunJobFlowRequest & WithInstances(JobFlowInstancesConfig &&value)
void SetConfigurations(Aws::Vector< Configuration > &&value)
RunJobFlowRequest & WithName(const Aws::String &value)
void SetJobFlowRole(const Aws::String &value)
RunJobFlowRequest & WithCustomAmiId(Aws::String &&value)
RunJobFlowRequest & WithJobFlowRole(const Aws::String &value)
RunJobFlowRequest & WithApplications(const Aws::Vector< Application > &value)
const Aws::Vector< BootstrapActionConfig > & GetBootstrapActions() const
const Aws::Vector< Aws::String > & GetSupportedProducts() const
RunJobFlowRequest & WithSteps(const Aws::Vector< StepConfig > &value)
const Aws::String & GetName() const
RunJobFlowRequest & WithAdditionalInfo(Aws::String &&value)
void SetSecurityConfiguration(Aws::String &&value)
RunJobFlowRequest & AddSupportedProducts(Aws::String &&value)
AWS_EMR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetReleaseLabel(Aws::String &&value)
void SetSteps(Aws::Vector< StepConfig > &&value)
const RepoUpgradeOnBoot & GetRepoUpgradeOnBoot() const
RunJobFlowRequest & WithEbsRootVolumeSize(int value)
void SetName(Aws::String &&value)
RunJobFlowRequest & WithScaleDownBehavior(const ScaleDownBehavior &value)
RunJobFlowRequest & WithJobFlowRole(const char *value)
RunJobFlowRequest & WithEbsRootVolumeIops(int value)
RunJobFlowRequest & WithNewSupportedProducts(Aws::Vector< SupportedProductConfig > &&value)
RunJobFlowRequest & WithSecurityConfiguration(const char *value)
RunJobFlowRequest & AddConfigurations(const Configuration &value)
RunJobFlowRequest & WithSupportedProducts(const Aws::Vector< Aws::String > &value)
void SetAmiVersion(const char *value)
const KerberosAttributes & GetKerberosAttributes() const
void SetAmiVersion(Aws::String &&value)
RunJobFlowRequest & WithLogUri(Aws::String &&value)
RunJobFlowRequest & AddSteps(StepConfig &&value)
void SetScaleDownBehavior(const ScaleDownBehavior &value)
void SetTags(Aws::Vector< Tag > &&value)
RunJobFlowRequest & AddBootstrapActions(const BootstrapActionConfig &value)
void SetNewSupportedProducts(const Aws::Vector< SupportedProductConfig > &value)
void SetAdditionalInfo(const char *value)
RunJobFlowRequest & AddSupportedProducts(const char *value)
void SetReleaseLabel(const Aws::String &value)
const ManagedScalingPolicy & GetManagedScalingPolicy() const
RunJobFlowRequest & WithLogUri(const Aws::String &value)
RunJobFlowRequest & WithRepoUpgradeOnBoot(RepoUpgradeOnBoot &&value)
RunJobFlowRequest & WithApplications(Aws::Vector< Application > &&value)
RunJobFlowRequest & WithReleaseLabel(const Aws::String &value)
RunJobFlowRequest & AddNewSupportedProducts(SupportedProductConfig &&value)
const Aws::String & GetAmiVersion() const
RunJobFlowRequest & WithKerberosAttributes(KerberosAttributes &&value)
void SetBootstrapActions(const Aws::Vector< BootstrapActionConfig > &value)
void SetCustomAmiId(const Aws::String &value)
void SetNewSupportedProducts(Aws::Vector< SupportedProductConfig > &&value)
const Aws::String & GetAdditionalInfo() const
void SetConfigurations(const Aws::Vector< Configuration > &value)
void SetAutoScalingRole(Aws::String &&value)
void SetLogUri(const Aws::String &value)
RunJobFlowRequest & AddSteps(const StepConfig &value)
RunJobFlowRequest & WithAmiVersion(const Aws::String &value)
void SetRepoUpgradeOnBoot(RepoUpgradeOnBoot &&value)
RunJobFlowRequest & WithTags(Aws::Vector< Tag > &&value)
const Aws::Vector< Configuration > & GetConfigurations() const
RunJobFlowRequest & WithReleaseLabel(Aws::String &&value)
void SetTags(const Aws::Vector< Tag > &value)
void SetCustomAmiId(const char *value)
const Aws::String & GetSecurityConfiguration() const
RunJobFlowRequest & WithManagedScalingPolicy(ManagedScalingPolicy &&value)
RunJobFlowRequest & WithEbsRootVolumeThroughput(int value)
RunJobFlowRequest & WithScaleDownBehavior(ScaleDownBehavior &&value)
void SetPlacementGroupConfigs(const Aws::Vector< PlacementGroupConfig > &value)
RunJobFlowRequest & AddSupportedProducts(const Aws::String &value)
void SetInstances(const JobFlowInstancesConfig &value)
const Aws::String & GetCustomAmiId() const
RunJobFlowRequest & WithPlacementGroupConfigs(const Aws::Vector< PlacementGroupConfig > &value)
void SetAdditionalInfo(Aws::String &&value)
const AutoTerminationPolicy & GetAutoTerminationPolicy() const
void SetSecurityConfiguration(const char *value)
RunJobFlowRequest & AddTags(Tag &&value)
RunJobFlowRequest & WithPlacementGroupConfigs(Aws::Vector< PlacementGroupConfig > &&value)
void SetServiceRole(Aws::String &&value)
void SetJobFlowRole(Aws::String &&value)
RunJobFlowRequest & WithAutoTerminationPolicy(AutoTerminationPolicy &&value)
RunJobFlowRequest & WithInstances(const JobFlowInstancesConfig &value)
RunJobFlowRequest & WithCustomAmiId(const char *value)
RunJobFlowRequest & WithName(const char *value)
const Aws::String & GetOSReleaseLabel() const
void SetServiceRole(const Aws::String &value)
void SetSecurityConfiguration(const Aws::String &value)
RunJobFlowRequest & WithKerberosAttributes(const KerberosAttributes &value)
RunJobFlowRequest & WithName(Aws::String &&value)
void SetAutoTerminationPolicy(AutoTerminationPolicy &&value)
const Aws::String & GetLogEncryptionKmsKeyId() const
void SetLogEncryptionKmsKeyId(Aws::String &&value)
RunJobFlowRequest & WithVisibleToAllUsers(bool value)
RunJobFlowRequest & WithLogUri(const char *value)
RunJobFlowRequest & WithSecurityConfiguration(Aws::String &&value)
AWS_EMR_API Aws::String SerializePayload() const override
RunJobFlowRequest & WithNewSupportedProducts(const Aws::Vector< SupportedProductConfig > &value)
const Aws::String & GetAutoScalingRole() const
void SetReleaseLabel(const char *value)
void SetAutoScalingRole(const Aws::String &value)
void SetLogEncryptionKmsKeyId(const char *value)
void SetJobFlowRole(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector