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

#include <DetachNetworkInterfaceRequest.h>

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

Public Member Functions

 DetachNetworkInterfaceRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::StringGetAttachmentId () const
 
bool AttachmentIdHasBeenSet () const
 
void SetAttachmentId (const Aws::String &value)
 
void SetAttachmentId (Aws::String &&value)
 
void SetAttachmentId (const char *value)
 
DetachNetworkInterfaceRequestWithAttachmentId (const Aws::String &value)
 
DetachNetworkInterfaceRequestWithAttachmentId (Aws::String &&value)
 
DetachNetworkInterfaceRequestWithAttachmentId (const char *value)
 
bool GetDryRun () const
 
bool DryRunHasBeenSet () const
 
void SetDryRun (bool value)
 
DetachNetworkInterfaceRequestWithDryRun (bool value)
 
bool GetForce () const
 
bool ForceHasBeenSet () const
 
void SetForce (bool value)
 
DetachNetworkInterfaceRequestWithForce (bool 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 DetachNetworkInterface.

See Also:

AWS API Reference

Definition at line 35 of file DetachNetworkInterfaceRequest.h.

Constructor & Destructor Documentation

◆ DetachNetworkInterfaceRequest()

Aws::EC2::Model::DetachNetworkInterfaceRequest::DetachNetworkInterfaceRequest ( )

Member Function Documentation

◆ AttachmentIdHasBeenSet()

bool Aws::EC2::Model::DetachNetworkInterfaceRequest::AttachmentIdHasBeenSet ( ) const
inline

The ID of the attachment.

Definition at line 61 of file DetachNetworkInterfaceRequest.h.

◆ DryRunHasBeenSet()

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

◆ DumpBodyToUrl()

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

◆ ForceHasBeenSet()

bool Aws::EC2::Model::DetachNetworkInterfaceRequest::ForceHasBeenSet ( ) const
inline

Specifies whether to force a detachment.

<note>

  • Use the Force parameter only as a last resort to detach a network interface from a failed instance.

  • If you use the Force parameter to detach a network interface, you might not be able to attach a different network interface to the same index on the instance without first stopping and starting the instance.

  • If you force the detachment of a network interface, the instance metadata might not get updated. This means that the attributes associated with the detached network interface might still be visible. The instance metadata will get updated when you stop and start the instance.

</note>

Definition at line 157 of file DetachNetworkInterfaceRequest.h.

◆ GetAttachmentId()

const Aws::String& Aws::EC2::Model::DetachNetworkInterfaceRequest::GetAttachmentId ( ) const
inline

The ID of the attachment.

Definition at line 56 of file DetachNetworkInterfaceRequest.h.

◆ GetDryRun()

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

◆ GetForce()

bool Aws::EC2::Model::DetachNetworkInterfaceRequest::GetForce ( ) const
inline

Specifies whether to force a detachment.

<note>

  • Use the Force parameter only as a last resort to detach a network interface from a failed instance.

  • If you use the Force parameter to detach a network interface, you might not be able to attach a different network interface to the same index on the instance without first stopping and starting the instance.

  • If you force the detachment of a network interface, the instance metadata might not get updated. This means that the attributes associated with the detached network interface might still be visible. The instance metadata will get updated when you stop and start the instance.

</note>

Definition at line 141 of file DetachNetworkInterfaceRequest.h.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 44 of file DetachNetworkInterfaceRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetAttachmentId() [1/3]

void Aws::EC2::Model::DetachNetworkInterfaceRequest::SetAttachmentId ( const Aws::String value)
inline

The ID of the attachment.

Definition at line 66 of file DetachNetworkInterfaceRequest.h.

◆ SetAttachmentId() [2/3]

void Aws::EC2::Model::DetachNetworkInterfaceRequest::SetAttachmentId ( Aws::String &&  value)
inline

The ID of the attachment.

Definition at line 71 of file DetachNetworkInterfaceRequest.h.

◆ SetAttachmentId() [3/3]

void Aws::EC2::Model::DetachNetworkInterfaceRequest::SetAttachmentId ( const char *  value)
inline

The ID of the attachment.

Definition at line 76 of file DetachNetworkInterfaceRequest.h.

◆ SetDryRun()

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

◆ SetForce()

void Aws::EC2::Model::DetachNetworkInterfaceRequest::SetForce ( bool  value)
inline

Specifies whether to force a detachment.

<note>

  • Use the Force parameter only as a last resort to detach a network interface from a failed instance.

  • If you use the Force parameter to detach a network interface, you might not be able to attach a different network interface to the same index on the instance without first stopping and starting the instance.

  • If you force the detachment of a network interface, the instance metadata might not get updated. This means that the attributes associated with the detached network interface might still be visible. The instance metadata will get updated when you stop and start the instance.

</note>

Definition at line 173 of file DetachNetworkInterfaceRequest.h.

◆ WithAttachmentId() [1/3]

DetachNetworkInterfaceRequest& Aws::EC2::Model::DetachNetworkInterfaceRequest::WithAttachmentId ( const Aws::String value)
inline

The ID of the attachment.

Definition at line 81 of file DetachNetworkInterfaceRequest.h.

◆ WithAttachmentId() [2/3]

DetachNetworkInterfaceRequest& Aws::EC2::Model::DetachNetworkInterfaceRequest::WithAttachmentId ( Aws::String &&  value)
inline

The ID of the attachment.

Definition at line 86 of file DetachNetworkInterfaceRequest.h.

◆ WithAttachmentId() [3/3]

DetachNetworkInterfaceRequest& Aws::EC2::Model::DetachNetworkInterfaceRequest::WithAttachmentId ( const char *  value)
inline

The ID of the attachment.

Definition at line 91 of file DetachNetworkInterfaceRequest.h.

◆ WithDryRun()

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

◆ WithForce()

DetachNetworkInterfaceRequest& Aws::EC2::Model::DetachNetworkInterfaceRequest::WithForce ( bool  value)
inline

Specifies whether to force a detachment.

<note>

  • Use the Force parameter only as a last resort to detach a network interface from a failed instance.

  • If you use the Force parameter to detach a network interface, you might not be able to attach a different network interface to the same index on the instance without first stopping and starting the instance.

  • If you force the detachment of a network interface, the instance metadata might not get updated. This means that the attributes associated with the detached network interface might still be visible. The instance metadata will get updated when you stop and start the instance.

</note>

Definition at line 189 of file DetachNetworkInterfaceRequest.h.


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