7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticmapreduce/model/JobFlowExecutionStatusDetail.h>
10#include <aws/elasticmapreduce/model/JobFlowInstancesDetail.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/elasticmapreduce/model/ScaleDownBehavior.h>
13#include <aws/elasticmapreduce/model/StepDetail.h>
14#include <aws/elasticmapreduce/model/BootstrapActionDetail.h>
54 inline void SetJobFlowId(
const char* value) { m_jobFlowIdHasBeenSet =
true; m_jobFlowId.assign(value); }
68 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
82 inline void SetLogUri(
const char* value) { m_logUriHasBeenSet =
true; m_logUri.assign(value); }
97 inline void SetLogEncryptionKmsKeyId(
const char* value) { m_logEncryptionKmsKeyIdHasBeenSet =
true; m_logEncryptionKmsKeyId.assign(value); }
113 inline void SetAmiVersion(
const char* value) { m_amiVersionHasBeenSet =
true; m_amiVersion.assign(value); }
204 inline void SetVisibleToAllUsers(
bool value) { m_visibleToAllUsersHasBeenSet =
true; m_visibleToAllUsers = value; }
217 inline void SetJobFlowRole(
const char* value) { m_jobFlowRoleHasBeenSet =
true; m_jobFlowRole.assign(value); }
232 inline void SetServiceRole(
const char* value) { m_serviceRoleHasBeenSet =
true; m_serviceRole.assign(value); }
249 inline void SetAutoScalingRole(
const char* value) { m_autoScalingRoleHasBeenSet =
true; m_autoScalingRole.assign(value); }
281 bool m_jobFlowIdHasBeenSet =
false;
284 bool m_nameHasBeenSet =
false;
287 bool m_logUriHasBeenSet =
false;
290 bool m_logEncryptionKmsKeyIdHasBeenSet =
false;
293 bool m_amiVersionHasBeenSet =
false;
296 bool m_executionStatusDetailHasBeenSet =
false;
299 bool m_instancesHasBeenSet =
false;
302 bool m_stepsHasBeenSet =
false;
305 bool m_bootstrapActionsHasBeenSet =
false;
308 bool m_supportedProductsHasBeenSet =
false;
310 bool m_visibleToAllUsers;
311 bool m_visibleToAllUsersHasBeenSet =
false;
314 bool m_jobFlowRoleHasBeenSet =
false;
317 bool m_serviceRoleHasBeenSet =
false;
320 bool m_autoScalingRoleHasBeenSet =
false;
323 bool m_scaleDownBehaviorHasBeenSet =
false;
void SetJobFlowId(const char *value)
JobFlowDetail & WithSteps(Aws::Vector< StepDetail > &&value)
JobFlowDetail & WithSupportedProducts(const Aws::Vector< Aws::String > &value)
bool VisibleToAllUsersHasBeenSet() const
void SetExecutionStatusDetail(const JobFlowExecutionStatusDetail &value)
JobFlowDetail & WithJobFlowRole(const char *value)
const ScaleDownBehavior & GetScaleDownBehavior() const
JobFlowDetail & WithLogEncryptionKmsKeyId(const Aws::String &value)
void SetAutoScalingRole(const Aws::String &value)
void SetLogEncryptionKmsKeyId(const char *value)
bool SupportedProductsHasBeenSet() const
JobFlowDetail & WithAmiVersion(const Aws::String &value)
AWS_EMR_API JobFlowDetail()
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
JobFlowDetail & WithSupportedProducts(Aws::Vector< Aws::String > &&value)
JobFlowDetail & WithInstances(const JobFlowInstancesDetail &value)
void SetInstances(JobFlowInstancesDetail &&value)
void SetBootstrapActions(const Aws::Vector< BootstrapActionDetail > &value)
void SetJobFlowRole(const char *value)
bool LogEncryptionKmsKeyIdHasBeenSet() const
void SetSupportedProducts(Aws::Vector< Aws::String > &&value)
const JobFlowInstancesDetail & GetInstances() const
JobFlowDetail & WithName(Aws::String &&value)
void SetAutoScalingRole(const char *value)
JobFlowDetail & WithLogEncryptionKmsKeyId(Aws::String &&value)
void SetJobFlowId(const Aws::String &value)
void SetServiceRole(const Aws::String &value)
void SetServiceRole(Aws::String &&value)
bool NameHasBeenSet() const
void SetSteps(const Aws::Vector< StepDetail > &value)
void SetInstances(const JobFlowInstancesDetail &value)
const Aws::String & GetName() const
JobFlowDetail & WithScaleDownBehavior(ScaleDownBehavior &&value)
const Aws::Vector< BootstrapActionDetail > & GetBootstrapActions() const
bool JobFlowRoleHasBeenSet() const
void SetJobFlowId(Aws::String &&value)
const Aws::String & GetLogUri() const
JobFlowDetail & WithServiceRole(const Aws::String &value)
void SetServiceRole(const char *value)
bool BootstrapActionsHasBeenSet() const
bool ScaleDownBehaviorHasBeenSet() const
void SetScaleDownBehavior(const ScaleDownBehavior &value)
bool GetVisibleToAllUsers() const
void SetScaleDownBehavior(ScaleDownBehavior &&value)
JobFlowDetail & WithAmiVersion(const char *value)
bool JobFlowIdHasBeenSet() const
void SetName(Aws::String &&value)
void SetAmiVersion(Aws::String &&value)
bool InstancesHasBeenSet() const
void SetLogEncryptionKmsKeyId(const Aws::String &value)
JobFlowDetail & WithAmiVersion(Aws::String &&value)
JobFlowDetail & WithJobFlowId(const Aws::String &value)
const Aws::String & GetJobFlowId() const
void SetBootstrapActions(Aws::Vector< BootstrapActionDetail > &&value)
void SetVisibleToAllUsers(bool value)
JobFlowDetail & WithName(const Aws::String &value)
JobFlowDetail & WithBootstrapActions(const Aws::Vector< BootstrapActionDetail > &value)
void SetExecutionStatusDetail(JobFlowExecutionStatusDetail &&value)
JobFlowDetail & WithLogUri(Aws::String &&value)
JobFlowDetail & WithName(const char *value)
JobFlowDetail & WithJobFlowId(const char *value)
JobFlowDetail & WithJobFlowId(Aws::String &&value)
void SetAutoScalingRole(Aws::String &&value)
JobFlowDetail & WithAutoScalingRole(const char *value)
void SetSteps(Aws::Vector< StepDetail > &&value)
JobFlowDetail & WithScaleDownBehavior(const ScaleDownBehavior &value)
JobFlowDetail & WithAutoScalingRole(Aws::String &&value)
bool AmiVersionHasBeenSet() const
JobFlowDetail & WithBootstrapActions(Aws::Vector< BootstrapActionDetail > &&value)
const JobFlowExecutionStatusDetail & GetExecutionStatusDetail() const
const Aws::Vector< StepDetail > & GetSteps() const
JobFlowDetail & AddBootstrapActions(const BootstrapActionDetail &value)
JobFlowDetail & AddSupportedProducts(const char *value)
JobFlowDetail & WithInstances(JobFlowInstancesDetail &&value)
JobFlowDetail & WithJobFlowRole(Aws::String &&value)
bool ServiceRoleHasBeenSet() const
void SetLogUri(const char *value)
AWS_EMR_API JobFlowDetail(Aws::Utils::Json::JsonView jsonValue)
bool AutoScalingRoleHasBeenSet() const
const Aws::String & GetJobFlowRole() const
void SetAmiVersion(const Aws::String &value)
void SetJobFlowRole(const Aws::String &value)
JobFlowDetail & AddSupportedProducts(Aws::String &&value)
AWS_EMR_API JobFlowDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
JobFlowDetail & WithServiceRole(const char *value)
void SetAmiVersion(const char *value)
JobFlowDetail & AddBootstrapActions(BootstrapActionDetail &&value)
JobFlowDetail & WithLogUri(const char *value)
bool StepsHasBeenSet() const
JobFlowDetail & WithExecutionStatusDetail(const JobFlowExecutionStatusDetail &value)
void SetName(const Aws::String &value)
JobFlowDetail & WithServiceRole(Aws::String &&value)
void SetLogUri(const Aws::String &value)
JobFlowDetail & AddSupportedProducts(const Aws::String &value)
void SetName(const char *value)
const Aws::String & GetAutoScalingRole() const
void SetLogUri(Aws::String &&value)
JobFlowDetail & WithLogEncryptionKmsKeyId(const char *value)
const Aws::String & GetServiceRole() const
const Aws::Vector< Aws::String > & GetSupportedProducts() const
const Aws::String & GetLogEncryptionKmsKeyId() const
JobFlowDetail & WithExecutionStatusDetail(JobFlowExecutionStatusDetail &&value)
JobFlowDetail & WithLogUri(const Aws::String &value)
bool ExecutionStatusDetailHasBeenSet() const
JobFlowDetail & AddSteps(const StepDetail &value)
JobFlowDetail & WithAutoScalingRole(const Aws::String &value)
JobFlowDetail & WithSteps(const Aws::Vector< StepDetail > &value)
JobFlowDetail & WithJobFlowRole(const Aws::String &value)
void SetLogEncryptionKmsKeyId(Aws::String &&value)
const Aws::String & GetAmiVersion() const
JobFlowDetail & WithVisibleToAllUsers(bool value)
bool LogUriHasBeenSet() const
void SetSupportedProducts(const Aws::Vector< Aws::String > &value)
JobFlowDetail & AddSteps(StepDetail &&value)
void SetJobFlowRole(Aws::String &&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