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); }
136 inline void SetHostResourceGroupArn(
const char* value) { m_hostResourceGroupArnHasBeenSet =
true; m_hostResourceGroupArn.assign(value); }
149 inline void SetPartitionNumber(
int value) { m_partitionNumberHasBeenSet =
true; m_partitionNumber = value; }
162 inline void SetGroupId(
const char* value) { m_groupIdHasBeenSet =
true; m_groupId.assign(value); }
170 bool m_availabilityZoneHasBeenSet =
false;
173 bool m_affinityHasBeenSet =
false;
176 bool m_groupNameHasBeenSet =
false;
179 bool m_hostIdHasBeenSet =
false;
182 bool m_tenancyHasBeenSet =
false;
185 bool m_spreadDomainHasBeenSet =
false;
188 bool m_hostResourceGroupArnHasBeenSet =
false;
190 int m_partitionNumber;
191 bool m_partitionNumberHasBeenSet =
false;
194 bool m_groupIdHasBeenSet =
false;
LaunchTemplatePlacementRequest & WithAvailabilityZone(const Aws::String &value)
void SetPartitionNumber(int value)
void SetHostId(const Aws::String &value)
void SetGroupName(const char *value)
LaunchTemplatePlacementRequest & WithAvailabilityZone(const char *value)
const Tenancy & GetTenancy() const
bool AvailabilityZoneHasBeenSet() const
LaunchTemplatePlacementRequest & WithSpreadDomain(const char *value)
LaunchTemplatePlacementRequest & WithTenancy(const Tenancy &value)
void SetGroupId(Aws::String &&value)
LaunchTemplatePlacementRequest & WithAffinity(Aws::String &&value)
LaunchTemplatePlacementRequest & WithGroupId(const Aws::String &value)
AWS_EC2_API LaunchTemplatePlacementRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetAvailabilityZone() const
void SetGroupName(const Aws::String &value)
LaunchTemplatePlacementRequest & WithGroupId(Aws::String &&value)
AWS_EC2_API LaunchTemplatePlacementRequest()
int GetPartitionNumber() const
void SetGroupId(const char *value)
void SetAffinity(Aws::String &&value)
const Aws::String & GetGroupId() const
void SetHostResourceGroupArn(const char *value)
void SetAvailabilityZone(const Aws::String &value)
bool HostResourceGroupArnHasBeenSet() const
const Aws::String & GetGroupName() const
LaunchTemplatePlacementRequest & WithAffinity(const char *value)
void SetGroupName(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool SpreadDomainHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool TenancyHasBeenSet() const
const Aws::String & GetHostResourceGroupArn() const
LaunchTemplatePlacementRequest & WithHostId(const char *value)
void SetAvailabilityZone(Aws::String &&value)
LaunchTemplatePlacementRequest & WithPartitionNumber(int value)
bool GroupIdHasBeenSet() const
void SetHostId(const char *value)
bool PartitionNumberHasBeenSet() const
LaunchTemplatePlacementRequest & WithSpreadDomain(Aws::String &&value)
LaunchTemplatePlacementRequest & WithHostResourceGroupArn(const Aws::String &value)
LaunchTemplatePlacementRequest & WithHostId(Aws::String &&value)
LaunchTemplatePlacementRequest & WithHostId(const Aws::String &value)
void SetGroupId(const Aws::String &value)
LaunchTemplatePlacementRequest & WithAvailabilityZone(Aws::String &&value)
bool AffinityHasBeenSet() const
LaunchTemplatePlacementRequest & WithGroupId(const char *value)
LaunchTemplatePlacementRequest & WithGroupName(const Aws::String &value)
LaunchTemplatePlacementRequest & WithAffinity(const Aws::String &value)
LaunchTemplatePlacementRequest & WithHostResourceGroupArn(Aws::String &&value)
LaunchTemplatePlacementRequest & WithTenancy(Tenancy &&value)
void SetSpreadDomain(const char *value)
void SetHostResourceGroupArn(const Aws::String &value)
const Aws::String & GetAffinity() const
void SetSpreadDomain(Aws::String &&value)
void SetAffinity(const char *value)
void SetSpreadDomain(const Aws::String &value)
bool HostIdHasBeenSet() const
void SetTenancy(const Tenancy &value)
const Aws::String & GetHostId() const
void SetHostId(Aws::String &&value)
bool GroupNameHasBeenSet() const
const Aws::String & GetSpreadDomain() const
void SetHostResourceGroupArn(Aws::String &&value)
LaunchTemplatePlacementRequest & WithGroupName(Aws::String &&value)
LaunchTemplatePlacementRequest & WithSpreadDomain(const Aws::String &value)
LaunchTemplatePlacementRequest & WithHostResourceGroupArn(const char *value)
AWS_EC2_API LaunchTemplatePlacementRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetAvailabilityZone(const char *value)
void SetAffinity(const Aws::String &value)
void SetTenancy(Tenancy &&value)
LaunchTemplatePlacementRequest & WithGroupName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream