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>
52 inline void SetEc2KeyName(
const char* value) { m_ec2KeyNameHasBeenSet =
true; m_ec2KeyName.assign(value); }
68 inline void SetEc2SubnetId(
const char* value) { m_ec2SubnetIdHasBeenSet =
true; m_ec2SubnetId.assign(value); }
107 inline void SetEc2AvailabilityZone(
const char* value) { m_ec2AvailabilityZoneHasBeenSet =
true; m_ec2AvailabilityZone.assign(value); }
145 inline void SetIamInstanceProfile(
const char* value) { m_iamInstanceProfileHasBeenSet =
true; m_iamInstanceProfile.assign(value); }
228 bool m_ec2KeyNameHasBeenSet =
false;
231 bool m_ec2SubnetIdHasBeenSet =
false;
234 bool m_requestedEc2SubnetIdsHasBeenSet =
false;
237 bool m_ec2AvailabilityZoneHasBeenSet =
false;
240 bool m_requestedEc2AvailabilityZonesHasBeenSet =
false;
243 bool m_iamInstanceProfileHasBeenSet =
false;
246 bool m_emrManagedMasterSecurityGroupHasBeenSet =
false;
249 bool m_emrManagedSlaveSecurityGroupHasBeenSet =
false;
252 bool m_serviceAccessSecurityGroupHasBeenSet =
false;
255 bool m_additionalMasterSecurityGroupsHasBeenSet =
false;
258 bool m_additionalSlaveSecurityGroupsHasBeenSet =
false;
void SetEmrManagedMasterSecurityGroup(Aws::String &&value)
const Aws::String & GetIamInstanceProfile() const
Ec2InstanceAttributes & WithServiceAccessSecurityGroup(const Aws::String &value)
Ec2InstanceAttributes & WithEc2SubnetId(const char *value)
void SetEc2KeyName(const Aws::String &value)
void SetAdditionalSlaveSecurityGroups(const Aws::Vector< Aws::String > &value)
void SetIamInstanceProfile(const Aws::String &value)
Ec2InstanceAttributes & WithEmrManagedMasterSecurityGroup(const char *value)
bool RequestedEc2SubnetIdsHasBeenSet() const
Ec2InstanceAttributes & WithEmrManagedMasterSecurityGroup(Aws::String &&value)
Ec2InstanceAttributes & WithRequestedEc2AvailabilityZones(const Aws::Vector< Aws::String > &value)
bool AdditionalSlaveSecurityGroupsHasBeenSet() const
const Aws::String & GetEc2KeyName() const
bool ServiceAccessSecurityGroupHasBeenSet() const
void SetEmrManagedSlaveSecurityGroup(const char *value)
const Aws::Vector< Aws::String > & GetRequestedEc2SubnetIds() const
const Aws::Vector< Aws::String > & GetAdditionalMasterSecurityGroups() const
const Aws::Vector< Aws::String > & GetAdditionalSlaveSecurityGroups() const
void SetEc2AvailabilityZone(Aws::String &&value)
const Aws::Vector< Aws::String > & GetRequestedEc2AvailabilityZones() const
void SetServiceAccessSecurityGroup(const char *value)
bool EmrManagedSlaveSecurityGroupHasBeenSet() const
void SetEc2AvailabilityZone(const Aws::String &value)
void SetIamInstanceProfile(Aws::String &&value)
const Aws::String & GetEc2SubnetId() const
Ec2InstanceAttributes & WithAdditionalSlaveSecurityGroups(const Aws::Vector< Aws::String > &value)
Ec2InstanceAttributes & WithEmrManagedSlaveSecurityGroup(const Aws::String &value)
Ec2InstanceAttributes & AddRequestedEc2SubnetIds(const char *value)
bool Ec2SubnetIdHasBeenSet() const
Ec2InstanceAttributes & WithEmrManagedSlaveSecurityGroup(const char *value)
void SetEc2KeyName(Aws::String &&value)
Ec2InstanceAttributes & AddAdditionalMasterSecurityGroups(Aws::String &&value)
AWS_EMR_API Ec2InstanceAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetServiceAccessSecurityGroup() const
Ec2InstanceAttributes & AddAdditionalSlaveSecurityGroups(Aws::String &&value)
Ec2InstanceAttributes & WithAdditionalMasterSecurityGroups(Aws::Vector< Aws::String > &&value)
Ec2InstanceAttributes & AddAdditionalSlaveSecurityGroups(const char *value)
void SetEc2SubnetId(Aws::String &&value)
bool IamInstanceProfileHasBeenSet() const
Ec2InstanceAttributes & WithRequestedEc2SubnetIds(const Aws::Vector< Aws::String > &value)
Ec2InstanceAttributes & WithEmrManagedSlaveSecurityGroup(Aws::String &&value)
Ec2InstanceAttributes & WithIamInstanceProfile(const char *value)
Ec2InstanceAttributes & WithEc2SubnetId(const Aws::String &value)
Ec2InstanceAttributes & WithEc2AvailabilityZone(const char *value)
Ec2InstanceAttributes & WithEc2AvailabilityZone(Aws::String &&value)
void SetEc2SubnetId(const char *value)
Ec2InstanceAttributes & WithServiceAccessSecurityGroup(const char *value)
Ec2InstanceAttributes & WithAdditionalSlaveSecurityGroups(Aws::Vector< Aws::String > &&value)
Ec2InstanceAttributes & WithEc2AvailabilityZone(const Aws::String &value)
bool AdditionalMasterSecurityGroupsHasBeenSet() const
Ec2InstanceAttributes & WithIamInstanceProfile(const Aws::String &value)
void SetEc2KeyName(const char *value)
Ec2InstanceAttributes & WithEc2KeyName(const char *value)
Ec2InstanceAttributes & WithServiceAccessSecurityGroup(Aws::String &&value)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
bool EmrManagedMasterSecurityGroupHasBeenSet() const
void SetAdditionalMasterSecurityGroups(const Aws::Vector< Aws::String > &value)
Ec2InstanceAttributes & AddRequestedEc2AvailabilityZones(Aws::String &&value)
Ec2InstanceAttributes & WithEmrManagedMasterSecurityGroup(const Aws::String &value)
Ec2InstanceAttributes & AddRequestedEc2SubnetIds(Aws::String &&value)
AWS_EMR_API Ec2InstanceAttributes()
Ec2InstanceAttributes & WithAdditionalMasterSecurityGroups(const Aws::Vector< Aws::String > &value)
Ec2InstanceAttributes & WithRequestedEc2SubnetIds(Aws::Vector< Aws::String > &&value)
const Aws::String & GetEc2AvailabilityZone() const
void SetEmrManagedMasterSecurityGroup(const Aws::String &value)
AWS_EMR_API Ec2InstanceAttributes(Aws::Utils::Json::JsonView jsonValue)
Ec2InstanceAttributes & WithEc2SubnetId(Aws::String &&value)
void SetRequestedEc2AvailabilityZones(Aws::Vector< Aws::String > &&value)
Ec2InstanceAttributes & WithEc2KeyName(Aws::String &&value)
void SetEmrManagedSlaveSecurityGroup(const Aws::String &value)
Ec2InstanceAttributes & WithRequestedEc2AvailabilityZones(Aws::Vector< Aws::String > &&value)
bool Ec2KeyNameHasBeenSet() const
Ec2InstanceAttributes & AddAdditionalMasterSecurityGroups(const Aws::String &value)
void SetRequestedEc2SubnetIds(Aws::Vector< Aws::String > &&value)
void SetRequestedEc2SubnetIds(const Aws::Vector< Aws::String > &value)
const Aws::String & GetEmrManagedSlaveSecurityGroup() const
void SetAdditionalSlaveSecurityGroups(Aws::Vector< Aws::String > &&value)
const Aws::String & GetEmrManagedMasterSecurityGroup() const
Ec2InstanceAttributes & AddRequestedEc2SubnetIds(const Aws::String &value)
Ec2InstanceAttributes & AddRequestedEc2AvailabilityZones(const Aws::String &value)
void SetEc2SubnetId(const Aws::String &value)
Ec2InstanceAttributes & AddRequestedEc2AvailabilityZones(const char *value)
void SetAdditionalMasterSecurityGroups(Aws::Vector< Aws::String > &&value)
void SetServiceAccessSecurityGroup(Aws::String &&value)
void SetEmrManagedSlaveSecurityGroup(Aws::String &&value)
Ec2InstanceAttributes & AddAdditionalMasterSecurityGroups(const char *value)
bool RequestedEc2AvailabilityZonesHasBeenSet() const
Ec2InstanceAttributes & WithIamInstanceProfile(Aws::String &&value)
void SetIamInstanceProfile(const char *value)
void SetEc2AvailabilityZone(const char *value)
Ec2InstanceAttributes & AddAdditionalSlaveSecurityGroups(const Aws::String &value)
Ec2InstanceAttributes & WithEc2KeyName(const Aws::String &value)
void SetEmrManagedMasterSecurityGroup(const char *value)
bool Ec2AvailabilityZoneHasBeenSet() const
void SetServiceAccessSecurityGroup(const Aws::String &value)
void SetRequestedEc2AvailabilityZones(const Aws::Vector< 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