AWS SDK for C++  1.7.226
AWS SDK for C++
Public Member Functions | Protected Member Functions | List of all members
Aws::EC2::Model::AssignPrivateIpAddressesRequest Class Reference

#include <AssignPrivateIpAddressesRequest.h>

+ Inheritance diagram for Aws::EC2::Model::AssignPrivateIpAddressesRequest:

Public Member Functions

 AssignPrivateIpAddressesRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
bool GetAllowReassignment () const
 
bool AllowReassignmentHasBeenSet () const
 
void SetAllowReassignment (bool value)
 
AssignPrivateIpAddressesRequestWithAllowReassignment (bool value)
 
const Aws::StringGetNetworkInterfaceId () const
 
bool NetworkInterfaceIdHasBeenSet () const
 
void SetNetworkInterfaceId (const Aws::String &value)
 
void SetNetworkInterfaceId (Aws::String &&value)
 
void SetNetworkInterfaceId (const char *value)
 
AssignPrivateIpAddressesRequestWithNetworkInterfaceId (const Aws::String &value)
 
AssignPrivateIpAddressesRequestWithNetworkInterfaceId (Aws::String &&value)
 
AssignPrivateIpAddressesRequestWithNetworkInterfaceId (const char *value)
 
const Aws::Vector< Aws::String > & GetPrivateIpAddresses () const
 
bool PrivateIpAddressesHasBeenSet () const
 
void SetPrivateIpAddresses (const Aws::Vector< Aws::String > &value)
 
void SetPrivateIpAddresses (Aws::Vector< Aws::String > &&value)
 
AssignPrivateIpAddressesRequestWithPrivateIpAddresses (const Aws::Vector< Aws::String > &value)
 
AssignPrivateIpAddressesRequestWithPrivateIpAddresses (Aws::Vector< Aws::String > &&value)
 
AssignPrivateIpAddressesRequestAddPrivateIpAddresses (const Aws::String &value)
 
AssignPrivateIpAddressesRequestAddPrivateIpAddresses (Aws::String &&value)
 
AssignPrivateIpAddressesRequestAddPrivateIpAddresses (const char *value)
 
int GetSecondaryPrivateIpAddressCount () const
 
bool SecondaryPrivateIpAddressCountHasBeenSet () const
 
void SetSecondaryPrivateIpAddressCount (int value)
 
AssignPrivateIpAddressesRequestWithSecondaryPrivateIpAddressCount (int value)
 
- Public Member Functions inherited from Aws::EC2::EC2Request
virtual ~EC2Request ()
 
void AddParametersToRequest (Aws::Http::HttpRequest &httpRequest) const
 
Aws::Http::HeaderValueCollection GetHeaders () const override
 
- Public Member Functions inherited from Aws::AmazonSerializableWebServiceRequest
 AmazonSerializableWebServiceRequest ()
 
virtual ~AmazonSerializableWebServiceRequest ()
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 
- Public Member Functions inherited from Aws::AmazonWebServiceRequest
 AmazonWebServiceRequest ()
 
virtual ~AmazonWebServiceRequest ()=default
 
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 SignBody () const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
virtual const RequestSignedHandlerGetRequestSignedHandler () const
 
const Aws::IOStreamFactoryGetResponseStreamFactory () const
 
void SetResponseStreamFactory (const Aws::IOStreamFactory &factory)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
virtual void SetRequestRetryHandler (RequestRetryHandler &&handler)
 
virtual const Aws::Http::DataReceivedEventHandlerGetDataReceivedEventHandler () const
 
virtual const Aws::Http::DataSentEventHandlerGetDataSentEventHandler () const
 
virtual const Aws::Http::ContinueRequestHandlerGetContinueRequestHandler () const
 
virtual const RequestRetryHandlerGetRequestRetryHandler () const
 
virtual bool ShouldComputeContentMd5 () const
 

Protected Member Functions

void DumpBodyToUrl (Aws::Http::URI &uri) const override
 
- Protected Member Functions inherited from Aws::EC2::EC2Request
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const
 

Detailed Description

Contains the parameters for AssignPrivateIpAddresses.

See Also:

AWS API Reference

Definition at line 36 of file AssignPrivateIpAddressesRequest.h.

Constructor & Destructor Documentation

◆ AssignPrivateIpAddressesRequest()

Aws::EC2::Model::AssignPrivateIpAddressesRequest::AssignPrivateIpAddressesRequest ( )

Member Function Documentation

◆ AddPrivateIpAddresses() [1/3]

AssignPrivateIpAddressesRequest& Aws::EC2::Model::AssignPrivateIpAddressesRequest::AddPrivateIpAddresses ( const Aws::String value)
inline

One or more IP addresses to be assigned as a secondary private IP address to the network interface. You can't specify this parameter when also specifying a number of secondary IP addresses.

If you don't specify an IP address, Amazon EC2 automatically selects an IP address within the subnet range.

Definition at line 178 of file AssignPrivateIpAddressesRequest.h.

◆ AddPrivateIpAddresses() [2/3]

AssignPrivateIpAddressesRequest& Aws::EC2::Model::AssignPrivateIpAddressesRequest::AddPrivateIpAddresses ( Aws::String &&  value)
inline

One or more IP addresses to be assigned as a secondary private IP address to the network interface. You can't specify this parameter when also specifying a number of secondary IP addresses.

If you don't specify an IP address, Amazon EC2 automatically selects an IP address within the subnet range.

Definition at line 186 of file AssignPrivateIpAddressesRequest.h.

◆ AddPrivateIpAddresses() [3/3]

AssignPrivateIpAddressesRequest& Aws::EC2::Model::AssignPrivateIpAddressesRequest::AddPrivateIpAddresses ( const char *  value)
inline

One or more IP addresses to be assigned as a secondary private IP address to the network interface. You can't specify this parameter when also specifying a number of secondary IP addresses.

If you don't specify an IP address, Amazon EC2 automatically selects an IP address within the subnet range.

Definition at line 194 of file AssignPrivateIpAddressesRequest.h.

◆ AllowReassignmentHasBeenSet()

bool Aws::EC2::Model::AssignPrivateIpAddressesRequest::AllowReassignmentHasBeenSet ( ) const
inline

Indicates whether to allow an IP address that is already assigned to another network interface or instance to be reassigned to the specified network interface.

Definition at line 66 of file AssignPrivateIpAddressesRequest.h.

◆ DumpBodyToUrl()

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

Default does nothing. Override this to convert what would otherwise be the payload of the request to a query string format.

Reimplemented from Aws::AmazonWebServiceRequest.

◆ GetAllowReassignment()

bool Aws::EC2::Model::AssignPrivateIpAddressesRequest::GetAllowReassignment ( ) const
inline

Indicates whether to allow an IP address that is already assigned to another network interface or instance to be reassigned to the specified network interface.

Definition at line 59 of file AssignPrivateIpAddressesRequest.h.

◆ GetNetworkInterfaceId()

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

The ID of the network interface.

Definition at line 86 of file AssignPrivateIpAddressesRequest.h.

◆ GetPrivateIpAddresses()

const Aws::Vector<Aws::String>& Aws::EC2::Model::AssignPrivateIpAddressesRequest::GetPrivateIpAddresses ( ) const
inline

One or more IP addresses to be assigned as a secondary private IP address to the network interface. You can't specify this parameter when also specifying a number of secondary IP addresses.

If you don't specify an IP address, Amazon EC2 automatically selects an IP address within the subnet range.

Definition at line 130 of file AssignPrivateIpAddressesRequest.h.

◆ GetSecondaryPrivateIpAddressCount()

int Aws::EC2::Model::AssignPrivateIpAddressesRequest::GetSecondaryPrivateIpAddressCount ( ) const
inline

The number of secondary IP addresses to assign to the network interface. You can't specify this parameter when also specifying private IP addresses.

Definition at line 201 of file AssignPrivateIpAddressesRequest.h.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 45 of file AssignPrivateIpAddressesRequest.h.

◆ NetworkInterfaceIdHasBeenSet()

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

The ID of the network interface.

Definition at line 91 of file AssignPrivateIpAddressesRequest.h.

◆ PrivateIpAddressesHasBeenSet()

bool Aws::EC2::Model::AssignPrivateIpAddressesRequest::PrivateIpAddressesHasBeenSet ( ) const
inline

One or more IP addresses to be assigned as a secondary private IP address to the network interface. You can't specify this parameter when also specifying a number of secondary IP addresses.

If you don't specify an IP address, Amazon EC2 automatically selects an IP address within the subnet range.

Definition at line 138 of file AssignPrivateIpAddressesRequest.h.

◆ SecondaryPrivateIpAddressCountHasBeenSet()

bool Aws::EC2::Model::AssignPrivateIpAddressesRequest::SecondaryPrivateIpAddressCountHasBeenSet ( ) const
inline

The number of secondary IP addresses to assign to the network interface. You can't specify this parameter when also specifying private IP addresses.

Definition at line 207 of file AssignPrivateIpAddressesRequest.h.

◆ SerializePayload()

Aws::String Aws::EC2::Model::AssignPrivateIpAddressesRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetAllowReassignment()

void Aws::EC2::Model::AssignPrivateIpAddressesRequest::SetAllowReassignment ( bool  value)
inline

Indicates whether to allow an IP address that is already assigned to another network interface or instance to be reassigned to the specified network interface.

Definition at line 73 of file AssignPrivateIpAddressesRequest.h.

◆ SetNetworkInterfaceId() [1/3]

void Aws::EC2::Model::AssignPrivateIpAddressesRequest::SetNetworkInterfaceId ( const Aws::String value)
inline

The ID of the network interface.

Definition at line 96 of file AssignPrivateIpAddressesRequest.h.

◆ SetNetworkInterfaceId() [2/3]

void Aws::EC2::Model::AssignPrivateIpAddressesRequest::SetNetworkInterfaceId ( Aws::String &&  value)
inline

The ID of the network interface.

Definition at line 101 of file AssignPrivateIpAddressesRequest.h.

◆ SetNetworkInterfaceId() [3/3]

void Aws::EC2::Model::AssignPrivateIpAddressesRequest::SetNetworkInterfaceId ( const char *  value)
inline

The ID of the network interface.

Definition at line 106 of file AssignPrivateIpAddressesRequest.h.

◆ SetPrivateIpAddresses() [1/2]

void Aws::EC2::Model::AssignPrivateIpAddressesRequest::SetPrivateIpAddresses ( const Aws::Vector< Aws::String > &  value)
inline

One or more IP addresses to be assigned as a secondary private IP address to the network interface. You can't specify this parameter when also specifying a number of secondary IP addresses.

If you don't specify an IP address, Amazon EC2 automatically selects an IP address within the subnet range.

Definition at line 146 of file AssignPrivateIpAddressesRequest.h.

◆ SetPrivateIpAddresses() [2/2]

void Aws::EC2::Model::AssignPrivateIpAddressesRequest::SetPrivateIpAddresses ( Aws::Vector< Aws::String > &&  value)
inline

One or more IP addresses to be assigned as a secondary private IP address to the network interface. You can't specify this parameter when also specifying a number of secondary IP addresses.

If you don't specify an IP address, Amazon EC2 automatically selects an IP address within the subnet range.

Definition at line 154 of file AssignPrivateIpAddressesRequest.h.

◆ SetSecondaryPrivateIpAddressCount()

void Aws::EC2::Model::AssignPrivateIpAddressesRequest::SetSecondaryPrivateIpAddressCount ( int  value)
inline

The number of secondary IP addresses to assign to the network interface. You can't specify this parameter when also specifying private IP addresses.

Definition at line 213 of file AssignPrivateIpAddressesRequest.h.

◆ WithAllowReassignment()

AssignPrivateIpAddressesRequest& Aws::EC2::Model::AssignPrivateIpAddressesRequest::WithAllowReassignment ( bool  value)
inline

Indicates whether to allow an IP address that is already assigned to another network interface or instance to be reassigned to the specified network interface.

Definition at line 80 of file AssignPrivateIpAddressesRequest.h.

◆ WithNetworkInterfaceId() [1/3]

AssignPrivateIpAddressesRequest& Aws::EC2::Model::AssignPrivateIpAddressesRequest::WithNetworkInterfaceId ( const Aws::String value)
inline

The ID of the network interface.

Definition at line 111 of file AssignPrivateIpAddressesRequest.h.

◆ WithNetworkInterfaceId() [2/3]

AssignPrivateIpAddressesRequest& Aws::EC2::Model::AssignPrivateIpAddressesRequest::WithNetworkInterfaceId ( Aws::String &&  value)
inline

The ID of the network interface.

Definition at line 116 of file AssignPrivateIpAddressesRequest.h.

◆ WithNetworkInterfaceId() [3/3]

AssignPrivateIpAddressesRequest& Aws::EC2::Model::AssignPrivateIpAddressesRequest::WithNetworkInterfaceId ( const char *  value)
inline

The ID of the network interface.

Definition at line 121 of file AssignPrivateIpAddressesRequest.h.

◆ WithPrivateIpAddresses() [1/2]

AssignPrivateIpAddressesRequest& Aws::EC2::Model::AssignPrivateIpAddressesRequest::WithPrivateIpAddresses ( const Aws::Vector< Aws::String > &  value)
inline

One or more IP addresses to be assigned as a secondary private IP address to the network interface. You can't specify this parameter when also specifying a number of secondary IP addresses.

If you don't specify an IP address, Amazon EC2 automatically selects an IP address within the subnet range.

Definition at line 162 of file AssignPrivateIpAddressesRequest.h.

◆ WithPrivateIpAddresses() [2/2]

AssignPrivateIpAddressesRequest& Aws::EC2::Model::AssignPrivateIpAddressesRequest::WithPrivateIpAddresses ( Aws::Vector< Aws::String > &&  value)
inline

One or more IP addresses to be assigned as a secondary private IP address to the network interface. You can't specify this parameter when also specifying a number of secondary IP addresses.

If you don't specify an IP address, Amazon EC2 automatically selects an IP address within the subnet range.

Definition at line 170 of file AssignPrivateIpAddressesRequest.h.

◆ WithSecondaryPrivateIpAddressCount()

AssignPrivateIpAddressesRequest& Aws::EC2::Model::AssignPrivateIpAddressesRequest::WithSecondaryPrivateIpAddressCount ( int  value)
inline

The number of secondary IP addresses to assign to the network interface. You can't specify this parameter when also specifying private IP addresses.

Definition at line 219 of file AssignPrivateIpAddressesRequest.h.


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