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

#include <CancelImportTaskRequest.h>

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

Public Member Functions

 CancelImportTaskRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::StringGetCancelReason () const
 
bool CancelReasonHasBeenSet () const
 
void SetCancelReason (const Aws::String &value)
 
void SetCancelReason (Aws::String &&value)
 
void SetCancelReason (const char *value)
 
CancelImportTaskRequestWithCancelReason (const Aws::String &value)
 
CancelImportTaskRequestWithCancelReason (Aws::String &&value)
 
CancelImportTaskRequestWithCancelReason (const char *value)
 
bool GetDryRun () const
 
bool DryRunHasBeenSet () const
 
void SetDryRun (bool value)
 
CancelImportTaskRequestWithDryRun (bool value)
 
const Aws::StringGetImportTaskId () const
 
bool ImportTaskIdHasBeenSet () const
 
void SetImportTaskId (const Aws::String &value)
 
void SetImportTaskId (Aws::String &&value)
 
void SetImportTaskId (const char *value)
 
CancelImportTaskRequestWithImportTaskId (const Aws::String &value)
 
CancelImportTaskRequestWithImportTaskId (Aws::String &&value)
 
CancelImportTaskRequestWithImportTaskId (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

Definition at line 31 of file CancelImportTaskRequest.h.

Constructor & Destructor Documentation

◆ CancelImportTaskRequest()

Aws::EC2::Model::CancelImportTaskRequest::CancelImportTaskRequest ( )

Member Function Documentation

◆ CancelReasonHasBeenSet()

bool Aws::EC2::Model::CancelImportTaskRequest::CancelReasonHasBeenSet ( ) const
inline

The reason for canceling the task.

Definition at line 57 of file CancelImportTaskRequest.h.

◆ DryRunHasBeenSet()

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

◆ DumpBodyToUrl()

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

◆ GetCancelReason()

const Aws::String& Aws::EC2::Model::CancelImportTaskRequest::GetCancelReason ( ) const
inline

The reason for canceling the task.

Definition at line 52 of file CancelImportTaskRequest.h.

◆ GetDryRun()

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

◆ GetImportTaskId()

const Aws::String& Aws::EC2::Model::CancelImportTaskRequest::GetImportTaskId ( ) const
inline

The ID of the import image or import snapshot task to be canceled.

Definition at line 126 of file CancelImportTaskRequest.h.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 40 of file CancelImportTaskRequest.h.

◆ ImportTaskIdHasBeenSet()

bool Aws::EC2::Model::CancelImportTaskRequest::ImportTaskIdHasBeenSet ( ) const
inline

The ID of the import image or import snapshot task to be canceled.

Definition at line 131 of file CancelImportTaskRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetCancelReason() [1/3]

void Aws::EC2::Model::CancelImportTaskRequest::SetCancelReason ( const Aws::String value)
inline

The reason for canceling the task.

Definition at line 62 of file CancelImportTaskRequest.h.

◆ SetCancelReason() [2/3]

void Aws::EC2::Model::CancelImportTaskRequest::SetCancelReason ( Aws::String &&  value)
inline

The reason for canceling the task.

Definition at line 67 of file CancelImportTaskRequest.h.

◆ SetCancelReason() [3/3]

void Aws::EC2::Model::CancelImportTaskRequest::SetCancelReason ( const char *  value)
inline

The reason for canceling the task.

Definition at line 72 of file CancelImportTaskRequest.h.

◆ SetDryRun()

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

◆ SetImportTaskId() [1/3]

void Aws::EC2::Model::CancelImportTaskRequest::SetImportTaskId ( const Aws::String value)
inline

The ID of the import image or import snapshot task to be canceled.

Definition at line 136 of file CancelImportTaskRequest.h.

◆ SetImportTaskId() [2/3]

void Aws::EC2::Model::CancelImportTaskRequest::SetImportTaskId ( Aws::String &&  value)
inline

The ID of the import image or import snapshot task to be canceled.

Definition at line 141 of file CancelImportTaskRequest.h.

◆ SetImportTaskId() [3/3]

void Aws::EC2::Model::CancelImportTaskRequest::SetImportTaskId ( const char *  value)
inline

The ID of the import image or import snapshot task to be canceled.

Definition at line 146 of file CancelImportTaskRequest.h.

◆ WithCancelReason() [1/3]

CancelImportTaskRequest& Aws::EC2::Model::CancelImportTaskRequest::WithCancelReason ( const Aws::String value)
inline

The reason for canceling the task.

Definition at line 77 of file CancelImportTaskRequest.h.

◆ WithCancelReason() [2/3]

CancelImportTaskRequest& Aws::EC2::Model::CancelImportTaskRequest::WithCancelReason ( Aws::String &&  value)
inline

The reason for canceling the task.

Definition at line 82 of file CancelImportTaskRequest.h.

◆ WithCancelReason() [3/3]

CancelImportTaskRequest& Aws::EC2::Model::CancelImportTaskRequest::WithCancelReason ( const char *  value)
inline

The reason for canceling the task.

Definition at line 87 of file CancelImportTaskRequest.h.

◆ WithDryRun()

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

◆ WithImportTaskId() [1/3]

CancelImportTaskRequest& Aws::EC2::Model::CancelImportTaskRequest::WithImportTaskId ( const Aws::String value)
inline

The ID of the import image or import snapshot task to be canceled.

Definition at line 151 of file CancelImportTaskRequest.h.

◆ WithImportTaskId() [2/3]

CancelImportTaskRequest& Aws::EC2::Model::CancelImportTaskRequest::WithImportTaskId ( Aws::String &&  value)
inline

The ID of the import image or import snapshot task to be canceled.

Definition at line 156 of file CancelImportTaskRequest.h.

◆ WithImportTaskId() [3/3]

CancelImportTaskRequest& Aws::EC2::Model::CancelImportTaskRequest::WithImportTaskId ( const char *  value)
inline

The ID of the import image or import snapshot task to be canceled.

Definition at line 161 of file CancelImportTaskRequest.h.


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