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

#include <CreateNetworkInterfaceRequest.h>

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

Public Member Functions

 CreateNetworkInterfaceRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::StringGetDescription () const
 
bool DescriptionHasBeenSet () const
 
void SetDescription (const Aws::String &value)
 
void SetDescription (Aws::String &&value)
 
void SetDescription (const char *value)
 
CreateNetworkInterfaceRequestWithDescription (const Aws::String &value)
 
CreateNetworkInterfaceRequestWithDescription (Aws::String &&value)
 
CreateNetworkInterfaceRequestWithDescription (const char *value)
 
bool GetDryRun () const
 
bool DryRunHasBeenSet () const
 
void SetDryRun (bool value)
 
CreateNetworkInterfaceRequestWithDryRun (bool value)
 
const Aws::Vector< Aws::String > & GetGroups () const
 
bool GroupsHasBeenSet () const
 
void SetGroups (const Aws::Vector< Aws::String > &value)
 
void SetGroups (Aws::Vector< Aws::String > &&value)
 
CreateNetworkInterfaceRequestWithGroups (const Aws::Vector< Aws::String > &value)
 
CreateNetworkInterfaceRequestWithGroups (Aws::Vector< Aws::String > &&value)
 
CreateNetworkInterfaceRequestAddGroups (const Aws::String &value)
 
CreateNetworkInterfaceRequestAddGroups (Aws::String &&value)
 
CreateNetworkInterfaceRequestAddGroups (const char *value)
 
int GetIpv6AddressCount () const
 
bool Ipv6AddressCountHasBeenSet () const
 
void SetIpv6AddressCount (int value)
 
CreateNetworkInterfaceRequestWithIpv6AddressCount (int value)
 
const Aws::Vector< InstanceIpv6Address > & GetIpv6Addresses () const
 
bool Ipv6AddressesHasBeenSet () const
 
void SetIpv6Addresses (const Aws::Vector< InstanceIpv6Address > &value)
 
void SetIpv6Addresses (Aws::Vector< InstanceIpv6Address > &&value)
 
CreateNetworkInterfaceRequestWithIpv6Addresses (const Aws::Vector< InstanceIpv6Address > &value)
 
CreateNetworkInterfaceRequestWithIpv6Addresses (Aws::Vector< InstanceIpv6Address > &&value)
 
CreateNetworkInterfaceRequestAddIpv6Addresses (const InstanceIpv6Address &value)
 
CreateNetworkInterfaceRequestAddIpv6Addresses (InstanceIpv6Address &&value)
 
const Aws::StringGetPrivateIpAddress () const
 
bool PrivateIpAddressHasBeenSet () const
 
void SetPrivateIpAddress (const Aws::String &value)
 
void SetPrivateIpAddress (Aws::String &&value)
 
void SetPrivateIpAddress (const char *value)
 
CreateNetworkInterfaceRequestWithPrivateIpAddress (const Aws::String &value)
 
CreateNetworkInterfaceRequestWithPrivateIpAddress (Aws::String &&value)
 
CreateNetworkInterfaceRequestWithPrivateIpAddress (const char *value)
 
const Aws::Vector< PrivateIpAddressSpecification > & GetPrivateIpAddresses () const
 
bool PrivateIpAddressesHasBeenSet () const
 
void SetPrivateIpAddresses (const Aws::Vector< PrivateIpAddressSpecification > &value)
 
void SetPrivateIpAddresses (Aws::Vector< PrivateIpAddressSpecification > &&value)
 
CreateNetworkInterfaceRequestWithPrivateIpAddresses (const Aws::Vector< PrivateIpAddressSpecification > &value)
 
CreateNetworkInterfaceRequestWithPrivateIpAddresses (Aws::Vector< PrivateIpAddressSpecification > &&value)
 
CreateNetworkInterfaceRequestAddPrivateIpAddresses (const PrivateIpAddressSpecification &value)
 
CreateNetworkInterfaceRequestAddPrivateIpAddresses (PrivateIpAddressSpecification &&value)
 
int GetSecondaryPrivateIpAddressCount () const
 
bool SecondaryPrivateIpAddressCountHasBeenSet () const
 
void SetSecondaryPrivateIpAddressCount (int value)
 
CreateNetworkInterfaceRequestWithSecondaryPrivateIpAddressCount (int value)
 
const NetworkInterfaceCreationTypeGetInterfaceType () const
 
bool InterfaceTypeHasBeenSet () const
 
void SetInterfaceType (const NetworkInterfaceCreationType &value)
 
void SetInterfaceType (NetworkInterfaceCreationType &&value)
 
CreateNetworkInterfaceRequestWithInterfaceType (const NetworkInterfaceCreationType &value)
 
CreateNetworkInterfaceRequestWithInterfaceType (NetworkInterfaceCreationType &&value)
 
const Aws::StringGetSubnetId () const
 
bool SubnetIdHasBeenSet () const
 
void SetSubnetId (const Aws::String &value)
 
void SetSubnetId (Aws::String &&value)
 
void SetSubnetId (const char *value)
 
CreateNetworkInterfaceRequestWithSubnetId (const Aws::String &value)
 
CreateNetworkInterfaceRequestWithSubnetId (Aws::String &&value)
 
CreateNetworkInterfaceRequestWithSubnetId (const char *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 CreateNetworkInterface.

See Also:

AWS API Reference

Definition at line 39 of file CreateNetworkInterfaceRequest.h.

Constructor & Destructor Documentation

◆ CreateNetworkInterfaceRequest()

Aws::EC2::Model::CreateNetworkInterfaceRequest::CreateNetworkInterfaceRequest ( )

Member Function Documentation

◆ AddGroups() [1/3]

CreateNetworkInterfaceRequest& Aws::EC2::Model::CreateNetworkInterfaceRequest::AddGroups ( const Aws::String value)
inline

The IDs of one or more security groups.

Definition at line 164 of file CreateNetworkInterfaceRequest.h.

◆ AddGroups() [2/3]

CreateNetworkInterfaceRequest& Aws::EC2::Model::CreateNetworkInterfaceRequest::AddGroups ( Aws::String &&  value)
inline

The IDs of one or more security groups.

Definition at line 169 of file CreateNetworkInterfaceRequest.h.

◆ AddGroups() [3/3]

CreateNetworkInterfaceRequest& Aws::EC2::Model::CreateNetworkInterfaceRequest::AddGroups ( const char *  value)
inline

The IDs of one or more security groups.

Definition at line 174 of file CreateNetworkInterfaceRequest.h.

◆ AddIpv6Addresses() [1/2]

CreateNetworkInterfaceRequest& Aws::EC2::Model::CreateNetworkInterfaceRequest::AddIpv6Addresses ( const InstanceIpv6Address value)
inline

One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. You can't use this option if you're specifying a number of IPv6 addresses.

Definition at line 261 of file CreateNetworkInterfaceRequest.h.

◆ AddIpv6Addresses() [2/2]

CreateNetworkInterfaceRequest& Aws::EC2::Model::CreateNetworkInterfaceRequest::AddIpv6Addresses ( InstanceIpv6Address &&  value)
inline

One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. You can't use this option if you're specifying a number of IPv6 addresses.

Definition at line 268 of file CreateNetworkInterfaceRequest.h.

◆ AddPrivateIpAddresses() [1/2]

CreateNetworkInterfaceRequest& Aws::EC2::Model::CreateNetworkInterfaceRequest::AddPrivateIpAddresses ( const PrivateIpAddressSpecification value)
inline

One or more private IPv4 addresses.

Definition at line 377 of file CreateNetworkInterfaceRequest.h.

◆ AddPrivateIpAddresses() [2/2]

CreateNetworkInterfaceRequest& Aws::EC2::Model::CreateNetworkInterfaceRequest::AddPrivateIpAddresses ( PrivateIpAddressSpecification &&  value)
inline

One or more private IPv4 addresses.

Definition at line 382 of file CreateNetworkInterfaceRequest.h.

◆ DescriptionHasBeenSet()

bool Aws::EC2::Model::CreateNetworkInterfaceRequest::DescriptionHasBeenSet ( ) const
inline

A description for the network interface.

Definition at line 65 of file CreateNetworkInterfaceRequest.h.

◆ DryRunHasBeenSet()

bool Aws::EC2::Model::CreateNetworkInterfaceRequest::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 112 of file CreateNetworkInterfaceRequest.h.

◆ DumpBodyToUrl()

void Aws::EC2::Model::CreateNetworkInterfaceRequest::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.

◆ GetDescription()

const Aws::String& Aws::EC2::Model::CreateNetworkInterfaceRequest::GetDescription ( ) const
inline

A description for the network interface.

Definition at line 60 of file CreateNetworkInterfaceRequest.h.

◆ GetDryRun()

bool Aws::EC2::Model::CreateNetworkInterfaceRequest::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 104 of file CreateNetworkInterfaceRequest.h.

◆ GetGroups()

const Aws::Vector<Aws::String>& Aws::EC2::Model::CreateNetworkInterfaceRequest::GetGroups ( ) const
inline

The IDs of one or more security groups.

Definition at line 134 of file CreateNetworkInterfaceRequest.h.

◆ GetInterfaceType()

const NetworkInterfaceCreationType& Aws::EC2::Model::CreateNetworkInterfaceRequest::GetInterfaceType ( ) const
inline

Indicates the type of network interface. To create an Elastic Fabric Adapter (EFA), specify efa. For more information, see Elastic Fabric Adapter in the Amazon Elastic Compute Cloud User Guide.

Definition at line 448 of file CreateNetworkInterfaceRequest.h.

◆ GetIpv6AddressCount()

int Aws::EC2::Model::CreateNetworkInterfaceRequest::GetIpv6AddressCount ( ) const
inline

The number of IPv6 addresses to assign to a network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You can't use this option if specifying specific IPv6 addresses. If your subnet has the AssignIpv6AddressOnCreation attribute set to true, you can specify 0 to override this setting.

Definition at line 184 of file CreateNetworkInterfaceRequest.h.

◆ GetIpv6Addresses()

const Aws::Vector<InstanceIpv6Address>& Aws::EC2::Model::CreateNetworkInterfaceRequest::GetIpv6Addresses ( ) const
inline

One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. You can't use this option if you're specifying a number of IPv6 addresses.

Definition at line 219 of file CreateNetworkInterfaceRequest.h.

◆ GetPrivateIpAddress()

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

The primary private IPv4 address of the network interface. If you don't specify an IPv4 address, Amazon EC2 selects one for you from the subnet's IPv4 CIDR range. If you specify an IP address, you cannot indicate any IP addresses specified in privateIpAddresses as primary (only one IP address can be designated as primary).

Definition at line 278 of file CreateNetworkInterfaceRequest.h.

◆ GetPrivateIpAddresses()

const Aws::Vector<PrivateIpAddressSpecification>& Aws::EC2::Model::CreateNetworkInterfaceRequest::GetPrivateIpAddresses ( ) const
inline

One or more private IPv4 addresses.

Definition at line 347 of file CreateNetworkInterfaceRequest.h.

◆ GetSecondaryPrivateIpAddressCount()

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

The number of secondary private IPv4 addresses to assign to a network interface. When you specify a number of secondary IPv4 addresses, Amazon EC2 selects these IP addresses within the subnet's IPv4 CIDR range. You can't specify this option and specify more than one private IP address using privateIpAddresses.

The number of IP addresses you can assign to a network interface varies by instance type. For more information, see IP Addresses Per ENI Per Instance Type in the Amazon Virtual Private Cloud User Guide.

Definition at line 397 of file CreateNetworkInterfaceRequest.h.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 48 of file CreateNetworkInterfaceRequest.h.

◆ GetSubnetId()

const Aws::String& Aws::EC2::Model::CreateNetworkInterfaceRequest::GetSubnetId ( ) const
inline

The ID of the subnet to associate with the network interface.

Definition at line 494 of file CreateNetworkInterfaceRequest.h.

◆ GroupsHasBeenSet()

bool Aws::EC2::Model::CreateNetworkInterfaceRequest::GroupsHasBeenSet ( ) const
inline

The IDs of one or more security groups.

Definition at line 139 of file CreateNetworkInterfaceRequest.h.

◆ InterfaceTypeHasBeenSet()

bool Aws::EC2::Model::CreateNetworkInterfaceRequest::InterfaceTypeHasBeenSet ( ) const
inline

Indicates the type of network interface. To create an Elastic Fabric Adapter (EFA), specify efa. For more information, see Elastic Fabric Adapter in the Amazon Elastic Compute Cloud User Guide.

Definition at line 456 of file CreateNetworkInterfaceRequest.h.

◆ Ipv6AddressCountHasBeenSet()

bool Aws::EC2::Model::CreateNetworkInterfaceRequest::Ipv6AddressCountHasBeenSet ( ) const
inline

The number of IPv6 addresses to assign to a network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You can't use this option if specifying specific IPv6 addresses. If your subnet has the AssignIpv6AddressOnCreation attribute set to true, you can specify 0 to override this setting.

Definition at line 193 of file CreateNetworkInterfaceRequest.h.

◆ Ipv6AddressesHasBeenSet()

bool Aws::EC2::Model::CreateNetworkInterfaceRequest::Ipv6AddressesHasBeenSet ( ) const
inline

One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. You can't use this option if you're specifying a number of IPv6 addresses.

Definition at line 226 of file CreateNetworkInterfaceRequest.h.

◆ PrivateIpAddressesHasBeenSet()

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

One or more private IPv4 addresses.

Definition at line 352 of file CreateNetworkInterfaceRequest.h.

◆ PrivateIpAddressHasBeenSet()

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

The primary private IPv4 address of the network interface. If you don't specify an IPv4 address, Amazon EC2 selects one for you from the subnet's IPv4 CIDR range. If you specify an IP address, you cannot indicate any IP addresses specified in privateIpAddresses as primary (only one IP address can be designated as primary).

Definition at line 287 of file CreateNetworkInterfaceRequest.h.

◆ SecondaryPrivateIpAddressCountHasBeenSet()

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

The number of secondary private IPv4 addresses to assign to a network interface. When you specify a number of secondary IPv4 addresses, Amazon EC2 selects these IP addresses within the subnet's IPv4 CIDR range. You can't specify this option and specify more than one private IP address using privateIpAddresses.

The number of IP addresses you can assign to a network interface varies by instance type. For more information, see IP Addresses Per ENI Per Instance Type in the Amazon Virtual Private Cloud User Guide.

Definition at line 411 of file CreateNetworkInterfaceRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetDescription() [1/3]

void Aws::EC2::Model::CreateNetworkInterfaceRequest::SetDescription ( const Aws::String value)
inline

A description for the network interface.

Definition at line 70 of file CreateNetworkInterfaceRequest.h.

◆ SetDescription() [2/3]

void Aws::EC2::Model::CreateNetworkInterfaceRequest::SetDescription ( Aws::String &&  value)
inline

A description for the network interface.

Definition at line 75 of file CreateNetworkInterfaceRequest.h.

◆ SetDescription() [3/3]

void Aws::EC2::Model::CreateNetworkInterfaceRequest::SetDescription ( const char *  value)
inline

A description for the network interface.

Definition at line 80 of file CreateNetworkInterfaceRequest.h.

◆ SetDryRun()

void Aws::EC2::Model::CreateNetworkInterfaceRequest::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 120 of file CreateNetworkInterfaceRequest.h.

◆ SetGroups() [1/2]

void Aws::EC2::Model::CreateNetworkInterfaceRequest::SetGroups ( const Aws::Vector< Aws::String > &  value)
inline

The IDs of one or more security groups.

Definition at line 144 of file CreateNetworkInterfaceRequest.h.

◆ SetGroups() [2/2]

void Aws::EC2::Model::CreateNetworkInterfaceRequest::SetGroups ( Aws::Vector< Aws::String > &&  value)
inline

The IDs of one or more security groups.

Definition at line 149 of file CreateNetworkInterfaceRequest.h.

◆ SetInterfaceType() [1/2]

void Aws::EC2::Model::CreateNetworkInterfaceRequest::SetInterfaceType ( const NetworkInterfaceCreationType value)
inline

Indicates the type of network interface. To create an Elastic Fabric Adapter (EFA), specify efa. For more information, see Elastic Fabric Adapter in the Amazon Elastic Compute Cloud User Guide.

Definition at line 464 of file CreateNetworkInterfaceRequest.h.

◆ SetInterfaceType() [2/2]

void Aws::EC2::Model::CreateNetworkInterfaceRequest::SetInterfaceType ( NetworkInterfaceCreationType &&  value)
inline

Indicates the type of network interface. To create an Elastic Fabric Adapter (EFA), specify efa. For more information, see Elastic Fabric Adapter in the Amazon Elastic Compute Cloud User Guide.

Definition at line 472 of file CreateNetworkInterfaceRequest.h.

◆ SetIpv6AddressCount()

void Aws::EC2::Model::CreateNetworkInterfaceRequest::SetIpv6AddressCount ( int  value)
inline

The number of IPv6 addresses to assign to a network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You can't use this option if specifying specific IPv6 addresses. If your subnet has the AssignIpv6AddressOnCreation attribute set to true, you can specify 0 to override this setting.

Definition at line 202 of file CreateNetworkInterfaceRequest.h.

◆ SetIpv6Addresses() [1/2]

void Aws::EC2::Model::CreateNetworkInterfaceRequest::SetIpv6Addresses ( const Aws::Vector< InstanceIpv6Address > &  value)
inline

One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. You can't use this option if you're specifying a number of IPv6 addresses.

Definition at line 233 of file CreateNetworkInterfaceRequest.h.

◆ SetIpv6Addresses() [2/2]

void Aws::EC2::Model::CreateNetworkInterfaceRequest::SetIpv6Addresses ( Aws::Vector< InstanceIpv6Address > &&  value)
inline

One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. You can't use this option if you're specifying a number of IPv6 addresses.

Definition at line 240 of file CreateNetworkInterfaceRequest.h.

◆ SetPrivateIpAddress() [1/3]

void Aws::EC2::Model::CreateNetworkInterfaceRequest::SetPrivateIpAddress ( const Aws::String value)
inline

The primary private IPv4 address of the network interface. If you don't specify an IPv4 address, Amazon EC2 selects one for you from the subnet's IPv4 CIDR range. If you specify an IP address, you cannot indicate any IP addresses specified in privateIpAddresses as primary (only one IP address can be designated as primary).

Definition at line 296 of file CreateNetworkInterfaceRequest.h.

◆ SetPrivateIpAddress() [2/3]

void Aws::EC2::Model::CreateNetworkInterfaceRequest::SetPrivateIpAddress ( Aws::String &&  value)
inline

The primary private IPv4 address of the network interface. If you don't specify an IPv4 address, Amazon EC2 selects one for you from the subnet's IPv4 CIDR range. If you specify an IP address, you cannot indicate any IP addresses specified in privateIpAddresses as primary (only one IP address can be designated as primary).

Definition at line 305 of file CreateNetworkInterfaceRequest.h.

◆ SetPrivateIpAddress() [3/3]

void Aws::EC2::Model::CreateNetworkInterfaceRequest::SetPrivateIpAddress ( const char *  value)
inline

The primary private IPv4 address of the network interface. If you don't specify an IPv4 address, Amazon EC2 selects one for you from the subnet's IPv4 CIDR range. If you specify an IP address, you cannot indicate any IP addresses specified in privateIpAddresses as primary (only one IP address can be designated as primary).

Definition at line 314 of file CreateNetworkInterfaceRequest.h.

◆ SetPrivateIpAddresses() [1/2]

void Aws::EC2::Model::CreateNetworkInterfaceRequest::SetPrivateIpAddresses ( const Aws::Vector< PrivateIpAddressSpecification > &  value)
inline

One or more private IPv4 addresses.

Definition at line 357 of file CreateNetworkInterfaceRequest.h.

◆ SetPrivateIpAddresses() [2/2]

void Aws::EC2::Model::CreateNetworkInterfaceRequest::SetPrivateIpAddresses ( Aws::Vector< PrivateIpAddressSpecification > &&  value)
inline

One or more private IPv4 addresses.

Definition at line 362 of file CreateNetworkInterfaceRequest.h.

◆ SetSecondaryPrivateIpAddressCount()

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

The number of secondary private IPv4 addresses to assign to a network interface. When you specify a number of secondary IPv4 addresses, Amazon EC2 selects these IP addresses within the subnet's IPv4 CIDR range. You can't specify this option and specify more than one private IP address using privateIpAddresses.

The number of IP addresses you can assign to a network interface varies by instance type. For more information, see IP Addresses Per ENI Per Instance Type in the Amazon Virtual Private Cloud User Guide.

Definition at line 425 of file CreateNetworkInterfaceRequest.h.

◆ SetSubnetId() [1/3]

void Aws::EC2::Model::CreateNetworkInterfaceRequest::SetSubnetId ( const Aws::String value)
inline

The ID of the subnet to associate with the network interface.

Definition at line 504 of file CreateNetworkInterfaceRequest.h.

◆ SetSubnetId() [2/3]

void Aws::EC2::Model::CreateNetworkInterfaceRequest::SetSubnetId ( Aws::String &&  value)
inline

The ID of the subnet to associate with the network interface.

Definition at line 509 of file CreateNetworkInterfaceRequest.h.

◆ SetSubnetId() [3/3]

void Aws::EC2::Model::CreateNetworkInterfaceRequest::SetSubnetId ( const char *  value)
inline

The ID of the subnet to associate with the network interface.

Definition at line 514 of file CreateNetworkInterfaceRequest.h.

◆ SubnetIdHasBeenSet()

bool Aws::EC2::Model::CreateNetworkInterfaceRequest::SubnetIdHasBeenSet ( ) const
inline

The ID of the subnet to associate with the network interface.

Definition at line 499 of file CreateNetworkInterfaceRequest.h.

◆ WithDescription() [1/3]

CreateNetworkInterfaceRequest& Aws::EC2::Model::CreateNetworkInterfaceRequest::WithDescription ( const Aws::String value)
inline

A description for the network interface.

Definition at line 85 of file CreateNetworkInterfaceRequest.h.

◆ WithDescription() [2/3]

CreateNetworkInterfaceRequest& Aws::EC2::Model::CreateNetworkInterfaceRequest::WithDescription ( Aws::String &&  value)
inline

A description for the network interface.

Definition at line 90 of file CreateNetworkInterfaceRequest.h.

◆ WithDescription() [3/3]

CreateNetworkInterfaceRequest& Aws::EC2::Model::CreateNetworkInterfaceRequest::WithDescription ( const char *  value)
inline

A description for the network interface.

Definition at line 95 of file CreateNetworkInterfaceRequest.h.

◆ WithDryRun()

CreateNetworkInterfaceRequest& Aws::EC2::Model::CreateNetworkInterfaceRequest::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 128 of file CreateNetworkInterfaceRequest.h.

◆ WithGroups() [1/2]

CreateNetworkInterfaceRequest& Aws::EC2::Model::CreateNetworkInterfaceRequest::WithGroups ( const Aws::Vector< Aws::String > &  value)
inline

The IDs of one or more security groups.

Definition at line 154 of file CreateNetworkInterfaceRequest.h.

◆ WithGroups() [2/2]

CreateNetworkInterfaceRequest& Aws::EC2::Model::CreateNetworkInterfaceRequest::WithGroups ( Aws::Vector< Aws::String > &&  value)
inline

The IDs of one or more security groups.

Definition at line 159 of file CreateNetworkInterfaceRequest.h.

◆ WithInterfaceType() [1/2]

CreateNetworkInterfaceRequest& Aws::EC2::Model::CreateNetworkInterfaceRequest::WithInterfaceType ( const NetworkInterfaceCreationType value)
inline

Indicates the type of network interface. To create an Elastic Fabric Adapter (EFA), specify efa. For more information, see Elastic Fabric Adapter in the Amazon Elastic Compute Cloud User Guide.

Definition at line 480 of file CreateNetworkInterfaceRequest.h.

◆ WithInterfaceType() [2/2]

CreateNetworkInterfaceRequest& Aws::EC2::Model::CreateNetworkInterfaceRequest::WithInterfaceType ( NetworkInterfaceCreationType &&  value)
inline

Indicates the type of network interface. To create an Elastic Fabric Adapter (EFA), specify efa. For more information, see Elastic Fabric Adapter in the Amazon Elastic Compute Cloud User Guide.

Definition at line 488 of file CreateNetworkInterfaceRequest.h.

◆ WithIpv6AddressCount()

CreateNetworkInterfaceRequest& Aws::EC2::Model::CreateNetworkInterfaceRequest::WithIpv6AddressCount ( int  value)
inline

The number of IPv6 addresses to assign to a network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You can't use this option if specifying specific IPv6 addresses. If your subnet has the AssignIpv6AddressOnCreation attribute set to true, you can specify 0 to override this setting.

Definition at line 211 of file CreateNetworkInterfaceRequest.h.

◆ WithIpv6Addresses() [1/2]

CreateNetworkInterfaceRequest& Aws::EC2::Model::CreateNetworkInterfaceRequest::WithIpv6Addresses ( const Aws::Vector< InstanceIpv6Address > &  value)
inline

One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. You can't use this option if you're specifying a number of IPv6 addresses.

Definition at line 247 of file CreateNetworkInterfaceRequest.h.

◆ WithIpv6Addresses() [2/2]

CreateNetworkInterfaceRequest& Aws::EC2::Model::CreateNetworkInterfaceRequest::WithIpv6Addresses ( Aws::Vector< InstanceIpv6Address > &&  value)
inline

One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. You can't use this option if you're specifying a number of IPv6 addresses.

Definition at line 254 of file CreateNetworkInterfaceRequest.h.

◆ WithPrivateIpAddress() [1/3]

CreateNetworkInterfaceRequest& Aws::EC2::Model::CreateNetworkInterfaceRequest::WithPrivateIpAddress ( const Aws::String value)
inline

The primary private IPv4 address of the network interface. If you don't specify an IPv4 address, Amazon EC2 selects one for you from the subnet's IPv4 CIDR range. If you specify an IP address, you cannot indicate any IP addresses specified in privateIpAddresses as primary (only one IP address can be designated as primary).

Definition at line 323 of file CreateNetworkInterfaceRequest.h.

◆ WithPrivateIpAddress() [2/3]

CreateNetworkInterfaceRequest& Aws::EC2::Model::CreateNetworkInterfaceRequest::WithPrivateIpAddress ( Aws::String &&  value)
inline

The primary private IPv4 address of the network interface. If you don't specify an IPv4 address, Amazon EC2 selects one for you from the subnet's IPv4 CIDR range. If you specify an IP address, you cannot indicate any IP addresses specified in privateIpAddresses as primary (only one IP address can be designated as primary).

Definition at line 332 of file CreateNetworkInterfaceRequest.h.

◆ WithPrivateIpAddress() [3/3]

CreateNetworkInterfaceRequest& Aws::EC2::Model::CreateNetworkInterfaceRequest::WithPrivateIpAddress ( const char *  value)
inline

The primary private IPv4 address of the network interface. If you don't specify an IPv4 address, Amazon EC2 selects one for you from the subnet's IPv4 CIDR range. If you specify an IP address, you cannot indicate any IP addresses specified in privateIpAddresses as primary (only one IP address can be designated as primary).

Definition at line 341 of file CreateNetworkInterfaceRequest.h.

◆ WithPrivateIpAddresses() [1/2]

CreateNetworkInterfaceRequest& Aws::EC2::Model::CreateNetworkInterfaceRequest::WithPrivateIpAddresses ( const Aws::Vector< PrivateIpAddressSpecification > &  value)
inline

One or more private IPv4 addresses.

Definition at line 367 of file CreateNetworkInterfaceRequest.h.

◆ WithPrivateIpAddresses() [2/2]

CreateNetworkInterfaceRequest& Aws::EC2::Model::CreateNetworkInterfaceRequest::WithPrivateIpAddresses ( Aws::Vector< PrivateIpAddressSpecification > &&  value)
inline

One or more private IPv4 addresses.

Definition at line 372 of file CreateNetworkInterfaceRequest.h.

◆ WithSecondaryPrivateIpAddressCount()

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

The number of secondary private IPv4 addresses to assign to a network interface. When you specify a number of secondary IPv4 addresses, Amazon EC2 selects these IP addresses within the subnet's IPv4 CIDR range. You can't specify this option and specify more than one private IP address using privateIpAddresses.

The number of IP addresses you can assign to a network interface varies by instance type. For more information, see IP Addresses Per ENI Per Instance Type in the Amazon Virtual Private Cloud User Guide.

Definition at line 439 of file CreateNetworkInterfaceRequest.h.

◆ WithSubnetId() [1/3]

CreateNetworkInterfaceRequest& Aws::EC2::Model::CreateNetworkInterfaceRequest::WithSubnetId ( const Aws::String value)
inline

The ID of the subnet to associate with the network interface.

Definition at line 519 of file CreateNetworkInterfaceRequest.h.

◆ WithSubnetId() [2/3]

CreateNetworkInterfaceRequest& Aws::EC2::Model::CreateNetworkInterfaceRequest::WithSubnetId ( Aws::String &&  value)
inline

The ID of the subnet to associate with the network interface.

Definition at line 524 of file CreateNetworkInterfaceRequest.h.

◆ WithSubnetId() [3/3]

CreateNetworkInterfaceRequest& Aws::EC2::Model::CreateNetworkInterfaceRequest::WithSubnetId ( const char *  value)
inline

The ID of the subnet to associate with the network interface.

Definition at line 529 of file CreateNetworkInterfaceRequest.h.


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