7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/workspaces-instances/WorkspacesInstances_EXPORTS.h>
10#include <aws/workspaces-instances/model/TenancyEnum.h>
20namespace WorkspacesInstances {
32 AWS_WORKSPACESINSTANCES_API
Placement(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_WORKSPACESINSTANCES_API
Placement&
operator=(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_WORKSPACESINSTANCES_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
42 template <
typename AffinityT = Aws::String>
44 m_affinityHasBeenSet =
true;
45 m_affinity = std::forward<AffinityT>(value);
47 template <
typename AffinityT = Aws::String>
60 template <
typename AvailabilityZoneT = Aws::String>
62 m_availabilityZoneHasBeenSet =
true;
63 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
65 template <
typename AvailabilityZoneT = Aws::String>
78 template <
typename GroupIdT = Aws::String>
80 m_groupIdHasBeenSet =
true;
81 m_groupId = std::forward<GroupIdT>(value);
83 template <
typename GroupIdT = Aws::String>
96 template <
typename GroupNameT = Aws::String>
98 m_groupNameHasBeenSet =
true;
99 m_groupName = std::forward<GroupNameT>(value);
101 template <
typename GroupNameT = Aws::String>
114 template <
typename HostIdT = Aws::String>
116 m_hostIdHasBeenSet =
true;
117 m_hostId = std::forward<HostIdT>(value);
119 template <
typename HostIdT = Aws::String>
132 template <
typename HostResourceGroupArnT = Aws::String>
134 m_hostResourceGroupArnHasBeenSet =
true;
135 m_hostResourceGroupArn = std::forward<HostResourceGroupArnT>(value);
137 template <
typename HostResourceGroupArnT = Aws::String>
151 m_partitionNumberHasBeenSet =
true;
152 m_partitionNumber = value;
167 m_tenancyHasBeenSet =
true;
188 int64_t m_partitionNumber{0};
191 bool m_affinityHasBeenSet =
false;
192 bool m_availabilityZoneHasBeenSet =
false;
193 bool m_groupIdHasBeenSet =
false;
194 bool m_groupNameHasBeenSet =
false;
195 bool m_hostIdHasBeenSet =
false;
196 bool m_hostResourceGroupArnHasBeenSet =
false;
197 bool m_partitionNumberHasBeenSet =
false;
198 bool m_tenancyHasBeenSet =
false;
const Aws::String & GetGroupName() const
void SetPartitionNumber(int64_t value)
const Aws::String & GetAffinity() const
bool GroupIdHasBeenSet() const
bool GroupNameHasBeenSet() const
Placement & WithHostResourceGroupArn(HostResourceGroupArnT &&value)
bool PartitionNumberHasBeenSet() const
void SetAffinity(AffinityT &&value)
void SetGroupId(GroupIdT &&value)
void SetTenancy(TenancyEnum value)
void SetHostId(HostIdT &&value)
int64_t GetPartitionNumber() const
Placement & WithAffinity(AffinityT &&value)
void SetHostResourceGroupArn(HostResourceGroupArnT &&value)
void SetAvailabilityZone(AvailabilityZoneT &&value)
Placement & WithGroupName(GroupNameT &&value)
bool HostResourceGroupArnHasBeenSet() const
const Aws::String & GetGroupId() const
AWS_WORKSPACESINSTANCES_API Placement()=default
Placement & WithHostId(HostIdT &&value)
Placement & WithGroupId(GroupIdT &&value)
bool AffinityHasBeenSet() const
TenancyEnum GetTenancy() const
Placement & WithAvailabilityZone(AvailabilityZoneT &&value)
AWS_WORKSPACESINSTANCES_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
const Aws::String & GetHostId() const
AWS_WORKSPACESINSTANCES_API Placement & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetGroupName(GroupNameT &&value)
const Aws::String & GetHostResourceGroupArn() const
bool HostIdHasBeenSet() const
Placement & WithPartitionNumber(int64_t value)
const Aws::String & GetAvailabilityZone() const
Placement & WithTenancy(TenancyEnum value)
bool TenancyHasBeenSet() const
bool AvailabilityZoneHasBeenSet() const
AWS_WORKSPACESINSTANCES_API Placement(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String