7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/Tenancy.h>
55 inline void SetAffinity(
const char* value) { m_affinityHasBeenSet =
true; m_affinity.assign(value); }
70 inline void SetGroupName(
const char* value) { m_groupNameHasBeenSet =
true; m_groupName.assign(value); }
85 inline void SetPartitionNumber(
int value) { m_partitionNumberHasBeenSet =
true; m_partitionNumber = value; }
101 inline void SetHostId(
const char* value) { m_hostIdHasBeenSet =
true; m_hostId.assign(value); }
121 inline void SetTenancy(
Tenancy&& value) { m_tenancyHasBeenSet =
true; m_tenancy = std::move(value); }
134 inline void SetSpreadDomain(
const char* value) { m_spreadDomainHasBeenSet =
true; m_spreadDomain.assign(value); }
151 inline void SetHostResourceGroupArn(
const char* value) { m_hostResourceGroupArnHasBeenSet =
true; m_hostResourceGroupArn.assign(value); }
166 inline void SetGroupId(
const char* value) { m_groupIdHasBeenSet =
true; m_groupId.assign(value); }
183 inline void SetAvailabilityZone(
const char* value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone.assign(value); }
191 bool m_affinityHasBeenSet =
false;
194 bool m_groupNameHasBeenSet =
false;
196 int m_partitionNumber;
197 bool m_partitionNumberHasBeenSet =
false;
200 bool m_hostIdHasBeenSet =
false;
203 bool m_tenancyHasBeenSet =
false;
206 bool m_spreadDomainHasBeenSet =
false;
209 bool m_hostResourceGroupArnHasBeenSet =
false;
212 bool m_groupIdHasBeenSet =
false;
215 bool m_availabilityZoneHasBeenSet =
false;
const Aws::String & GetSpreadDomain() const
bool HostResourceGroupArnHasBeenSet() const
const Aws::String & GetAffinity() const
bool PartitionNumberHasBeenSet() const
void SetTenancy(const Tenancy &value)
void SetHostResourceGroupArn(Aws::String &&value)
Placement & WithTenancy(const Tenancy &value)
Placement & WithHostId(const Aws::String &value)
bool TenancyHasBeenSet() const
Placement & WithGroupName(const char *value)
Placement & WithHostId(const char *value)
void SetPartitionNumber(int value)
void SetSpreadDomain(const Aws::String &value)
Placement & WithSpreadDomain(Aws::String &&value)
void SetSpreadDomain(const char *value)
void SetHostId(const Aws::String &value)
Placement & WithGroupName(const Aws::String &value)
const Aws::String & GetHostResourceGroupArn() const
AWS_EC2_API Placement & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API Placement(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetGroupName(Aws::String &&value)
void SetGroupId(const char *value)
Placement & WithSpreadDomain(const Aws::String &value)
Placement & WithTenancy(Tenancy &&value)
bool SpreadDomainHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
Placement & WithHostResourceGroupArn(Aws::String &&value)
Placement & WithSpreadDomain(const char *value)
void SetAvailabilityZone(const Aws::String &value)
Placement & WithHostResourceGroupArn(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetAvailabilityZone() const
Placement & WithGroupName(Aws::String &&value)
Placement & WithHostResourceGroupArn(const char *value)
Placement & WithGroupId(const char *value)
void SetTenancy(Tenancy &&value)
void SetHostResourceGroupArn(const char *value)
int GetPartitionNumber() const
bool AvailabilityZoneHasBeenSet() const
Placement & WithAvailabilityZone(Aws::String &&value)
const Aws::String & GetGroupId() const
Placement & WithAffinity(Aws::String &&value)
void SetAffinity(Aws::String &&value)
const Aws::String & GetGroupName() const
bool AffinityHasBeenSet() const
Placement & WithAffinity(const char *value)
bool GroupIdHasBeenSet() const
Placement & WithAffinity(const Aws::String &value)
void SetAffinity(const Aws::String &value)
void SetAvailabilityZone(const char *value)
void SetAvailabilityZone(Aws::String &&value)
void SetGroupName(const char *value)
void SetHostId(Aws::String &&value)
void SetGroupId(Aws::String &&value)
const Aws::String & GetHostId() const
Placement & WithAvailabilityZone(const char *value)
Placement & WithHostId(Aws::String &&value)
void SetHostId(const char *value)
bool GroupNameHasBeenSet() const
void SetGroupId(const Aws::String &value)
Placement & WithGroupId(Aws::String &&value)
void SetGroupName(const Aws::String &value)
void SetSpreadDomain(Aws::String &&value)
const Tenancy & GetTenancy() const
void SetHostResourceGroupArn(const Aws::String &value)
Placement & WithGroupId(const Aws::String &value)
Placement & WithPartitionNumber(int value)
bool HostIdHasBeenSet() const
Placement & WithAvailabilityZone(const Aws::String &value)
void SetAffinity(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream