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 template<
typename AvailabilityZoneT = Aws::String>
52 void SetAvailabilityZone(AvailabilityZoneT&& value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone = std::forward<AvailabilityZoneT>(value); }
53 template<
typename AvailabilityZoneT = Aws::String>
65 template<
typename AvailabilityZoneIdT = Aws::String>
66 void SetAvailabilityZoneId(AvailabilityZoneIdT&& value) { m_availabilityZoneIdHasBeenSet =
true; m_availabilityZoneId = std::forward<AvailabilityZoneIdT>(value); }
67 template<
typename AvailabilityZoneIdT = Aws::String>
77 template<
typename AffinityT = Aws::String>
78 void SetAffinity(AffinityT&& value) { m_affinityHasBeenSet =
true; m_affinity = std::forward<AffinityT>(value); }
79 template<
typename AffinityT = Aws::String>
89 template<
typename GroupNameT = Aws::String>
90 void SetGroupName(GroupNameT&& value) { m_groupNameHasBeenSet =
true; m_groupName = std::forward<GroupNameT>(value); }
91 template<
typename GroupNameT = Aws::String>
101 template<
typename HostIdT = Aws::String>
102 void SetHostId(HostIdT&& value) { m_hostIdHasBeenSet =
true; m_hostId = std::forward<HostIdT>(value); }
103 template<
typename HostIdT = Aws::String>
124 template<
typename SpreadDomainT = Aws::String>
125 void SetSpreadDomain(SpreadDomainT&& value) { m_spreadDomainHasBeenSet =
true; m_spreadDomain = std::forward<SpreadDomainT>(value); }
126 template<
typename SpreadDomainT = Aws::String>
138 template<
typename HostResourceGroupArnT = Aws::String>
139 void SetHostResourceGroupArn(HostResourceGroupArnT&& value) { m_hostResourceGroupArnHasBeenSet =
true; m_hostResourceGroupArn = std::forward<HostResourceGroupArnT>(value); }
140 template<
typename HostResourceGroupArnT = Aws::String>
151 inline void SetPartitionNumber(
int value) { m_partitionNumberHasBeenSet =
true; m_partitionNumber = value; }
162 template<
typename GroupIdT = Aws::String>
163 void SetGroupId(GroupIdT&& value) { m_groupIdHasBeenSet =
true; m_groupId = std::forward<GroupIdT>(value); }
164 template<
typename GroupIdT = Aws::String>
170 bool m_availabilityZoneHasBeenSet =
false;
173 bool m_availabilityZoneIdHasBeenSet =
false;
176 bool m_affinityHasBeenSet =
false;
179 bool m_groupNameHasBeenSet =
false;
182 bool m_hostIdHasBeenSet =
false;
185 bool m_tenancyHasBeenSet =
false;
188 bool m_spreadDomainHasBeenSet =
false;
191 bool m_hostResourceGroupArnHasBeenSet =
false;
193 int m_partitionNumber{0};
194 bool m_partitionNumberHasBeenSet =
false;
197 bool m_groupIdHasBeenSet =
false;
LaunchTemplatePlacementRequest & WithTenancy(Tenancy value)
bool AvailabilityZoneIdHasBeenSet() const
void SetPartitionNumber(int value)
LaunchTemplatePlacementRequest & WithAvailabilityZoneId(AvailabilityZoneIdT &&value)
bool AvailabilityZoneHasBeenSet() const
void SetAvailabilityZone(AvailabilityZoneT &&value)
LaunchTemplatePlacementRequest & WithGroupName(GroupNameT &&value)
LaunchTemplatePlacementRequest & WithAvailabilityZone(AvailabilityZoneT &&value)
AWS_EC2_API LaunchTemplatePlacementRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetAvailabilityZone() const
int GetPartitionNumber() const
const Aws::String & GetGroupId() const
void SetHostResourceGroupArn(HostResourceGroupArnT &&value)
bool HostResourceGroupArnHasBeenSet() const
const Aws::String & GetGroupName() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API LaunchTemplatePlacementRequest()=default
bool SpreadDomainHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool TenancyHasBeenSet() const
const Aws::String & GetHostResourceGroupArn() const
Tenancy GetTenancy() const
LaunchTemplatePlacementRequest & WithPartitionNumber(int value)
void SetAvailabilityZoneId(AvailabilityZoneIdT &&value)
bool GroupIdHasBeenSet() const
bool PartitionNumberHasBeenSet() const
LaunchTemplatePlacementRequest & WithGroupId(GroupIdT &&value)
bool AffinityHasBeenSet() const
void SetTenancy(Tenancy value)
void SetHostId(HostIdT &&value)
LaunchTemplatePlacementRequest & WithSpreadDomain(SpreadDomainT &&value)
LaunchTemplatePlacementRequest & WithHostId(HostIdT &&value)
LaunchTemplatePlacementRequest & WithHostResourceGroupArn(HostResourceGroupArnT &&value)
const Aws::String & GetAffinity() const
void SetGroupId(GroupIdT &&value)
void SetAffinity(AffinityT &&value)
LaunchTemplatePlacementRequest & WithAffinity(AffinityT &&value)
bool HostIdHasBeenSet() const
const Aws::String & GetHostId() const
void SetGroupName(GroupNameT &&value)
bool GroupNameHasBeenSet() const
const Aws::String & GetSpreadDomain() const
const Aws::String & GetAvailabilityZoneId() const
void SetSpreadDomain(SpreadDomainT &&value)
AWS_EC2_API LaunchTemplatePlacementRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream