7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/elasticmapreduce/model/PlacementType.h>
11#include <aws/elasticmapreduce/model/InstanceGroupDetail.h>
52 inline void SetMasterInstanceType(
const char* value) { m_masterInstanceTypeHasBeenSet =
true; m_masterInstanceType.assign(value); }
67 inline void SetMasterPublicDnsName(
const char* value) { m_masterPublicDnsNameHasBeenSet =
true; m_masterPublicDnsName.assign(value); }
81 inline void SetMasterInstanceId(
const char* value) { m_masterInstanceIdHasBeenSet =
true; m_masterInstanceId.assign(value); }
95 inline void SetSlaveInstanceType(
const char* value) { m_slaveInstanceTypeHasBeenSet =
true; m_slaveInstanceType.assign(value); }
110 inline void SetInstanceCount(
int value) { m_instanceCountHasBeenSet =
true; m_instanceCount = value; }
152 inline void SetEc2KeyName(
const char* value) { m_ec2KeyNameHasBeenSet =
true; m_ec2KeyName.assign(value); }
167 inline void SetEc2SubnetId(
const char* value) { m_ec2SubnetIdHasBeenSet =
true; m_ec2SubnetId.assign(value); }
227 inline void SetHadoopVersion(
const char* value) { m_hadoopVersionHasBeenSet =
true; m_hadoopVersion.assign(value); }
235 bool m_masterInstanceTypeHasBeenSet =
false;
238 bool m_masterPublicDnsNameHasBeenSet =
false;
241 bool m_masterInstanceIdHasBeenSet =
false;
244 bool m_slaveInstanceTypeHasBeenSet =
false;
247 bool m_instanceCountHasBeenSet =
false;
250 bool m_instanceGroupsHasBeenSet =
false;
252 int m_normalizedInstanceHours;
253 bool m_normalizedInstanceHoursHasBeenSet =
false;
256 bool m_ec2KeyNameHasBeenSet =
false;
259 bool m_ec2SubnetIdHasBeenSet =
false;
262 bool m_placementHasBeenSet =
false;
264 bool m_keepJobFlowAliveWhenNoSteps;
265 bool m_keepJobFlowAliveWhenNoStepsHasBeenSet =
false;
267 bool m_terminationProtected;
268 bool m_terminationProtectedHasBeenSet =
false;
270 bool m_unhealthyNodeReplacement;
271 bool m_unhealthyNodeReplacementHasBeenSet =
false;
274 bool m_hadoopVersionHasBeenSet =
false;
JobFlowInstancesDetail & WithMasterInstanceType(const Aws::String &value)
bool MasterInstanceIdHasBeenSet() const
JobFlowInstancesDetail & WithHadoopVersion(const Aws::String &value)
void SetHadoopVersion(const Aws::String &value)
JobFlowInstancesDetail & WithMasterPublicDnsName(const Aws::String &value)
JobFlowInstancesDetail & WithSlaveInstanceType(const Aws::String &value)
void SetEc2SubnetId(Aws::String &&value)
void SetNormalizedInstanceHours(int value)
JobFlowInstancesDetail & WithMasterInstanceId(const char *value)
JobFlowInstancesDetail & WithTerminationProtected(bool value)
void SetEc2KeyName(Aws::String &&value)
void SetMasterInstanceType(Aws::String &&value)
bool InstanceCountHasBeenSet() const
JobFlowInstancesDetail & WithMasterInstanceId(const Aws::String &value)
bool Ec2SubnetIdHasBeenSet() const
void SetSlaveInstanceType(const Aws::String &value)
void SetMasterPublicDnsName(Aws::String &&value)
JobFlowInstancesDetail & WithEc2SubnetId(const char *value)
bool PlacementHasBeenSet() const
JobFlowInstancesDetail & AddInstanceGroups(InstanceGroupDetail &&value)
void SetInstanceGroups(Aws::Vector< InstanceGroupDetail > &&value)
const Aws::String & GetSlaveInstanceType() const
int GetInstanceCount() const
const Aws::String & GetEc2SubnetId() const
void SetEc2KeyName(const Aws::String &value)
void SetKeepJobFlowAliveWhenNoSteps(bool value)
void SetMasterInstanceId(const Aws::String &value)
bool SlaveInstanceTypeHasBeenSet() const
JobFlowInstancesDetail & WithPlacement(PlacementType &&value)
JobFlowInstancesDetail & WithMasterInstanceType(Aws::String &&value)
JobFlowInstancesDetail & WithInstanceCount(int value)
const PlacementType & GetPlacement() const
bool Ec2KeyNameHasBeenSet() const
bool UnhealthyNodeReplacementHasBeenSet() const
bool MasterInstanceTypeHasBeenSet() const
AWS_EMR_API JobFlowInstancesDetail(Aws::Utils::Json::JsonView jsonValue)
JobFlowInstancesDetail & WithEc2KeyName(const Aws::String &value)
const Aws::String & GetMasterPublicDnsName() const
bool MasterPublicDnsNameHasBeenSet() const
bool InstanceGroupsHasBeenSet() const
JobFlowInstancesDetail & WithMasterPublicDnsName(Aws::String &&value)
void SetTerminationProtected(bool value)
void SetMasterInstanceType(const char *value)
JobFlowInstancesDetail & WithSlaveInstanceType(const char *value)
bool GetUnhealthyNodeReplacement() const
JobFlowInstancesDetail & WithEc2SubnetId(const Aws::String &value)
bool HadoopVersionHasBeenSet() const
bool GetTerminationProtected() const
void SetMasterInstanceType(const Aws::String &value)
bool NormalizedInstanceHoursHasBeenSet() const
void SetHadoopVersion(Aws::String &&value)
JobFlowInstancesDetail & WithNormalizedInstanceHours(int value)
bool GetKeepJobFlowAliveWhenNoSteps() const
void SetPlacement(const PlacementType &value)
JobFlowInstancesDetail & WithEc2KeyName(Aws::String &&value)
JobFlowInstancesDetail & WithMasterInstanceId(Aws::String &&value)
JobFlowInstancesDetail & WithInstanceGroups(const Aws::Vector< InstanceGroupDetail > &value)
void SetUnhealthyNodeReplacement(bool value)
void SetEc2KeyName(const char *value)
const Aws::String & GetMasterInstanceType() const
JobFlowInstancesDetail & WithKeepJobFlowAliveWhenNoSteps(bool value)
JobFlowInstancesDetail & WithMasterInstanceType(const char *value)
JobFlowInstancesDetail & WithHadoopVersion(Aws::String &&value)
void SetSlaveInstanceType(Aws::String &&value)
void SetInstanceGroups(const Aws::Vector< InstanceGroupDetail > &value)
JobFlowInstancesDetail & WithMasterPublicDnsName(const char *value)
JobFlowInstancesDetail & WithInstanceGroups(Aws::Vector< InstanceGroupDetail > &&value)
const Aws::Vector< InstanceGroupDetail > & GetInstanceGroups() const
AWS_EMR_API JobFlowInstancesDetail()
void SetPlacement(PlacementType &&value)
void SetSlaveInstanceType(const char *value)
JobFlowInstancesDetail & WithUnhealthyNodeReplacement(bool value)
JobFlowInstancesDetail & AddInstanceGroups(const InstanceGroupDetail &value)
void SetMasterPublicDnsName(const char *value)
void SetMasterInstanceId(const char *value)
void SetInstanceCount(int value)
JobFlowInstancesDetail & WithEc2KeyName(const char *value)
JobFlowInstancesDetail & WithSlaveInstanceType(Aws::String &&value)
void SetEc2SubnetId(const char *value)
const Aws::String & GetHadoopVersion() const
void SetEc2SubnetId(const Aws::String &value)
JobFlowInstancesDetail & WithPlacement(const PlacementType &value)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EMR_API JobFlowInstancesDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TerminationProtectedHasBeenSet() const
void SetMasterInstanceId(Aws::String &&value)
bool KeepJobFlowAliveWhenNoStepsHasBeenSet() const
JobFlowInstancesDetail & WithEc2SubnetId(Aws::String &&value)
void SetMasterPublicDnsName(const Aws::String &value)
const Aws::String & GetMasterInstanceId() const
const Aws::String & GetEc2KeyName() const
JobFlowInstancesDetail & WithHadoopVersion(const char *value)
void SetHadoopVersion(const char *value)
int GetNormalizedInstanceHours() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue