7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
47 inline void SetAllocationId(
const char* value) { m_allocationIdHasBeenSet =
true; m_allocationId.assign(value); }
63 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
77 inline void SetPublicIp(
const char* value) { m_publicIpHasBeenSet =
true; m_publicIp.assign(value); }
92 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
106 inline void SetNetworkInterfaceId(
const char* value) { m_networkInterfaceIdHasBeenSet =
true; m_networkInterfaceId.assign(value); }
122 inline void SetPrivateIpAddress(
const char* value) { m_privateIpAddressHasBeenSet =
true; m_privateIpAddress.assign(value); }
135 inline void SetAllowReassociation(
bool value) { m_allowReassociationHasBeenSet =
true; m_allowReassociation = value; }
141 bool m_allocationIdHasBeenSet =
false;
144 bool m_instanceIdHasBeenSet =
false;
147 bool m_publicIpHasBeenSet =
false;
150 bool m_dryRunHasBeenSet =
false;
153 bool m_networkInterfaceIdHasBeenSet =
false;
156 bool m_privateIpAddressHasBeenSet =
false;
158 bool m_allowReassociation;
159 bool m_allowReassociationHasBeenSet =
false;
void SetInstanceId(Aws::String &&value)
void SetPublicIp(Aws::String &&value)
AssociateAddressRequest & WithPrivateIpAddress(const char *value)
void SetInstanceId(const Aws::String &value)
AssociateAddressRequest & WithPrivateIpAddress(const Aws::String &value)
void SetNetworkInterfaceId(Aws::String &&value)
bool GetAllowReassociation() const
void SetAllowReassociation(bool value)
AssociateAddressRequest & WithAllowReassociation(bool value)
AssociateAddressRequest & WithAllocationId(Aws::String &&value)
bool DryRunHasBeenSet() const
AssociateAddressRequest & WithAllocationId(const Aws::String &value)
const Aws::String & GetPublicIp() const
void SetPublicIp(const char *value)
AssociateAddressRequest & WithPublicIp(const char *value)
bool NetworkInterfaceIdHasBeenSet() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetAllocationId(Aws::String &&value)
const Aws::String & GetPrivateIpAddress() const
void SetAllocationId(const char *value)
AssociateAddressRequest & WithPublicIp(const Aws::String &value)
AssociateAddressRequest & WithNetworkInterfaceId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetNetworkInterfaceId(const Aws::String &value)
AssociateAddressRequest & WithInstanceId(const Aws::String &value)
AssociateAddressRequest & WithNetworkInterfaceId(Aws::String &&value)
AWS_EC2_API Aws::String SerializePayload() const override
void SetAllocationId(const Aws::String &value)
bool AllowReassociationHasBeenSet() const
const Aws::String & GetInstanceId() const
void SetPrivateIpAddress(const Aws::String &value)
bool AllocationIdHasBeenSet() const
AssociateAddressRequest & WithInstanceId(Aws::String &&value)
AssociateAddressRequest & WithInstanceId(const char *value)
AWS_EC2_API AssociateAddressRequest()
const Aws::String & GetAllocationId() const
bool PrivateIpAddressHasBeenSet() const
void SetPublicIp(const Aws::String &value)
void SetInstanceId(const char *value)
void SetPrivateIpAddress(Aws::String &&value)
void SetDryRun(bool value)
void SetPrivateIpAddress(const char *value)
AssociateAddressRequest & WithPrivateIpAddress(Aws::String &&value)
AssociateAddressRequest & WithAllocationId(const char *value)
AssociateAddressRequest & WithDryRun(bool value)
AssociateAddressRequest & WithNetworkInterfaceId(const char *value)
AssociateAddressRequest & WithPublicIp(Aws::String &&value)
void SetNetworkInterfaceId(const char *value)
const Aws::String & GetNetworkInterfaceId() const
bool PublicIpHasBeenSet() const
bool InstanceIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String