7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elasticmapreduce/EMR_EXPORTS.h>
10#include <aws/elasticmapreduce/model/BootstrapActionDetail.h>
11#include <aws/elasticmapreduce/model/JobFlowExecutionStatusDetail.h>
12#include <aws/elasticmapreduce/model/JobFlowInstancesDetail.h>
13#include <aws/elasticmapreduce/model/ScaleDownBehavior.h>
14#include <aws/elasticmapreduce/model/StepDetail.h>
46 template <
typename JobFlowIdT = Aws::String>
48 m_jobFlowIdHasBeenSet =
true;
49 m_jobFlowId = std::forward<JobFlowIdT>(value);
51 template <
typename JobFlowIdT = Aws::String>
64 template <
typename NameT = Aws::String>
66 m_nameHasBeenSet =
true;
67 m_name = std::forward<NameT>(value);
69 template <
typename NameT = Aws::String>
71 SetName(std::forward<NameT>(value));
82 template <
typename LogUriT = Aws::String>
84 m_logUriHasBeenSet =
true;
85 m_logUri = std::forward<LogUriT>(value);
87 template <
typename LogUriT = Aws::String>
101 template <
typename LogEncryptionKmsKeyIdT = Aws::String>
103 m_logEncryptionKmsKeyIdHasBeenSet =
true;
104 m_logEncryptionKmsKeyId = std::forward<LogEncryptionKmsKeyIdT>(value);
106 template <
typename LogEncryptionKmsKeyIdT = Aws::String>
121 template <
typename AmiVersionT = Aws::String>
123 m_amiVersionHasBeenSet =
true;
124 m_amiVersion = std::forward<AmiVersionT>(value);
126 template <
typename AmiVersionT = Aws::String>
139 template <
typename ExecutionStatusDetailT = JobFlowExecutionStatusDetail>
141 m_executionStatusDetailHasBeenSet =
true;
142 m_executionStatusDetail = std::forward<ExecutionStatusDetailT>(value);
144 template <
typename ExecutionStatusDetailT = JobFlowExecutionStatusDetail>
157 template <
typename InstancesT = JobFlowInstancesDetail>
159 m_instancesHasBeenSet =
true;
160 m_instances = std::forward<InstancesT>(value);
162 template <
typename InstancesT = JobFlowInstancesDetail>
175 template <
typename StepsT = Aws::Vector<StepDetail>>
177 m_stepsHasBeenSet =
true;
178 m_steps = std::forward<StepsT>(value);
180 template <
typename StepsT = Aws::Vector<StepDetail>>
182 SetSteps(std::forward<StepsT>(value));
185 template <
typename StepsT = StepDetail>
187 m_stepsHasBeenSet =
true;
188 m_steps.emplace_back(std::forward<StepsT>(value));
199 template <
typename BootstrapActionsT = Aws::Vector<BootstrapActionDetail>>
201 m_bootstrapActionsHasBeenSet =
true;
202 m_bootstrapActions = std::forward<BootstrapActionsT>(value);
204 template <
typename BootstrapActionsT = Aws::Vector<BootstrapActionDetail>>
209 template <
typename BootstrapActionsT = BootstrapActionDetail>
211 m_bootstrapActionsHasBeenSet =
true;
212 m_bootstrapActions.emplace_back(std::forward<BootstrapActionsT>(value));
225 template <
typename SupportedProductsT = Aws::Vector<Aws::String>>
227 m_supportedProductsHasBeenSet =
true;
228 m_supportedProducts = std::forward<SupportedProductsT>(value);
230 template <
typename SupportedProductsT = Aws::Vector<Aws::String>>
235 template <
typename SupportedProductsT = Aws::String>
237 m_supportedProductsHasBeenSet =
true;
238 m_supportedProducts.emplace_back(std::forward<SupportedProductsT>(value));
260 m_visibleToAllUsersHasBeenSet =
true;
261 m_visibleToAllUsers = value;
276 template <
typename JobFlowRoleT = Aws::String>
278 m_jobFlowRoleHasBeenSet =
true;
279 m_jobFlowRole = std::forward<JobFlowRoleT>(value);
281 template <
typename JobFlowRoleT = Aws::String>
295 template <
typename ServiceRoleT = Aws::String>
297 m_serviceRoleHasBeenSet =
true;
298 m_serviceRole = std::forward<ServiceRoleT>(value);
300 template <
typename ServiceRoleT = Aws::String>
316 template <
typename AutoScalingRoleT = Aws::String>
318 m_autoScalingRoleHasBeenSet =
true;
319 m_autoScalingRole = std::forward<AutoScalingRoleT>(value);
321 template <
typename AutoScalingRoleT = Aws::String>
347 m_scaleDownBehaviorHasBeenSet =
true;
348 m_scaleDownBehavior = value;
376 bool m_visibleToAllUsers{
false};
385 bool m_jobFlowIdHasBeenSet =
false;
386 bool m_nameHasBeenSet =
false;
387 bool m_logUriHasBeenSet =
false;
388 bool m_logEncryptionKmsKeyIdHasBeenSet =
false;
389 bool m_amiVersionHasBeenSet =
false;
390 bool m_executionStatusDetailHasBeenSet =
false;
391 bool m_instancesHasBeenSet =
false;
392 bool m_stepsHasBeenSet =
false;
393 bool m_bootstrapActionsHasBeenSet =
false;
394 bool m_supportedProductsHasBeenSet =
false;
395 bool m_visibleToAllUsersHasBeenSet =
false;
396 bool m_jobFlowRoleHasBeenSet =
false;
397 bool m_serviceRoleHasBeenSet =
false;
398 bool m_autoScalingRoleHasBeenSet =
false;
399 bool m_scaleDownBehaviorHasBeenSet =
false;
bool VisibleToAllUsersHasBeenSet() const
void SetInstances(InstancesT &&value)
JobFlowDetail & WithServiceRole(ServiceRoleT &&value)
bool SupportedProductsHasBeenSet() const
void SetSupportedProducts(SupportedProductsT &&value)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
JobFlowDetail & WithLogEncryptionKmsKeyId(LogEncryptionKmsKeyIdT &&value)
void SetScaleDownBehavior(ScaleDownBehavior value)
bool LogEncryptionKmsKeyIdHasBeenSet() const
JobFlowDetail & WithAutoScalingRole(AutoScalingRoleT &&value)
void SetExecutionStatusDetail(ExecutionStatusDetailT &&value)
const JobFlowInstancesDetail & GetInstances() const
void SetServiceRole(ServiceRoleT &&value)
JobFlowDetail & WithExecutionStatusDetail(ExecutionStatusDetailT &&value)
void SetName(NameT &&value)
JobFlowDetail & WithBootstrapActions(BootstrapActionsT &&value)
JobFlowDetail & AddBootstrapActions(BootstrapActionsT &&value)
void SetLogUri(LogUriT &&value)
void SetJobFlowId(JobFlowIdT &&value)
bool NameHasBeenSet() const
void SetLogEncryptionKmsKeyId(LogEncryptionKmsKeyIdT &&value)
const Aws::String & GetName() const
const Aws::Vector< BootstrapActionDetail > & GetBootstrapActions() const
bool JobFlowRoleHasBeenSet() const
JobFlowDetail & WithScaleDownBehavior(ScaleDownBehavior value)
JobFlowDetail & WithSteps(StepsT &&value)
const Aws::String & GetLogUri() const
JobFlowDetail & AddSteps(StepsT &&value)
bool BootstrapActionsHasBeenSet() const
bool ScaleDownBehaviorHasBeenSet() const
JobFlowDetail & WithSupportedProducts(SupportedProductsT &&value)
bool GetVisibleToAllUsers() const
bool JobFlowIdHasBeenSet() const
bool InstancesHasBeenSet() const
AWS_EMR_API JobFlowDetail()=default
const Aws::String & GetJobFlowId() const
void SetVisibleToAllUsers(bool value)
JobFlowDetail & WithLogUri(LogUriT &&value)
JobFlowDetail & WithJobFlowRole(JobFlowRoleT &&value)
bool AmiVersionHasBeenSet() const
void SetAutoScalingRole(AutoScalingRoleT &&value)
const JobFlowExecutionStatusDetail & GetExecutionStatusDetail() const
const Aws::Vector< StepDetail > & GetSteps() const
bool ServiceRoleHasBeenSet() const
JobFlowDetail & WithJobFlowId(JobFlowIdT &&value)
AWS_EMR_API JobFlowDetail(Aws::Utils::Json::JsonView jsonValue)
bool AutoScalingRoleHasBeenSet() const
void SetJobFlowRole(JobFlowRoleT &&value)
const Aws::String & GetJobFlowRole() const
JobFlowDetail & WithInstances(InstancesT &&value)
AWS_EMR_API JobFlowDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
bool StepsHasBeenSet() const
ScaleDownBehavior GetScaleDownBehavior() const
JobFlowDetail & WithAmiVersion(AmiVersionT &&value)
JobFlowDetail & WithName(NameT &&value)
const Aws::String & GetAutoScalingRole() const
void SetAmiVersion(AmiVersionT &&value)
const Aws::String & GetServiceRole() const
const Aws::Vector< Aws::String > & GetSupportedProducts() const
const Aws::String & GetLogEncryptionKmsKeyId() const
bool ExecutionStatusDetailHasBeenSet() const
const Aws::String & GetAmiVersion() const
void SetSteps(StepsT &&value)
JobFlowDetail & WithVisibleToAllUsers(bool value)
bool LogUriHasBeenSet() const
JobFlowDetail & AddSupportedProducts(SupportedProductsT &&value)
void SetBootstrapActions(BootstrapActionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue