7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10#include <aws/ec2/model/Tenancy.h>
43 template <
typename AvailabilityZoneT = Aws::String>
45 m_availabilityZoneHasBeenSet =
true;
46 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
48 template <
typename AvailabilityZoneT = Aws::String>
61 template <
typename AvailabilityZoneIdT = Aws::String>
63 m_availabilityZoneIdHasBeenSet =
true;
64 m_availabilityZoneId = std::forward<AvailabilityZoneIdT>(value);
66 template <
typename AvailabilityZoneIdT = Aws::String>
79 template <
typename AffinityT = Aws::String>
81 m_affinityHasBeenSet =
true;
82 m_affinity = std::forward<AffinityT>(value);
84 template <
typename AffinityT = Aws::String>
97 template <
typename GroupNameT = Aws::String>
99 m_groupNameHasBeenSet =
true;
100 m_groupName = std::forward<GroupNameT>(value);
102 template <
typename GroupNameT = Aws::String>
115 template <
typename HostIdT = Aws::String>
117 m_hostIdHasBeenSet =
true;
118 m_hostId = std::forward<HostIdT>(value);
120 template <
typename HostIdT = Aws::String>
135 m_tenancyHasBeenSet =
true;
150 template <
typename SpreadDomainT = Aws::String>
152 m_spreadDomainHasBeenSet =
true;
153 m_spreadDomain = std::forward<SpreadDomainT>(value);
155 template <
typename SpreadDomainT = Aws::String>
168 template <
typename HostResourceGroupArnT = Aws::String>
170 m_hostResourceGroupArnHasBeenSet =
true;
171 m_hostResourceGroupArn = std::forward<HostResourceGroupArnT>(value);
173 template <
typename HostResourceGroupArnT = Aws::String>
188 m_partitionNumberHasBeenSet =
true;
189 m_partitionNumber = value;
204 template <
typename GroupIdT = Aws::String>
206 m_groupIdHasBeenSet =
true;
207 m_groupId = std::forward<GroupIdT>(value);
209 template <
typename GroupIdT = Aws::String>
232 int m_partitionNumber{0};
235 bool m_availabilityZoneHasBeenSet =
false;
236 bool m_availabilityZoneIdHasBeenSet =
false;
237 bool m_affinityHasBeenSet =
false;
238 bool m_groupNameHasBeenSet =
false;
239 bool m_hostIdHasBeenSet =
false;
240 bool m_tenancyHasBeenSet =
false;
241 bool m_spreadDomainHasBeenSet =
false;
242 bool m_hostResourceGroupArnHasBeenSet =
false;
243 bool m_partitionNumberHasBeenSet =
false;
244 bool m_groupIdHasBeenSet =
false;
LaunchTemplatePlacement & WithGroupName(GroupNameT &&value)
void SetAffinity(AffinityT &&value)
LaunchTemplatePlacement & WithHostId(HostIdT &&value)
const Aws::String & GetGroupName() const
void SetPartitionNumber(int value)
bool TenancyHasBeenSet() const
const Aws::String & GetAffinity() const
void SetGroupName(GroupNameT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
LaunchTemplatePlacement & WithAffinity(AffinityT &&value)
void SetTenancy(Tenancy value)
Tenancy GetTenancy() const
bool GroupNameHasBeenSet() const
bool AffinityHasBeenSet() const
LaunchTemplatePlacement & WithAvailabilityZoneId(AvailabilityZoneIdT &&value)
LaunchTemplatePlacement & WithSpreadDomain(SpreadDomainT &&value)
const Aws::String & GetHostId() const
AWS_EC2_API LaunchTemplatePlacement & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API LaunchTemplatePlacement()=default
LaunchTemplatePlacement & WithTenancy(Tenancy value)
bool SpreadDomainHasBeenSet() const
void SetSpreadDomain(SpreadDomainT &&value)
void SetHostId(HostIdT &&value)
AWS_EC2_API LaunchTemplatePlacement(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetHostResourceGroupArn() const
bool AvailabilityZoneHasBeenSet() const
bool GroupIdHasBeenSet() const
void SetAvailabilityZone(AvailabilityZoneT &&value)
bool PartitionNumberHasBeenSet() const
LaunchTemplatePlacement & WithHostResourceGroupArn(HostResourceGroupArnT &&value)
bool HostResourceGroupArnHasBeenSet() const
LaunchTemplatePlacement & WithAvailabilityZone(AvailabilityZoneT &&value)
const Aws::String & GetSpreadDomain() const
void SetHostResourceGroupArn(HostResourceGroupArnT &&value)
const Aws::String & GetAvailabilityZone() const
const Aws::String & GetAvailabilityZoneId() const
bool HostIdHasBeenSet() const
bool AvailabilityZoneIdHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetAvailabilityZoneId(AvailabilityZoneIdT &&value)
LaunchTemplatePlacement & WithPartitionNumber(int value)
void SetGroupId(GroupIdT &&value)
LaunchTemplatePlacement & WithGroupId(GroupIdT &&value)
const Aws::String & GetGroupId() const
int GetPartitionNumber() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream