AWS SDK for C++

AWS SDK for C++ Version 1.11.808

Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
Aws::EC2::Model::AssociateAddressRequest Class Reference

#include <AssociateAddressRequest.h>

Inheritance diagram for Aws::EC2::Model::AssociateAddressRequest:
[legend]

Public Member Functions

AWS_EC2_API AssociateAddressRequest ()=default
 
virtual const char * GetServiceRequestName () const override
 
AWS_EC2_API Aws::String SerializePayload () const override
 
const Aws::StringGetAllocationId () const
 
bool AllocationIdHasBeenSet () const
 
template<typename AllocationIdT = Aws::String>
void SetAllocationId (AllocationIdT &&value)
 
template<typename AllocationIdT = Aws::String>
AssociateAddressRequestWithAllocationId (AllocationIdT &&value)
 
const Aws::StringGetInstanceId () const
 
bool InstanceIdHasBeenSet () const
 
template<typename InstanceIdT = Aws::String>
void SetInstanceId (InstanceIdT &&value)
 
template<typename InstanceIdT = Aws::String>
AssociateAddressRequestWithInstanceId (InstanceIdT &&value)
 
const Aws::StringGetPublicIp () const
 
bool PublicIpHasBeenSet () const
 
template<typename PublicIpT = Aws::String>
void SetPublicIp (PublicIpT &&value)
 
template<typename PublicIpT = Aws::String>
AssociateAddressRequestWithPublicIp (PublicIpT &&value)
 
bool GetDryRun () const
 
bool DryRunHasBeenSet () const
 
void SetDryRun (bool value)
 
 
 
 
template<typename NetworkInterfaceIdT = Aws::String>
void SetNetworkInterfaceId (NetworkInterfaceIdT &&value)
 
template<typename NetworkInterfaceIdT = Aws::String>
AssociateAddressRequestWithNetworkInterfaceId (NetworkInterfaceIdT &&value)
 
 
 
template<typename PrivateIpAddressT = Aws::String>
void SetPrivateIpAddress (PrivateIpAddressT &&value)
 
template<typename PrivateIpAddressT = Aws::String>
AssociateAddressRequestWithPrivateIpAddress (PrivateIpAddressT &&value)
 
bool GetAllowReassociation () const
 
 
void SetAllowReassociation (bool value)
 
 

Public Member Functions inherited from Aws::EC2::EC2Request

virtual ~EC2Request ()
 
 
 

Public Member Functions inherited from Aws::AmazonSerializableWebServiceRequest

 
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 

Public Member Functions inherited from Aws::AmazonWebServiceRequest

 
virtual ~AmazonWebServiceRequest ()=default
 
 
virtual void SetAdditionalCustomHeaderValue (const Aws::String &headerName, const Aws::String &headerValue)
 
virtual void AddQueryStringParameters (Aws::Http::URI &uri) const
 
virtual void PutToPresignedUrl (Aws::Http::URI &uri) const
 
virtual bool IsStreaming () const
 
virtual bool IsEventStreamRequest () const
 
virtual bool HasEventStreamResponse () const
 
virtual bool SignBody () const
 
virtual bool HasEmbeddedError (Aws::IOStream &body, const Aws::Http::HeaderValueCollection &header) const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
 
 
 
 
 
 
 
 
virtual bool ShouldComputeContentMd5 () const
 
virtual bool ShouldValidateResponseChecksum () const
 
 
 
virtual void SetServiceSpecificParameters (const std::shared_ptr< Http::ServiceSpecificParameters > &serviceSpecificParameters) const
 
 
 
 
 
 
virtual bool RequestChecksumRequired () const
 
 
void SetRetryContext (const RetryContext &context) const
 
 
virtual void SetHeadersReceivedEventHandler (const Aws::Http::HeadersReceivedEventHandler &headersReceivedEventHandler)
 
virtual void SetHeadersReceivedEventHandler (Aws::Http::HeadersReceivedEventHandler &&headersReceivedEventHandler)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
 
virtual void SetHeadersReceivedEventHandler (const Aws::Http::HeadersReceivedEventHandler &headersReceivedEventHandler)
 
virtual void SetHeadersReceivedEventHandler (Aws::Http::HeadersReceivedEventHandler &&headersReceivedEventHandler)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
 

Protected Member Functions

AWS_EC2_API void DumpBodyToUrl (Aws::Http::URI &uri) const override
 

Protected Member Functions inherited from Aws::EC2::EC2Request

 

Additional Inherited Members

Public Types inherited from Aws::EC2::EC2Request

 
 

Public Types inherited from Aws::AmazonWebServiceRequest

 

Protected Attributes inherited from Aws::AmazonWebServiceRequest

 

Detailed Description

Definition at line 19 of file AssociateAddressRequest.h.

Constructor & Destructor Documentation

◆ AssociateAddressRequest()

AWS_EC2_API Aws::EC2::Model::AssociateAddressRequest::AssociateAddressRequest ( )
default

Member Function Documentation

◆ AllocationIdHasBeenSet()

bool Aws::EC2::Model::AssociateAddressRequest::AllocationIdHasBeenSet ( ) const
inline

The allocation ID. This is required.

Definition at line 40 of file AssociateAddressRequest.h.

◆ AllowReassociationHasBeenSet()

bool Aws::EC2::Model::AssociateAddressRequest::AllowReassociationHasBeenSet ( ) const
inline

Reassociation is automatic, but you can specify false to ensure the operation fails if the Elastic IP address is already associated with another resource.

Definition at line 156 of file AssociateAddressRequest.h.

◆ DryRunHasBeenSet()

bool Aws::EC2::Model::AssociateAddressRequest::DryRunHasBeenSet ( ) const
inline

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Definition at line 99 of file AssociateAddressRequest.h.

◆ DumpBodyToUrl()

AWS_EC2_API void Aws::EC2::Model::AssociateAddressRequest::DumpBodyToUrl ( Aws::Http::URI uri) const
overrideprotectedvirtual

Reimplemented from Aws::AmazonWebServiceRequest.

◆ GetAllocationId()

const Aws::String & Aws::EC2::Model::AssociateAddressRequest::GetAllocationId ( ) const
inline

The allocation ID. This is required.

Definition at line 39 of file AssociateAddressRequest.h.

◆ GetAllowReassociation()

bool Aws::EC2::Model::AssociateAddressRequest::GetAllowReassociation ( ) const
inline

Reassociation is automatic, but you can specify false to ensure the operation fails if the Elastic IP address is already associated with another resource.

Definition at line 155 of file AssociateAddressRequest.h.

◆ GetDryRun()

bool Aws::EC2::Model::AssociateAddressRequest::GetDryRun ( ) const
inline

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Definition at line 98 of file AssociateAddressRequest.h.

◆ GetInstanceId()

const Aws::String & Aws::EC2::Model::AssociateAddressRequest::GetInstanceId ( ) const
inline

The ID of the instance. The instance must have exactly one attached network interface. You can specify either the instance ID or the network interface ID, but not both.

Definition at line 59 of file AssociateAddressRequest.h.

◆ GetNetworkInterfaceId()

const Aws::String & Aws::EC2::Model::AssociateAddressRequest::GetNetworkInterfaceId ( ) const
inline

The ID of the network interface. If the instance has more than one network interface, you must specify a network interface ID.

You can specify either the instance ID or the network interface ID, but not both.

Definition at line 116 of file AssociateAddressRequest.h.

◆ GetPrivateIpAddress()

const Aws::String & Aws::EC2::Model::AssociateAddressRequest::GetPrivateIpAddress ( ) const
inline

The primary or secondary private IP address to associate with the Elastic IP address. If no private IP address is specified, the Elastic IP address is associated with the primary private IP address.

Definition at line 136 of file AssociateAddressRequest.h.

◆ GetPublicIp()

const Aws::String & Aws::EC2::Model::AssociateAddressRequest::GetPublicIp ( ) const
inline

Deprecated.

Definition at line 77 of file AssociateAddressRequest.h.

◆ GetServiceRequestName()

virtual const char * Aws::EC2::Model::AssociateAddressRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 27 of file AssociateAddressRequest.h.

◆ InstanceIdHasBeenSet()

bool Aws::EC2::Model::AssociateAddressRequest::InstanceIdHasBeenSet ( ) const
inline

The ID of the instance. The instance must have exactly one attached network interface. You can specify either the instance ID or the network interface ID, but not both.

Definition at line 60 of file AssociateAddressRequest.h.

◆ NetworkInterfaceIdHasBeenSet()

bool Aws::EC2::Model::AssociateAddressRequest::NetworkInterfaceIdHasBeenSet ( ) const
inline

The ID of the network interface. If the instance has more than one network interface, you must specify a network interface ID.

You can specify either the instance ID or the network interface ID, but not both.

Definition at line 117 of file AssociateAddressRequest.h.

◆ PrivateIpAddressHasBeenSet()

bool Aws::EC2::Model::AssociateAddressRequest::PrivateIpAddressHasBeenSet ( ) const
inline

The primary or secondary private IP address to associate with the Elastic IP address. If no private IP address is specified, the Elastic IP address is associated with the primary private IP address.

Definition at line 137 of file AssociateAddressRequest.h.

◆ PublicIpHasBeenSet()

bool Aws::EC2::Model::AssociateAddressRequest::PublicIpHasBeenSet ( ) const
inline

Deprecated.

Definition at line 78 of file AssociateAddressRequest.h.

◆ SerializePayload()

AWS_EC2_API Aws::String Aws::EC2::Model::AssociateAddressRequest::SerializePayload ( ) const
overridevirtual

◆ SetAllocationId()

template<typename AllocationIdT = Aws::String>
void Aws::EC2::Model::AssociateAddressRequest::SetAllocationId ( AllocationIdT &&  value)
inline

The allocation ID. This is required.

Definition at line 42 of file AssociateAddressRequest.h.

◆ SetAllowReassociation()

void Aws::EC2::Model::AssociateAddressRequest::SetAllowReassociation ( bool  value)
inline

Reassociation is automatic, but you can specify false to ensure the operation fails if the Elastic IP address is already associated with another resource.

Definition at line 157 of file AssociateAddressRequest.h.

◆ SetDryRun()

void Aws::EC2::Model::AssociateAddressRequest::SetDryRun ( bool  value)
inline

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Definition at line 100 of file AssociateAddressRequest.h.

◆ SetInstanceId()

template<typename InstanceIdT = Aws::String>
void Aws::EC2::Model::AssociateAddressRequest::SetInstanceId ( InstanceIdT &&  value)
inline

The ID of the instance. The instance must have exactly one attached network interface. You can specify either the instance ID or the network interface ID, but not both.

Definition at line 62 of file AssociateAddressRequest.h.

◆ SetNetworkInterfaceId()

template<typename NetworkInterfaceIdT = Aws::String>
void Aws::EC2::Model::AssociateAddressRequest::SetNetworkInterfaceId ( NetworkInterfaceIdT &&  value)
inline

The ID of the network interface. If the instance has more than one network interface, you must specify a network interface ID.

You can specify either the instance ID or the network interface ID, but not both.

Definition at line 119 of file AssociateAddressRequest.h.

◆ SetPrivateIpAddress()

template<typename PrivateIpAddressT = Aws::String>
void Aws::EC2::Model::AssociateAddressRequest::SetPrivateIpAddress ( PrivateIpAddressT &&  value)
inline

The primary or secondary private IP address to associate with the Elastic IP address. If no private IP address is specified, the Elastic IP address is associated with the primary private IP address.

Definition at line 139 of file AssociateAddressRequest.h.

◆ SetPublicIp()

template<typename PublicIpT = Aws::String>
void Aws::EC2::Model::AssociateAddressRequest::SetPublicIp ( PublicIpT &&  value)
inline

Deprecated.

Definition at line 80 of file AssociateAddressRequest.h.

◆ WithAllocationId()

template<typename AllocationIdT = Aws::String>
AssociateAddressRequest & Aws::EC2::Model::AssociateAddressRequest::WithAllocationId ( AllocationIdT &&  value)
inline

The allocation ID. This is required.

Definition at line 47 of file AssociateAddressRequest.h.

◆ WithAllowReassociation()

AssociateAddressRequest & Aws::EC2::Model::AssociateAddressRequest::WithAllowReassociation ( bool  value)
inline

Reassociation is automatic, but you can specify false to ensure the operation fails if the Elastic IP address is already associated with another resource.

Definition at line 161 of file AssociateAddressRequest.h.

◆ WithDryRun()

AssociateAddressRequest & Aws::EC2::Model::AssociateAddressRequest::WithDryRun ( bool  value)
inline

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Definition at line 104 of file AssociateAddressRequest.h.

◆ WithInstanceId()

template<typename InstanceIdT = Aws::String>
AssociateAddressRequest & Aws::EC2::Model::AssociateAddressRequest::WithInstanceId ( InstanceIdT &&  value)
inline

The ID of the instance. The instance must have exactly one attached network interface. You can specify either the instance ID or the network interface ID, but not both.

Definition at line 67 of file AssociateAddressRequest.h.

◆ WithNetworkInterfaceId()

template<typename NetworkInterfaceIdT = Aws::String>
AssociateAddressRequest & Aws::EC2::Model::AssociateAddressRequest::WithNetworkInterfaceId ( NetworkInterfaceIdT &&  value)
inline

The ID of the network interface. If the instance has more than one network interface, you must specify a network interface ID.

You can specify either the instance ID or the network interface ID, but not both.

Definition at line 124 of file AssociateAddressRequest.h.

◆ WithPrivateIpAddress()

template<typename PrivateIpAddressT = Aws::String>
AssociateAddressRequest & Aws::EC2::Model::AssociateAddressRequest::WithPrivateIpAddress ( PrivateIpAddressT &&  value)
inline

The primary or secondary private IP address to associate with the Elastic IP address. If no private IP address is specified, the Elastic IP address is associated with the primary private IP address.

Definition at line 144 of file AssociateAddressRequest.h.

◆ WithPublicIp()

template<typename PublicIpT = Aws::String>
AssociateAddressRequest & Aws::EC2::Model::AssociateAddressRequest::WithPublicIp ( PublicIpT &&  value)
inline

Deprecated.

Definition at line 85 of file AssociateAddressRequest.h.


The documentation for this class was generated from the following file: