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>
51 inline void SetAvailabilityZone(
const char* value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone.assign(value); }
65 inline void SetAffinity(
const char* value) { m_affinityHasBeenSet =
true; m_affinity.assign(value); }
79 inline void SetGroupName(
const char* value) { m_groupNameHasBeenSet =
true; m_groupName.assign(value); }
93 inline void SetHostId(
const char* value) { m_hostIdHasBeenSet =
true; m_hostId.assign(value); }
107 inline void SetTenancy(
Tenancy&& value) { m_tenancyHasBeenSet =
true; m_tenancy = std::move(value); }
120 inline void SetSpreadDomain(
const char* value) { m_spreadDomainHasBeenSet =
true; m_spreadDomain.assign(value); }
134 inline void SetHostResourceGroupArn(
const char* value) { m_hostResourceGroupArnHasBeenSet =
true; m_hostResourceGroupArn.assign(value); }
147 inline void SetPartitionNumber(
int value) { m_partitionNumberHasBeenSet =
true; m_partitionNumber = value; }
160 inline void SetGroupId(
const char* value) { m_groupIdHasBeenSet =
true; m_groupId.assign(value); }
168 bool m_availabilityZoneHasBeenSet =
false;
171 bool m_affinityHasBeenSet =
false;
174 bool m_groupNameHasBeenSet =
false;
177 bool m_hostIdHasBeenSet =
false;
180 bool m_tenancyHasBeenSet =
false;
183 bool m_spreadDomainHasBeenSet =
false;
186 bool m_hostResourceGroupArnHasBeenSet =
false;
188 int m_partitionNumber;
189 bool m_partitionNumberHasBeenSet =
false;
192 bool m_groupIdHasBeenSet =
false;
void SetGroupId(const char *value)
const Tenancy & GetTenancy() const
void SetGroupId(const Aws::String &value)
const Aws::String & GetGroupName() const
void SetTenancy(const Tenancy &value)
void SetPartitionNumber(int value)
void SetGroupId(Aws::String &&value)
void SetSpreadDomain(const Aws::String &value)
bool TenancyHasBeenSet() const
LaunchTemplatePlacement & WithTenancy(const Tenancy &value)
void SetGroupName(Aws::String &&value)
void SetHostId(const char *value)
LaunchTemplatePlacement & WithHostResourceGroupArn(const Aws::String &value)
const Aws::String & GetAffinity() const
void SetSpreadDomain(Aws::String &&value)
LaunchTemplatePlacement & WithAffinity(const Aws::String &value)
void SetSpreadDomain(const char *value)
LaunchTemplatePlacement & WithHostResourceGroupArn(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
LaunchTemplatePlacement & WithSpreadDomain(const Aws::String &value)
bool GroupNameHasBeenSet() const
bool AffinityHasBeenSet() const
LaunchTemplatePlacement & WithTenancy(Tenancy &&value)
const Aws::String & GetHostId() const
AWS_EC2_API LaunchTemplatePlacement & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
LaunchTemplatePlacement & WithHostId(Aws::String &&value)
LaunchTemplatePlacement & WithGroupId(const Aws::String &value)
LaunchTemplatePlacement & WithSpreadDomain(const char *value)
LaunchTemplatePlacement & WithAffinity(Aws::String &&value)
bool SpreadDomainHasBeenSet() const
LaunchTemplatePlacement & WithGroupName(const char *value)
AWS_EC2_API LaunchTemplatePlacement(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API LaunchTemplatePlacement()
void SetHostResourceGroupArn(Aws::String &&value)
void SetAffinity(Aws::String &&value)
void SetHostResourceGroupArn(const char *value)
const Aws::String & GetHostResourceGroupArn() const
bool AvailabilityZoneHasBeenSet() const
LaunchTemplatePlacement & WithAvailabilityZone(Aws::String &&value)
LaunchTemplatePlacement & WithGroupName(Aws::String &&value)
LaunchTemplatePlacement & WithAffinity(const char *value)
bool GroupIdHasBeenSet() const
void SetAffinity(const char *value)
bool PartitionNumberHasBeenSet() const
LaunchTemplatePlacement & WithHostId(const char *value)
void SetHostId(const Aws::String &value)
bool HostResourceGroupArnHasBeenSet() const
const Aws::String & GetSpreadDomain() const
LaunchTemplatePlacement & WithSpreadDomain(Aws::String &&value)
void SetHostId(Aws::String &&value)
LaunchTemplatePlacement & WithGroupName(const Aws::String &value)
void SetAffinity(const Aws::String &value)
const Aws::String & GetAvailabilityZone() const
void SetAvailabilityZone(Aws::String &&value)
bool HostIdHasBeenSet() const
LaunchTemplatePlacement & WithHostResourceGroupArn(const char *value)
void SetHostResourceGroupArn(const Aws::String &value)
void SetAvailabilityZone(const char *value)
LaunchTemplatePlacement & WithHostId(const Aws::String &value)
void SetGroupName(const Aws::String &value)
void SetTenancy(Tenancy &&value)
LaunchTemplatePlacement & WithAvailabilityZone(const Aws::String &value)
LaunchTemplatePlacement & WithAvailabilityZone(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
LaunchTemplatePlacement & WithPartitionNumber(int value)
const Aws::String & GetGroupId() const
LaunchTemplatePlacement & WithGroupId(const char *value)
LaunchTemplatePlacement & WithGroupId(Aws::String &&value)
void SetGroupName(const char *value)
int GetPartitionNumber() const
void SetAvailabilityZone(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream