AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename NameT = Aws::String>
61 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
62 template<typename NameT = Aws::String>
63 RunJobFlowRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
65
67
71 inline const Aws::String& GetLogUri() const { return m_logUri; }
72 inline bool LogUriHasBeenSet() const { return m_logUriHasBeenSet; }
73 template<typename LogUriT = Aws::String>
74 void SetLogUri(LogUriT&& value) { m_logUriHasBeenSet = true; m_logUri = std::forward<LogUriT>(value); }
75 template<typename LogUriT = Aws::String>
76 RunJobFlowRequest& WithLogUri(LogUriT&& value) { SetLogUri(std::forward<LogUriT>(value)); return *this;}
78
80
85 inline const Aws::String& GetLogEncryptionKmsKeyId() const { return m_logEncryptionKmsKeyId; }
86 inline bool LogEncryptionKmsKeyIdHasBeenSet() const { return m_logEncryptionKmsKeyIdHasBeenSet; }
87 template<typename LogEncryptionKmsKeyIdT = Aws::String>
88 void SetLogEncryptionKmsKeyId(LogEncryptionKmsKeyIdT&& value) { m_logEncryptionKmsKeyIdHasBeenSet = true; m_logEncryptionKmsKeyId = std::forward<LogEncryptionKmsKeyIdT>(value); }
89 template<typename LogEncryptionKmsKeyIdT = Aws::String>
90 RunJobFlowRequest& WithLogEncryptionKmsKeyId(LogEncryptionKmsKeyIdT&& value) { SetLogEncryptionKmsKeyId(std::forward<LogEncryptionKmsKeyIdT>(value)); return *this;}
92
94
97 inline const Aws::String& GetAdditionalInfo() const { return m_additionalInfo; }
98 inline bool AdditionalInfoHasBeenSet() const { return m_additionalInfoHasBeenSet; }
99 template<typename AdditionalInfoT = Aws::String>
100 void SetAdditionalInfo(AdditionalInfoT&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo = std::forward<AdditionalInfoT>(value); }
101 template<typename AdditionalInfoT = Aws::String>
102 RunJobFlowRequest& WithAdditionalInfo(AdditionalInfoT&& value) { SetAdditionalInfo(std::forward<AdditionalInfoT>(value)); return *this;}
104
106
111 inline const Aws::String& GetAmiVersion() const { return m_amiVersion; }
112 inline bool AmiVersionHasBeenSet() const { return m_amiVersionHasBeenSet; }
113 template<typename AmiVersionT = Aws::String>
114 void SetAmiVersion(AmiVersionT&& value) { m_amiVersionHasBeenSet = true; m_amiVersion = std::forward<AmiVersionT>(value); }
115 template<typename AmiVersionT = Aws::String>
116 RunJobFlowRequest& WithAmiVersion(AmiVersionT&& value) { SetAmiVersion(std::forward<AmiVersionT>(value)); return *this;}
118
120
130 inline const Aws::String& GetReleaseLabel() const { return m_releaseLabel; }
131 inline bool ReleaseLabelHasBeenSet() const { return m_releaseLabelHasBeenSet; }
132 template<typename ReleaseLabelT = Aws::String>
133 void SetReleaseLabel(ReleaseLabelT&& value) { m_releaseLabelHasBeenSet = true; m_releaseLabel = std::forward<ReleaseLabelT>(value); }
134 template<typename ReleaseLabelT = Aws::String>
135 RunJobFlowRequest& WithReleaseLabel(ReleaseLabelT&& value) { SetReleaseLabel(std::forward<ReleaseLabelT>(value)); return *this;}
137
139
142 inline const JobFlowInstancesConfig& GetInstances() const { return m_instances; }
143 inline bool InstancesHasBeenSet() const { return m_instancesHasBeenSet; }
144 template<typename InstancesT = JobFlowInstancesConfig>
145 void SetInstances(InstancesT&& value) { m_instancesHasBeenSet = true; m_instances = std::forward<InstancesT>(value); }
146 template<typename InstancesT = JobFlowInstancesConfig>
147 RunJobFlowRequest& WithInstances(InstancesT&& value) { SetInstances(std::forward<InstancesT>(value)); return *this;}
149
151
154 inline const Aws::Vector<StepConfig>& GetSteps() const { return m_steps; }
155 inline bool StepsHasBeenSet() const { return m_stepsHasBeenSet; }
156 template<typename StepsT = Aws::Vector<StepConfig>>
157 void SetSteps(StepsT&& value) { m_stepsHasBeenSet = true; m_steps = std::forward<StepsT>(value); }
158 template<typename StepsT = Aws::Vector<StepConfig>>
159 RunJobFlowRequest& WithSteps(StepsT&& value) { SetSteps(std::forward<StepsT>(value)); return *this;}
160 template<typename StepsT = StepConfig>
161 RunJobFlowRequest& AddSteps(StepsT&& value) { m_stepsHasBeenSet = true; m_steps.emplace_back(std::forward<StepsT>(value)); return *this; }
163
165
169 inline const Aws::Vector<BootstrapActionConfig>& GetBootstrapActions() const { return m_bootstrapActions; }
170 inline bool BootstrapActionsHasBeenSet() const { return m_bootstrapActionsHasBeenSet; }
171 template<typename BootstrapActionsT = Aws::Vector<BootstrapActionConfig>>
172 void SetBootstrapActions(BootstrapActionsT&& value) { m_bootstrapActionsHasBeenSet = true; m_bootstrapActions = std::forward<BootstrapActionsT>(value); }
173 template<typename BootstrapActionsT = Aws::Vector<BootstrapActionConfig>>
174 RunJobFlowRequest& WithBootstrapActions(BootstrapActionsT&& value) { SetBootstrapActions(std::forward<BootstrapActionsT>(value)); return *this;}
175 template<typename BootstrapActionsT = BootstrapActionConfig>
176 RunJobFlowRequest& AddBootstrapActions(BootstrapActionsT&& value) { m_bootstrapActionsHasBeenSet = true; m_bootstrapActions.emplace_back(std::forward<BootstrapActionsT>(value)); return *this; }
178
180
189 inline const Aws::Vector<Aws::String>& GetSupportedProducts() const { return m_supportedProducts; }
190 inline bool SupportedProductsHasBeenSet() const { return m_supportedProductsHasBeenSet; }
191 template<typename SupportedProductsT = Aws::Vector<Aws::String>>
192 void SetSupportedProducts(SupportedProductsT&& value) { m_supportedProductsHasBeenSet = true; m_supportedProducts = std::forward<SupportedProductsT>(value); }
193 template<typename SupportedProductsT = Aws::Vector<Aws::String>>
194 RunJobFlowRequest& WithSupportedProducts(SupportedProductsT&& value) { SetSupportedProducts(std::forward<SupportedProductsT>(value)); return *this;}
195 template<typename SupportedProductsT = Aws::String>
196 RunJobFlowRequest& AddSupportedProducts(SupportedProductsT&& value) { m_supportedProductsHasBeenSet = true; m_supportedProducts.emplace_back(std::forward<SupportedProductsT>(value)); return *this; }
198
200
219 inline const Aws::Vector<SupportedProductConfig>& GetNewSupportedProducts() const { return m_newSupportedProducts; }
220 inline bool NewSupportedProductsHasBeenSet() const { return m_newSupportedProductsHasBeenSet; }
221 template<typename NewSupportedProductsT = Aws::Vector<SupportedProductConfig>>
222 void SetNewSupportedProducts(NewSupportedProductsT&& value) { m_newSupportedProductsHasBeenSet = true; m_newSupportedProducts = std::forward<NewSupportedProductsT>(value); }
223 template<typename NewSupportedProductsT = Aws::Vector<SupportedProductConfig>>
224 RunJobFlowRequest& WithNewSupportedProducts(NewSupportedProductsT&& value) { SetNewSupportedProducts(std::forward<NewSupportedProductsT>(value)); return *this;}
225 template<typename NewSupportedProductsT = SupportedProductConfig>
226 RunJobFlowRequest& AddNewSupportedProducts(NewSupportedProductsT&& value) { m_newSupportedProductsHasBeenSet = true; m_newSupportedProducts.emplace_back(std::forward<NewSupportedProductsT>(value)); return *this; }
228
230
237 inline const Aws::Vector<Application>& GetApplications() const { return m_applications; }
238 inline bool ApplicationsHasBeenSet() const { return m_applicationsHasBeenSet; }
239 template<typename ApplicationsT = Aws::Vector<Application>>
240 void SetApplications(ApplicationsT&& value) { m_applicationsHasBeenSet = true; m_applications = std::forward<ApplicationsT>(value); }
241 template<typename ApplicationsT = Aws::Vector<Application>>
242 RunJobFlowRequest& WithApplications(ApplicationsT&& value) { SetApplications(std::forward<ApplicationsT>(value)); return *this;}
243 template<typename ApplicationsT = Application>
244 RunJobFlowRequest& AddApplications(ApplicationsT&& value) { m_applicationsHasBeenSet = true; m_applications.emplace_back(std::forward<ApplicationsT>(value)); return *this; }
246
248
252 inline const Aws::Vector<Configuration>& GetConfigurations() const { return m_configurations; }
253 inline bool ConfigurationsHasBeenSet() const { return m_configurationsHasBeenSet; }
254 template<typename ConfigurationsT = Aws::Vector<Configuration>>
255 void SetConfigurations(ConfigurationsT&& value) { m_configurationsHasBeenSet = true; m_configurations = std::forward<ConfigurationsT>(value); }
256 template<typename ConfigurationsT = Aws::Vector<Configuration>>
257 RunJobFlowRequest& WithConfigurations(ConfigurationsT&& value) { SetConfigurations(std::forward<ConfigurationsT>(value)); return *this;}
258 template<typename ConfigurationsT = Configuration>
259 RunJobFlowRequest& AddConfigurations(ConfigurationsT&& value) { m_configurationsHasBeenSet = true; m_configurations.emplace_back(std::forward<ConfigurationsT>(value)); return *this; }
261
263
280 inline bool GetVisibleToAllUsers() const { return m_visibleToAllUsers; }
281 inline bool VisibleToAllUsersHasBeenSet() const { return m_visibleToAllUsersHasBeenSet; }
282 inline void SetVisibleToAllUsers(bool value) { m_visibleToAllUsersHasBeenSet = true; m_visibleToAllUsers = value; }
283 inline RunJobFlowRequest& WithVisibleToAllUsers(bool value) { SetVisibleToAllUsers(value); return *this;}
285
287
293 inline const Aws::String& GetJobFlowRole() const { return m_jobFlowRole; }
294 inline bool JobFlowRoleHasBeenSet() const { return m_jobFlowRoleHasBeenSet; }
295 template<typename JobFlowRoleT = Aws::String>
296 void SetJobFlowRole(JobFlowRoleT&& value) { m_jobFlowRoleHasBeenSet = true; m_jobFlowRole = std::forward<JobFlowRoleT>(value); }
297 template<typename JobFlowRoleT = Aws::String>
298 RunJobFlowRequest& WithJobFlowRole(JobFlowRoleT&& value) { SetJobFlowRole(std::forward<JobFlowRoleT>(value)); return *this;}
300
302
307 inline const Aws::String& GetServiceRole() const { return m_serviceRole; }
308 inline bool ServiceRoleHasBeenSet() const { return m_serviceRoleHasBeenSet; }
309 template<typename ServiceRoleT = Aws::String>
310 void SetServiceRole(ServiceRoleT&& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = std::forward<ServiceRoleT>(value); }
311 template<typename ServiceRoleT = Aws::String>
312 RunJobFlowRequest& WithServiceRole(ServiceRoleT&& value) { SetServiceRole(std::forward<ServiceRoleT>(value)); return *this;}
314
316
320 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
321 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
322 template<typename TagsT = Aws::Vector<Tag>>
323 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
324 template<typename TagsT = Aws::Vector<Tag>>
325 RunJobFlowRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
326 template<typename TagsT = Tag>
327 RunJobFlowRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
329
331
334 inline const Aws::String& GetSecurityConfiguration() const { return m_securityConfiguration; }
335 inline bool SecurityConfigurationHasBeenSet() const { return m_securityConfigurationHasBeenSet; }
336 template<typename SecurityConfigurationT = Aws::String>
337 void SetSecurityConfiguration(SecurityConfigurationT&& value) { m_securityConfigurationHasBeenSet = true; m_securityConfiguration = std::forward<SecurityConfigurationT>(value); }
338 template<typename SecurityConfigurationT = Aws::String>
339 RunJobFlowRequest& WithSecurityConfiguration(SecurityConfigurationT&& value) { SetSecurityConfiguration(std::forward<SecurityConfigurationT>(value)); return *this;}
341
343
349 inline const Aws::String& GetAutoScalingRole() const { return m_autoScalingRole; }
350 inline bool AutoScalingRoleHasBeenSet() const { return m_autoScalingRoleHasBeenSet; }
351 template<typename AutoScalingRoleT = Aws::String>
352 void SetAutoScalingRole(AutoScalingRoleT&& value) { m_autoScalingRoleHasBeenSet = true; m_autoScalingRole = std::forward<AutoScalingRoleT>(value); }
353 template<typename AutoScalingRoleT = Aws::String>
354 RunJobFlowRequest& WithAutoScalingRole(AutoScalingRoleT&& value) { SetAutoScalingRole(std::forward<AutoScalingRoleT>(value)); return *this;}
356
358
373 inline ScaleDownBehavior GetScaleDownBehavior() const { return m_scaleDownBehavior; }
374 inline bool ScaleDownBehaviorHasBeenSet() const { return m_scaleDownBehaviorHasBeenSet; }
375 inline void SetScaleDownBehavior(ScaleDownBehavior value) { m_scaleDownBehaviorHasBeenSet = true; m_scaleDownBehavior = value; }
378
380
396 inline const Aws::String& GetCustomAmiId() const { return m_customAmiId; }
397 inline bool CustomAmiIdHasBeenSet() const { return m_customAmiIdHasBeenSet; }
398 template<typename CustomAmiIdT = Aws::String>
399 void SetCustomAmiId(CustomAmiIdT&& value) { m_customAmiIdHasBeenSet = true; m_customAmiId = std::forward<CustomAmiIdT>(value); }
400 template<typename CustomAmiIdT = Aws::String>
401 RunJobFlowRequest& WithCustomAmiId(CustomAmiIdT&& value) { SetCustomAmiId(std::forward<CustomAmiIdT>(value)); return *this;}
403
405
410 inline int GetEbsRootVolumeSize() const { return m_ebsRootVolumeSize; }
411 inline bool EbsRootVolumeSizeHasBeenSet() const { return m_ebsRootVolumeSizeHasBeenSet; }
412 inline void SetEbsRootVolumeSize(int value) { m_ebsRootVolumeSizeHasBeenSet = true; m_ebsRootVolumeSize = value; }
413 inline RunJobFlowRequest& WithEbsRootVolumeSize(int value) { SetEbsRootVolumeSize(value); return *this;}
415
417
424 inline RepoUpgradeOnBoot GetRepoUpgradeOnBoot() const { return m_repoUpgradeOnBoot; }
425 inline bool RepoUpgradeOnBootHasBeenSet() const { return m_repoUpgradeOnBootHasBeenSet; }
426 inline void SetRepoUpgradeOnBoot(RepoUpgradeOnBoot value) { m_repoUpgradeOnBootHasBeenSet = true; m_repoUpgradeOnBoot = value; }
429
431
437 inline const KerberosAttributes& GetKerberosAttributes() const { return m_kerberosAttributes; }
438 inline bool KerberosAttributesHasBeenSet() const { return m_kerberosAttributesHasBeenSet; }
439 template<typename KerberosAttributesT = KerberosAttributes>
440 void SetKerberosAttributes(KerberosAttributesT&& value) { m_kerberosAttributesHasBeenSet = true; m_kerberosAttributes = std::forward<KerberosAttributesT>(value); }
441 template<typename KerberosAttributesT = KerberosAttributes>
442 RunJobFlowRequest& WithKerberosAttributes(KerberosAttributesT&& value) { SetKerberosAttributes(std::forward<KerberosAttributesT>(value)); return *this;}
444
446
450 inline int GetStepConcurrencyLevel() const { return m_stepConcurrencyLevel; }
451 inline bool StepConcurrencyLevelHasBeenSet() const { return m_stepConcurrencyLevelHasBeenSet; }
452 inline void SetStepConcurrencyLevel(int value) { m_stepConcurrencyLevelHasBeenSet = true; m_stepConcurrencyLevel = value; }
453 inline RunJobFlowRequest& WithStepConcurrencyLevel(int value) { SetStepConcurrencyLevel(value); return *this;}
455
457
460 inline const ManagedScalingPolicy& GetManagedScalingPolicy() const { return m_managedScalingPolicy; }
461 inline bool ManagedScalingPolicyHasBeenSet() const { return m_managedScalingPolicyHasBeenSet; }
462 template<typename ManagedScalingPolicyT = ManagedScalingPolicy>
463 void SetManagedScalingPolicy(ManagedScalingPolicyT&& value) { m_managedScalingPolicyHasBeenSet = true; m_managedScalingPolicy = std::forward<ManagedScalingPolicyT>(value); }
464 template<typename ManagedScalingPolicyT = ManagedScalingPolicy>
465 RunJobFlowRequest& WithManagedScalingPolicy(ManagedScalingPolicyT&& value) { SetManagedScalingPolicy(std::forward<ManagedScalingPolicyT>(value)); return *this;}
467
469
472 inline const Aws::Vector<PlacementGroupConfig>& GetPlacementGroupConfigs() const { return m_placementGroupConfigs; }
473 inline bool PlacementGroupConfigsHasBeenSet() const { return m_placementGroupConfigsHasBeenSet; }
474 template<typename PlacementGroupConfigsT = Aws::Vector<PlacementGroupConfig>>
475 void SetPlacementGroupConfigs(PlacementGroupConfigsT&& value) { m_placementGroupConfigsHasBeenSet = true; m_placementGroupConfigs = std::forward<PlacementGroupConfigsT>(value); }
476 template<typename PlacementGroupConfigsT = Aws::Vector<PlacementGroupConfig>>
477 RunJobFlowRequest& WithPlacementGroupConfigs(PlacementGroupConfigsT&& value) { SetPlacementGroupConfigs(std::forward<PlacementGroupConfigsT>(value)); return *this;}
478 template<typename PlacementGroupConfigsT = PlacementGroupConfig>
479 RunJobFlowRequest& AddPlacementGroupConfigs(PlacementGroupConfigsT&& value) { m_placementGroupConfigsHasBeenSet = true; m_placementGroupConfigs.emplace_back(std::forward<PlacementGroupConfigsT>(value)); return *this; }
481
483
484 inline const AutoTerminationPolicy& GetAutoTerminationPolicy() const { return m_autoTerminationPolicy; }
485 inline bool AutoTerminationPolicyHasBeenSet() const { return m_autoTerminationPolicyHasBeenSet; }
486 template<typename AutoTerminationPolicyT = AutoTerminationPolicy>
487 void SetAutoTerminationPolicy(AutoTerminationPolicyT&& value) { m_autoTerminationPolicyHasBeenSet = true; m_autoTerminationPolicy = std::forward<AutoTerminationPolicyT>(value); }
488 template<typename AutoTerminationPolicyT = AutoTerminationPolicy>
489 RunJobFlowRequest& WithAutoTerminationPolicy(AutoTerminationPolicyT&& value) { SetAutoTerminationPolicy(std::forward<AutoTerminationPolicyT>(value)); return *this;}
491
493
498 inline const Aws::String& GetOSReleaseLabel() const { return m_oSReleaseLabel; }
499 inline bool OSReleaseLabelHasBeenSet() const { return m_oSReleaseLabelHasBeenSet; }
500 template<typename OSReleaseLabelT = Aws::String>
501 void SetOSReleaseLabel(OSReleaseLabelT&& value) { m_oSReleaseLabelHasBeenSet = true; m_oSReleaseLabel = std::forward<OSReleaseLabelT>(value); }
502 template<typename OSReleaseLabelT = Aws::String>
503 RunJobFlowRequest& WithOSReleaseLabel(OSReleaseLabelT&& value) { SetOSReleaseLabel(std::forward<OSReleaseLabelT>(value)); return *this;}
505
507
512 inline int GetEbsRootVolumeIops() const { return m_ebsRootVolumeIops; }
513 inline bool EbsRootVolumeIopsHasBeenSet() const { return m_ebsRootVolumeIopsHasBeenSet; }
514 inline void SetEbsRootVolumeIops(int value) { m_ebsRootVolumeIopsHasBeenSet = true; m_ebsRootVolumeIops = value; }
515 inline RunJobFlowRequest& WithEbsRootVolumeIops(int value) { SetEbsRootVolumeIops(value); return *this;}
517
519
524 inline int GetEbsRootVolumeThroughput() const { return m_ebsRootVolumeThroughput; }
525 inline bool EbsRootVolumeThroughputHasBeenSet() const { return m_ebsRootVolumeThroughputHasBeenSet; }
526 inline void SetEbsRootVolumeThroughput(int value) { m_ebsRootVolumeThroughputHasBeenSet = true; m_ebsRootVolumeThroughput = value; }
529 private:
530
531 Aws::String m_name;
532 bool m_nameHasBeenSet = false;
533
534 Aws::String m_logUri;
535 bool m_logUriHasBeenSet = false;
536
537 Aws::String m_logEncryptionKmsKeyId;
538 bool m_logEncryptionKmsKeyIdHasBeenSet = false;
539
540 Aws::String m_additionalInfo;
541 bool m_additionalInfoHasBeenSet = false;
542
543 Aws::String m_amiVersion;
544 bool m_amiVersionHasBeenSet = false;
545
546 Aws::String m_releaseLabel;
547 bool m_releaseLabelHasBeenSet = false;
548
549 JobFlowInstancesConfig m_instances;
550 bool m_instancesHasBeenSet = false;
551
553 bool m_stepsHasBeenSet = false;
554
555 Aws::Vector<BootstrapActionConfig> m_bootstrapActions;
556 bool m_bootstrapActionsHasBeenSet = false;
557
558 Aws::Vector<Aws::String> m_supportedProducts;
559 bool m_supportedProductsHasBeenSet = false;
560
561 Aws::Vector<SupportedProductConfig> m_newSupportedProducts;
562 bool m_newSupportedProductsHasBeenSet = false;
563
564 Aws::Vector<Application> m_applications;
565 bool m_applicationsHasBeenSet = false;
566
567 Aws::Vector<Configuration> m_configurations;
568 bool m_configurationsHasBeenSet = false;
569
570 bool m_visibleToAllUsers{false};
571 bool m_visibleToAllUsersHasBeenSet = false;
572
573 Aws::String m_jobFlowRole;
574 bool m_jobFlowRoleHasBeenSet = false;
575
576 Aws::String m_serviceRole;
577 bool m_serviceRoleHasBeenSet = false;
578
579 Aws::Vector<Tag> m_tags;
580 bool m_tagsHasBeenSet = false;
581
582 Aws::String m_securityConfiguration;
583 bool m_securityConfigurationHasBeenSet = false;
584
585 Aws::String m_autoScalingRole;
586 bool m_autoScalingRoleHasBeenSet = false;
587
589 bool m_scaleDownBehaviorHasBeenSet = false;
590
591 Aws::String m_customAmiId;
592 bool m_customAmiIdHasBeenSet = false;
593
594 int m_ebsRootVolumeSize{0};
595 bool m_ebsRootVolumeSizeHasBeenSet = false;
596
598 bool m_repoUpgradeOnBootHasBeenSet = false;
599
600 KerberosAttributes m_kerberosAttributes;
601 bool m_kerberosAttributesHasBeenSet = false;
602
603 int m_stepConcurrencyLevel{0};
604 bool m_stepConcurrencyLevelHasBeenSet = false;
605
606 ManagedScalingPolicy m_managedScalingPolicy;
607 bool m_managedScalingPolicyHasBeenSet = false;
608
609 Aws::Vector<PlacementGroupConfig> m_placementGroupConfigs;
610 bool m_placementGroupConfigsHasBeenSet = false;
611
612 AutoTerminationPolicy m_autoTerminationPolicy;
613 bool m_autoTerminationPolicyHasBeenSet = false;
614
615 Aws::String m_oSReleaseLabel;
616 bool m_oSReleaseLabelHasBeenSet = false;
617
618 int m_ebsRootVolumeIops{0};
619 bool m_ebsRootVolumeIopsHasBeenSet = false;
620
621 int m_ebsRootVolumeThroughput{0};
622 bool m_ebsRootVolumeThroughputHasBeenSet = false;
623 };
624
625} // namespace Model
626} // namespace EMR
627} // namespace Aws
const Aws::Vector< Application > & GetApplications() const
void SetScaleDownBehavior(ScaleDownBehavior value)
RunJobFlowRequest & WithCustomAmiId(CustomAmiIdT &&value)
RunJobFlowRequest & WithStepConcurrencyLevel(int value)
const Aws::String & GetReleaseLabel() const
RunJobFlowRequest & WithManagedScalingPolicy(ManagedScalingPolicyT &&value)
void SetAmiVersion(AmiVersionT &&value)
const Aws::Vector< SupportedProductConfig > & GetNewSupportedProducts() const
const Aws::Vector< StepConfig > & GetSteps() const
RunJobFlowRequest & WithLogUri(LogUriT &&value)
RunJobFlowRequest & WithSecurityConfiguration(SecurityConfigurationT &&value)
const Aws::Vector< Tag > & GetTags() const
RunJobFlowRequest & WithSupportedProducts(SupportedProductsT &&value)
RunJobFlowRequest & WithLogEncryptionKmsKeyId(LogEncryptionKmsKeyIdT &&value)
AWS_EMR_API RunJobFlowRequest()=default
virtual const char * GetServiceRequestName() const override
RunJobFlowRequest & AddTags(TagsT &&value)
const JobFlowInstancesConfig & GetInstances() const
void SetPlacementGroupConfigs(PlacementGroupConfigsT &&value)
RunJobFlowRequest & WithAmiVersion(AmiVersionT &&value)
const Aws::Vector< PlacementGroupConfig > & GetPlacementGroupConfigs() const
RunJobFlowRequest & WithAdditionalInfo(AdditionalInfoT &&value)
RunJobFlowRequest & WithSteps(StepsT &&value)
ScaleDownBehavior GetScaleDownBehavior() const
void SetAdditionalInfo(AdditionalInfoT &&value)
const Aws::String & GetJobFlowRole() const
RunJobFlowRequest & WithConfigurations(ConfigurationsT &&value)
const Aws::String & GetLogUri() const
void SetNewSupportedProducts(NewSupportedProductsT &&value)
RunJobFlowRequest & WithNewSupportedProducts(NewSupportedProductsT &&value)
void SetServiceRole(ServiceRoleT &&value)
const Aws::String & GetServiceRole() const
void SetRepoUpgradeOnBoot(RepoUpgradeOnBoot value)
void SetSecurityConfiguration(SecurityConfigurationT &&value)
RunJobFlowRequest & WithTags(TagsT &&value)
void SetReleaseLabel(ReleaseLabelT &&value)
RunJobFlowRequest & WithBootstrapActions(BootstrapActionsT &&value)
RunJobFlowRequest & AddPlacementGroupConfigs(PlacementGroupConfigsT &&value)
RunJobFlowRequest & AddNewSupportedProducts(NewSupportedProductsT &&value)
const Aws::Vector< BootstrapActionConfig > & GetBootstrapActions() const
const Aws::Vector< Aws::String > & GetSupportedProducts() const
const Aws::String & GetName() const
RunJobFlowRequest & WithPlacementGroupConfigs(PlacementGroupConfigsT &&value)
AWS_EMR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
RunJobFlowRequest & WithAutoTerminationPolicy(AutoTerminationPolicyT &&value)
RunJobFlowRequest & WithEbsRootVolumeSize(int value)
void SetAutoScalingRole(AutoScalingRoleT &&value)
RunJobFlowRequest & WithEbsRootVolumeIops(int value)
RunJobFlowRequest & AddSteps(StepsT &&value)
const KerberosAttributes & GetKerberosAttributes() const
RunJobFlowRequest & WithKerberosAttributes(KerberosAttributesT &&value)
const ManagedScalingPolicy & GetManagedScalingPolicy() const
void SetCustomAmiId(CustomAmiIdT &&value)
const Aws::String & GetAmiVersion() const
RunJobFlowRequest & AddBootstrapActions(BootstrapActionsT &&value)
void SetKerberosAttributes(KerberosAttributesT &&value)
void SetSupportedProducts(SupportedProductsT &&value)
RunJobFlowRequest & WithReleaseLabel(ReleaseLabelT &&value)
const Aws::String & GetAdditionalInfo() const
RunJobFlowRequest & WithOSReleaseLabel(OSReleaseLabelT &&value)
RunJobFlowRequest & WithAutoScalingRole(AutoScalingRoleT &&value)
RunJobFlowRequest & WithServiceRole(ServiceRoleT &&value)
const Aws::Vector< Configuration > & GetConfigurations() const
const Aws::String & GetSecurityConfiguration() const
RunJobFlowRequest & WithEbsRootVolumeThroughput(int value)
void SetApplications(ApplicationsT &&value)
RunJobFlowRequest & AddConfigurations(ConfigurationsT &&value)
RunJobFlowRequest & WithInstances(InstancesT &&value)
void SetConfigurations(ConfigurationsT &&value)
void SetBootstrapActions(BootstrapActionsT &&value)
const Aws::String & GetCustomAmiId() const
RunJobFlowRequest & WithApplications(ApplicationsT &&value)
RepoUpgradeOnBoot GetRepoUpgradeOnBoot() const
RunJobFlowRequest & WithName(NameT &&value)
void SetJobFlowRole(JobFlowRoleT &&value)
RunJobFlowRequest & AddSupportedProducts(SupportedProductsT &&value)
const AutoTerminationPolicy & GetAutoTerminationPolicy() const
RunJobFlowRequest & WithRepoUpgradeOnBoot(RepoUpgradeOnBoot value)
void SetInstances(InstancesT &&value)
const Aws::String & GetOSReleaseLabel() const
void SetLogEncryptionKmsKeyId(LogEncryptionKmsKeyIdT &&value)
void SetAutoTerminationPolicy(AutoTerminationPolicyT &&value)
RunJobFlowRequest & WithJobFlowRole(JobFlowRoleT &&value)
void SetOSReleaseLabel(OSReleaseLabelT &&value)
void SetManagedScalingPolicy(ManagedScalingPolicyT &&value)
const Aws::String & GetLogEncryptionKmsKeyId() const
RunJobFlowRequest & WithVisibleToAllUsers(bool value)
RunJobFlowRequest & AddApplications(ApplicationsT &&value)
AWS_EMR_API Aws::String SerializePayload() const override
const Aws::String & GetAutoScalingRole() const
RunJobFlowRequest & WithScaleDownBehavior(ScaleDownBehavior 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