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

#include <ModifyNetworkInterfaceAttributeRequest.h>

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

Public Member Functions

 ModifyNetworkInterfaceAttributeRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const NetworkInterfaceAttachmentChangesGetAttachment () const
 
bool AttachmentHasBeenSet () const
 
void SetAttachment (const NetworkInterfaceAttachmentChanges &value)
 
void SetAttachment (NetworkInterfaceAttachmentChanges &&value)
 
ModifyNetworkInterfaceAttributeRequestWithAttachment (const NetworkInterfaceAttachmentChanges &value)
 
ModifyNetworkInterfaceAttributeRequestWithAttachment (NetworkInterfaceAttachmentChanges &&value)
 
const AttributeValueGetDescription () const
 
bool DescriptionHasBeenSet () const
 
void SetDescription (const AttributeValue &value)
 
void SetDescription (AttributeValue &&value)
 
ModifyNetworkInterfaceAttributeRequestWithDescription (const AttributeValue &value)
 
ModifyNetworkInterfaceAttributeRequestWithDescription (AttributeValue &&value)
 
bool GetDryRun () const
 
bool DryRunHasBeenSet () const
 
void SetDryRun (bool value)
 
ModifyNetworkInterfaceAttributeRequestWithDryRun (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)
 
ModifyNetworkInterfaceAttributeRequestWithGroups (const Aws::Vector< Aws::String > &value)
 
ModifyNetworkInterfaceAttributeRequestWithGroups (Aws::Vector< Aws::String > &&value)
 
ModifyNetworkInterfaceAttributeRequestAddGroups (const Aws::String &value)
 
ModifyNetworkInterfaceAttributeRequestAddGroups (Aws::String &&value)
 
ModifyNetworkInterfaceAttributeRequestAddGroups (const char *value)
 
const Aws::StringGetNetworkInterfaceId () const
 
bool NetworkInterfaceIdHasBeenSet () const
 
void SetNetworkInterfaceId (const Aws::String &value)
 
void SetNetworkInterfaceId (Aws::String &&value)
 
void SetNetworkInterfaceId (const char *value)
 
ModifyNetworkInterfaceAttributeRequestWithNetworkInterfaceId (const Aws::String &value)
 
ModifyNetworkInterfaceAttributeRequestWithNetworkInterfaceId (Aws::String &&value)
 
ModifyNetworkInterfaceAttributeRequestWithNetworkInterfaceId (const char *value)
 
const AttributeBooleanValueGetSourceDestCheck () const
 
bool SourceDestCheckHasBeenSet () const
 
void SetSourceDestCheck (const AttributeBooleanValue &value)
 
void SetSourceDestCheck (AttributeBooleanValue &&value)
 
ModifyNetworkInterfaceAttributeRequestWithSourceDestCheck (const AttributeBooleanValue &value)
 
ModifyNetworkInterfaceAttributeRequestWithSourceDestCheck (AttributeBooleanValue &&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 ModifyNetworkInterfaceAttribute.

See Also:

AWS API Reference

Definition at line 39 of file ModifyNetworkInterfaceAttributeRequest.h.

Constructor & Destructor Documentation

◆ ModifyNetworkInterfaceAttributeRequest()

Aws::EC2::Model::ModifyNetworkInterfaceAttributeRequest::ModifyNetworkInterfaceAttributeRequest ( )

Member Function Documentation

◆ AddGroups() [1/3]

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

Changes the security groups for the network interface. The new set of groups you specify replaces the current set. You must specify at least one group, even if it's just the default security group in the VPC. You must specify the ID of the security group, not the name.

Definition at line 212 of file ModifyNetworkInterfaceAttributeRequest.h.

◆ AddGroups() [2/3]

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

Changes the security groups for the network interface. The new set of groups you specify replaces the current set. You must specify at least one group, even if it's just the default security group in the VPC. You must specify the ID of the security group, not the name.

Definition at line 220 of file ModifyNetworkInterfaceAttributeRequest.h.

◆ AddGroups() [3/3]

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

Changes the security groups for the network interface. The new set of groups you specify replaces the current set. You must specify at least one group, even if it's just the default security group in the VPC. You must specify the ID of the security group, not the name.

Definition at line 228 of file ModifyNetworkInterfaceAttributeRequest.h.

◆ AttachmentHasBeenSet()

bool Aws::EC2::Model::ModifyNetworkInterfaceAttributeRequest::AttachmentHasBeenSet ( ) const
inline

Information about the interface attachment. If modifying the 'delete on termination' attribute, you must specify the ID of the interface attachment.

Definition at line 67 of file ModifyNetworkInterfaceAttributeRequest.h.

◆ DescriptionHasBeenSet()

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

A description for the network interface.

Definition at line 102 of file ModifyNetworkInterfaceAttributeRequest.h.

◆ DryRunHasBeenSet()

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

◆ DumpBodyToUrl()

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

◆ GetAttachment()

const NetworkInterfaceAttachmentChanges& Aws::EC2::Model::ModifyNetworkInterfaceAttributeRequest::GetAttachment ( ) const
inline

Information about the interface attachment. If modifying the 'delete on termination' attribute, you must specify the ID of the interface attachment.

Definition at line 61 of file ModifyNetworkInterfaceAttributeRequest.h.

◆ GetDescription()

const AttributeValue& Aws::EC2::Model::ModifyNetworkInterfaceAttributeRequest::GetDescription ( ) const
inline

A description for the network interface.

Definition at line 97 of file ModifyNetworkInterfaceAttributeRequest.h.

◆ GetDryRun()

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

◆ GetGroups()

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

Changes the security groups for the network interface. The new set of groups you specify replaces the current set. You must specify at least one group, even if it's just the default security group in the VPC. You must specify the ID of the security group, not the name.

Definition at line 164 of file ModifyNetworkInterfaceAttributeRequest.h.

◆ GetNetworkInterfaceId()

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

The ID of the network interface.

Definition at line 234 of file ModifyNetworkInterfaceAttributeRequest.h.

◆ GetServiceRequestName()

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

◆ GetSourceDestCheck()

const AttributeBooleanValue& Aws::EC2::Model::ModifyNetworkInterfaceAttributeRequest::GetSourceDestCheck ( ) const
inline

Indicates whether source/destination checking is enabled. A value of true means checking is enabled, and false means checking is disabled. This value must be false for a NAT instance to perform NAT. For more information, see NAT Instances in the Amazon Virtual Private Cloud User Guide.

Definition at line 280 of file ModifyNetworkInterfaceAttributeRequest.h.

◆ GroupsHasBeenSet()

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

Changes the security groups for the network interface. The new set of groups you specify replaces the current set. You must specify at least one group, even if it's just the default security group in the VPC. You must specify the ID of the security group, not the name.

Definition at line 172 of file ModifyNetworkInterfaceAttributeRequest.h.

◆ NetworkInterfaceIdHasBeenSet()

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

The ID of the network interface.

Definition at line 239 of file ModifyNetworkInterfaceAttributeRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetAttachment() [1/2]

void Aws::EC2::Model::ModifyNetworkInterfaceAttributeRequest::SetAttachment ( const NetworkInterfaceAttachmentChanges value)
inline

Information about the interface attachment. If modifying the 'delete on termination' attribute, you must specify the ID of the interface attachment.

Definition at line 73 of file ModifyNetworkInterfaceAttributeRequest.h.

◆ SetAttachment() [2/2]

void Aws::EC2::Model::ModifyNetworkInterfaceAttributeRequest::SetAttachment ( NetworkInterfaceAttachmentChanges &&  value)
inline

Information about the interface attachment. If modifying the 'delete on termination' attribute, you must specify the ID of the interface attachment.

Definition at line 79 of file ModifyNetworkInterfaceAttributeRequest.h.

◆ SetDescription() [1/2]

void Aws::EC2::Model::ModifyNetworkInterfaceAttributeRequest::SetDescription ( const AttributeValue value)
inline

A description for the network interface.

Definition at line 107 of file ModifyNetworkInterfaceAttributeRequest.h.

◆ SetDescription() [2/2]

void Aws::EC2::Model::ModifyNetworkInterfaceAttributeRequest::SetDescription ( AttributeValue &&  value)
inline

A description for the network interface.

Definition at line 112 of file ModifyNetworkInterfaceAttributeRequest.h.

◆ SetDryRun()

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

◆ SetGroups() [1/2]

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

Changes the security groups for the network interface. The new set of groups you specify replaces the current set. You must specify at least one group, even if it's just the default security group in the VPC. You must specify the ID of the security group, not the name.

Definition at line 180 of file ModifyNetworkInterfaceAttributeRequest.h.

◆ SetGroups() [2/2]

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

Changes the security groups for the network interface. The new set of groups you specify replaces the current set. You must specify at least one group, even if it's just the default security group in the VPC. You must specify the ID of the security group, not the name.

Definition at line 188 of file ModifyNetworkInterfaceAttributeRequest.h.

◆ SetNetworkInterfaceId() [1/3]

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

The ID of the network interface.

Definition at line 244 of file ModifyNetworkInterfaceAttributeRequest.h.

◆ SetNetworkInterfaceId() [2/3]

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

The ID of the network interface.

Definition at line 249 of file ModifyNetworkInterfaceAttributeRequest.h.

◆ SetNetworkInterfaceId() [3/3]

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

The ID of the network interface.

Definition at line 254 of file ModifyNetworkInterfaceAttributeRequest.h.

◆ SetSourceDestCheck() [1/2]

void Aws::EC2::Model::ModifyNetworkInterfaceAttributeRequest::SetSourceDestCheck ( const AttributeBooleanValue value)
inline

Indicates whether source/destination checking is enabled. A value of true means checking is enabled, and false means checking is disabled. This value must be false for a NAT instance to perform NAT. For more information, see NAT Instances in the Amazon Virtual Private Cloud User Guide.

Definition at line 300 of file ModifyNetworkInterfaceAttributeRequest.h.

◆ SetSourceDestCheck() [2/2]

void Aws::EC2::Model::ModifyNetworkInterfaceAttributeRequest::SetSourceDestCheck ( AttributeBooleanValue &&  value)
inline

Indicates whether source/destination checking is enabled. A value of true means checking is enabled, and false means checking is disabled. This value must be false for a NAT instance to perform NAT. For more information, see NAT Instances in the Amazon Virtual Private Cloud User Guide.

Definition at line 310 of file ModifyNetworkInterfaceAttributeRequest.h.

◆ SourceDestCheckHasBeenSet()

bool Aws::EC2::Model::ModifyNetworkInterfaceAttributeRequest::SourceDestCheckHasBeenSet ( ) const
inline

Indicates whether source/destination checking is enabled. A value of true means checking is enabled, and false means checking is disabled. This value must be false for a NAT instance to perform NAT. For more information, see NAT Instances in the Amazon Virtual Private Cloud User Guide.

Definition at line 290 of file ModifyNetworkInterfaceAttributeRequest.h.

◆ WithAttachment() [1/2]

ModifyNetworkInterfaceAttributeRequest& Aws::EC2::Model::ModifyNetworkInterfaceAttributeRequest::WithAttachment ( const NetworkInterfaceAttachmentChanges value)
inline

Information about the interface attachment. If modifying the 'delete on termination' attribute, you must specify the ID of the interface attachment.

Definition at line 85 of file ModifyNetworkInterfaceAttributeRequest.h.

◆ WithAttachment() [2/2]

ModifyNetworkInterfaceAttributeRequest& Aws::EC2::Model::ModifyNetworkInterfaceAttributeRequest::WithAttachment ( NetworkInterfaceAttachmentChanges &&  value)
inline

Information about the interface attachment. If modifying the 'delete on termination' attribute, you must specify the ID of the interface attachment.

Definition at line 91 of file ModifyNetworkInterfaceAttributeRequest.h.

◆ WithDescription() [1/2]

ModifyNetworkInterfaceAttributeRequest& Aws::EC2::Model::ModifyNetworkInterfaceAttributeRequest::WithDescription ( const AttributeValue value)
inline

A description for the network interface.

Definition at line 117 of file ModifyNetworkInterfaceAttributeRequest.h.

◆ WithDescription() [2/2]

ModifyNetworkInterfaceAttributeRequest& Aws::EC2::Model::ModifyNetworkInterfaceAttributeRequest::WithDescription ( AttributeValue &&  value)
inline

A description for the network interface.

Definition at line 122 of file ModifyNetworkInterfaceAttributeRequest.h.

◆ WithDryRun()

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

◆ WithGroups() [1/2]

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

Changes the security groups for the network interface. The new set of groups you specify replaces the current set. You must specify at least one group, even if it's just the default security group in the VPC. You must specify the ID of the security group, not the name.

Definition at line 196 of file ModifyNetworkInterfaceAttributeRequest.h.

◆ WithGroups() [2/2]

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

Changes the security groups for the network interface. The new set of groups you specify replaces the current set. You must specify at least one group, even if it's just the default security group in the VPC. You must specify the ID of the security group, not the name.

Definition at line 204 of file ModifyNetworkInterfaceAttributeRequest.h.

◆ WithNetworkInterfaceId() [1/3]

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

The ID of the network interface.

Definition at line 259 of file ModifyNetworkInterfaceAttributeRequest.h.

◆ WithNetworkInterfaceId() [2/3]

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

The ID of the network interface.

Definition at line 264 of file ModifyNetworkInterfaceAttributeRequest.h.

◆ WithNetworkInterfaceId() [3/3]

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

The ID of the network interface.

Definition at line 269 of file ModifyNetworkInterfaceAttributeRequest.h.

◆ WithSourceDestCheck() [1/2]

ModifyNetworkInterfaceAttributeRequest& Aws::EC2::Model::ModifyNetworkInterfaceAttributeRequest::WithSourceDestCheck ( const AttributeBooleanValue value)
inline

Indicates whether source/destination checking is enabled. A value of true means checking is enabled, and false means checking is disabled. This value must be false for a NAT instance to perform NAT. For more information, see NAT Instances in the Amazon Virtual Private Cloud User Guide.

Definition at line 320 of file ModifyNetworkInterfaceAttributeRequest.h.

◆ WithSourceDestCheck() [2/2]

ModifyNetworkInterfaceAttributeRequest& Aws::EC2::Model::ModifyNetworkInterfaceAttributeRequest::WithSourceDestCheck ( AttributeBooleanValue &&  value)
inline

Indicates whether source/destination checking is enabled. A value of true means checking is enabled, and false means checking is disabled. This value must be false for a NAT instance to perform NAT. For more information, see NAT Instances in the Amazon Virtual Private Cloud User Guide.

Definition at line 330 of file ModifyNetworkInterfaceAttributeRequest.h.


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