7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/HostTenancy.h>
11#include <aws/ec2/model/Affinity.h>
53 inline void SetGroupName(
const char* value) { m_groupNameHasBeenSet =
true; m_groupName.assign(value); }
66 inline void SetPartitionNumber(
int value) { m_partitionNumberHasBeenSet =
true; m_partitionNumber = value; }
79 inline void SetHostResourceGroupArn(
const char* value) { m_hostResourceGroupArnHasBeenSet =
true; m_hostResourceGroupArn.assign(value); }
94 inline void SetGroupId(
const char* value) { m_groupIdHasBeenSet =
true; m_groupId.assign(value); }
108 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
152 inline void SetHostId(
const char* value) { m_hostIdHasBeenSet =
true; m_hostId.assign(value); }
160 bool m_groupNameHasBeenSet =
false;
162 int m_partitionNumber;
163 bool m_partitionNumberHasBeenSet =
false;
166 bool m_hostResourceGroupArnHasBeenSet =
false;
169 bool m_groupIdHasBeenSet =
false;
172 bool m_instanceIdHasBeenSet =
false;
175 bool m_tenancyHasBeenSet =
false;
178 bool m_affinityHasBeenSet =
false;
181 bool m_hostIdHasBeenSet =
false;
bool HostResourceGroupArnHasBeenSet() const
ModifyInstancePlacementRequest & WithAffinity(const Affinity &value)
ModifyInstancePlacementRequest & WithTenancy(HostTenancy &&value)
void SetHostResourceGroupArn(const Aws::String &value)
ModifyInstancePlacementRequest & WithGroupName(const Aws::String &value)
bool PartitionNumberHasBeenSet() const
ModifyInstancePlacementRequest & WithPartitionNumber(int value)
void SetGroupName(const Aws::String &value)
void SetTenancy(HostTenancy &&value)
void SetGroupId(Aws::String &&value)
void SetHostResourceGroupArn(Aws::String &&value)
void SetHostId(Aws::String &&value)
const Aws::String & GetHostId() const
void SetInstanceId(const char *value)
void SetHostId(const Aws::String &value)
bool GroupIdHasBeenSet() const
bool AffinityHasBeenSet() const
ModifyInstancePlacementRequest & WithTenancy(const HostTenancy &value)
ModifyInstancePlacementRequest & WithGroupId(const Aws::String &value)
void SetAffinity(Affinity &&value)
void SetGroupName(const char *value)
ModifyInstancePlacementRequest & WithInstanceId(Aws::String &&value)
ModifyInstancePlacementRequest & WithGroupName(const char *value)
ModifyInstancePlacementRequest & WithInstanceId(const Aws::String &value)
bool TenancyHasBeenSet() const
int GetPartitionNumber() const
ModifyInstancePlacementRequest & WithInstanceId(const char *value)
ModifyInstancePlacementRequest & WithGroupId(Aws::String &&value)
ModifyInstancePlacementRequest & WithHostResourceGroupArn(Aws::String &&value)
ModifyInstancePlacementRequest & WithHostId(const Aws::String &value)
const Aws::String & GetHostResourceGroupArn() const
void SetPartitionNumber(int value)
ModifyInstancePlacementRequest & WithAffinity(Affinity &&value)
void SetHostResourceGroupArn(const char *value)
const Affinity & GetAffinity() const
ModifyInstancePlacementRequest & WithHostId(const char *value)
void SetInstanceId(const Aws::String &value)
const HostTenancy & GetTenancy() const
void SetGroupName(Aws::String &&value)
bool GroupNameHasBeenSet() const
void SetGroupId(const char *value)
ModifyInstancePlacementRequest & WithGroupId(const char *value)
AWS_EC2_API ModifyInstancePlacementRequest()
void SetTenancy(const HostTenancy &value)
const Aws::String & GetGroupId() const
const Aws::String & GetInstanceId() const
ModifyInstancePlacementRequest & WithGroupName(Aws::String &&value)
ModifyInstancePlacementRequest & WithHostResourceGroupArn(const Aws::String &value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetAffinity(const Affinity &value)
AWS_EC2_API Aws::String SerializePayload() const override
void SetHostId(const char *value)
void SetInstanceId(Aws::String &&value)
bool HostIdHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool InstanceIdHasBeenSet() const
ModifyInstancePlacementRequest & WithHostResourceGroupArn(const char *value)
const Aws::String & GetGroupName() const
void SetGroupId(const Aws::String &value)
ModifyInstancePlacementRequest & WithHostId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String