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

#include <CreateRestoreImageTaskRequest.h>

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

Public Member Functions

 CreateRestoreImageTaskRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::StringGetBucket () const
 
bool BucketHasBeenSet () const
 
void SetBucket (const Aws::String &value)
 
void SetBucket (Aws::String &&value)
 
void SetBucket (const char *value)
 
CreateRestoreImageTaskRequestWithBucket (const Aws::String &value)
 
CreateRestoreImageTaskRequestWithBucket (Aws::String &&value)
 
CreateRestoreImageTaskRequestWithBucket (const char *value)
 
const Aws::StringGetObjectKey () const
 
bool ObjectKeyHasBeenSet () const
 
void SetObjectKey (const Aws::String &value)
 
void SetObjectKey (Aws::String &&value)
 
void SetObjectKey (const char *value)
 
CreateRestoreImageTaskRequestWithObjectKey (const Aws::String &value)
 
CreateRestoreImageTaskRequestWithObjectKey (Aws::String &&value)
 
CreateRestoreImageTaskRequestWithObjectKey (const char *value)
 
const Aws::StringGetName () const
 
bool NameHasBeenSet () const
 
void SetName (const Aws::String &value)
 
void SetName (Aws::String &&value)
 
void SetName (const char *value)
 
CreateRestoreImageTaskRequestWithName (const Aws::String &value)
 
CreateRestoreImageTaskRequestWithName (Aws::String &&value)
 
CreateRestoreImageTaskRequestWithName (const char *value)
 
const Aws::Vector< TagSpecification > & GetTagSpecifications () const
 
bool TagSpecificationsHasBeenSet () const
 
void SetTagSpecifications (const Aws::Vector< TagSpecification > &value)
 
void SetTagSpecifications (Aws::Vector< TagSpecification > &&value)
 
CreateRestoreImageTaskRequestWithTagSpecifications (const Aws::Vector< TagSpecification > &value)
 
CreateRestoreImageTaskRequestWithTagSpecifications (Aws::Vector< TagSpecification > &&value)
 
CreateRestoreImageTaskRequestAddTagSpecifications (const TagSpecification &value)
 
CreateRestoreImageTaskRequestAddTagSpecifications (TagSpecification &&value)
 
bool GetDryRun () const
 
bool DryRunHasBeenSet () const
 
void SetDryRun (bool value)
 
CreateRestoreImageTaskRequestWithDryRun (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

Definition at line 23 of file CreateRestoreImageTaskRequest.h.

Constructor & Destructor Documentation

◆ CreateRestoreImageTaskRequest()

Aws::EC2::Model::CreateRestoreImageTaskRequest::CreateRestoreImageTaskRequest ( )

Member Function Documentation

◆ AddTagSpecifications() [1/2]

CreateRestoreImageTaskRequest& Aws::EC2::Model::CreateRestoreImageTaskRequest::AddTagSpecifications ( const TagSpecification value)
inline

The tags to apply to the AMI and snapshots on restoration. You can tag the AMI, the snapshots, or both.

  • To tag the AMI, the value for ResourceType must be image.

  • To tag the snapshots, the value for ResourceType must be snapshot. The same tag is applied to all of the snapshots that are created.

Definition at line 248 of file CreateRestoreImageTaskRequest.h.

◆ AddTagSpecifications() [2/2]

CreateRestoreImageTaskRequest& Aws::EC2::Model::CreateRestoreImageTaskRequest::AddTagSpecifications ( TagSpecification &&  value)
inline

The tags to apply to the AMI and snapshots on restoration. You can tag the AMI, the snapshots, or both.

  • To tag the AMI, the value for ResourceType must be image.

  • To tag the snapshots, the value for ResourceType must be snapshot. The same tag is applied to all of the snapshots that are created.

Definition at line 258 of file CreateRestoreImageTaskRequest.h.

◆ BucketHasBeenSet()

bool Aws::EC2::Model::CreateRestoreImageTaskRequest::BucketHasBeenSet ( ) const
inline

The name of the Amazon S3 bucket that contains the stored AMI object.

Definition at line 49 of file CreateRestoreImageTaskRequest.h.

◆ DryRunHasBeenSet()

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

◆ DumpBodyToUrl()

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

◆ GetBucket()

const Aws::String& Aws::EC2::Model::CreateRestoreImageTaskRequest::GetBucket ( ) const
inline

The name of the Amazon S3 bucket that contains the stored AMI object.

Definition at line 44 of file CreateRestoreImageTaskRequest.h.

◆ GetDryRun()

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

◆ GetName()

const Aws::String& Aws::EC2::Model::CreateRestoreImageTaskRequest::GetName ( ) const
inline

The name for the restored AMI. The name must be unique for AMIs in the Region for this account. If you do not provide a name, the new AMI gets the same name as the original AMI.

Definition at line 128 of file CreateRestoreImageTaskRequest.h.

◆ GetObjectKey()

const Aws::String& Aws::EC2::Model::CreateRestoreImageTaskRequest::GetObjectKey ( ) const
inline

The name of the stored AMI object in the bucket.

Definition at line 85 of file CreateRestoreImageTaskRequest.h.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 32 of file CreateRestoreImageTaskRequest.h.

◆ GetTagSpecifications()

const Aws::Vector<TagSpecification>& Aws::EC2::Model::CreateRestoreImageTaskRequest::GetTagSpecifications ( ) const
inline

The tags to apply to the AMI and snapshots on restoration. You can tag the AMI, the snapshots, or both.

  • To tag the AMI, the value for ResourceType must be image.

  • To tag the snapshots, the value for ResourceType must be snapshot. The same tag is applied to all of the snapshots that are created.

Definition at line 188 of file CreateRestoreImageTaskRequest.h.

◆ NameHasBeenSet()

bool Aws::EC2::Model::CreateRestoreImageTaskRequest::NameHasBeenSet ( ) const
inline

The name for the restored AMI. The name must be unique for AMIs in the Region for this account. If you do not provide a name, the new AMI gets the same name as the original AMI.

Definition at line 135 of file CreateRestoreImageTaskRequest.h.

◆ ObjectKeyHasBeenSet()

bool Aws::EC2::Model::CreateRestoreImageTaskRequest::ObjectKeyHasBeenSet ( ) const
inline

The name of the stored AMI object in the bucket.

Definition at line 90 of file CreateRestoreImageTaskRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetBucket() [1/3]

void Aws::EC2::Model::CreateRestoreImageTaskRequest::SetBucket ( Aws::String &&  value)
inline

The name of the Amazon S3 bucket that contains the stored AMI object.

Definition at line 59 of file CreateRestoreImageTaskRequest.h.

◆ SetBucket() [2/3]

void Aws::EC2::Model::CreateRestoreImageTaskRequest::SetBucket ( const Aws::String value)
inline

The name of the Amazon S3 bucket that contains the stored AMI object.

Definition at line 54 of file CreateRestoreImageTaskRequest.h.

◆ SetBucket() [3/3]

void Aws::EC2::Model::CreateRestoreImageTaskRequest::SetBucket ( const char *  value)
inline

The name of the Amazon S3 bucket that contains the stored AMI object.

Definition at line 64 of file CreateRestoreImageTaskRequest.h.

◆ SetDryRun()

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

◆ SetName() [1/3]

void Aws::EC2::Model::CreateRestoreImageTaskRequest::SetName ( Aws::String &&  value)
inline

The name for the restored AMI. The name must be unique for AMIs in the Region for this account. If you do not provide a name, the new AMI gets the same name as the original AMI.

Definition at line 149 of file CreateRestoreImageTaskRequest.h.

◆ SetName() [2/3]

void Aws::EC2::Model::CreateRestoreImageTaskRequest::SetName ( const Aws::String value)
inline

The name for the restored AMI. The name must be unique for AMIs in the Region for this account. If you do not provide a name, the new AMI gets the same name as the original AMI.

Definition at line 142 of file CreateRestoreImageTaskRequest.h.

◆ SetName() [3/3]

void Aws::EC2::Model::CreateRestoreImageTaskRequest::SetName ( const char *  value)
inline

The name for the restored AMI. The name must be unique for AMIs in the Region for this account. If you do not provide a name, the new AMI gets the same name as the original AMI.

Definition at line 156 of file CreateRestoreImageTaskRequest.h.

◆ SetObjectKey() [1/3]

void Aws::EC2::Model::CreateRestoreImageTaskRequest::SetObjectKey ( Aws::String &&  value)
inline

The name of the stored AMI object in the bucket.

Definition at line 100 of file CreateRestoreImageTaskRequest.h.

◆ SetObjectKey() [2/3]

void Aws::EC2::Model::CreateRestoreImageTaskRequest::SetObjectKey ( const Aws::String value)
inline

The name of the stored AMI object in the bucket.

Definition at line 95 of file CreateRestoreImageTaskRequest.h.

◆ SetObjectKey() [3/3]

void Aws::EC2::Model::CreateRestoreImageTaskRequest::SetObjectKey ( const char *  value)
inline

The name of the stored AMI object in the bucket.

Definition at line 105 of file CreateRestoreImageTaskRequest.h.

◆ SetTagSpecifications() [1/2]

void Aws::EC2::Model::CreateRestoreImageTaskRequest::SetTagSpecifications ( Aws::Vector< TagSpecification > &&  value)
inline

The tags to apply to the AMI and snapshots on restoration. You can tag the AMI, the snapshots, or both.

  • To tag the AMI, the value for ResourceType must be image.

  • To tag the snapshots, the value for ResourceType must be snapshot. The same tag is applied to all of the snapshots that are created.

Definition at line 218 of file CreateRestoreImageTaskRequest.h.

◆ SetTagSpecifications() [2/2]

void Aws::EC2::Model::CreateRestoreImageTaskRequest::SetTagSpecifications ( const Aws::Vector< TagSpecification > &  value)
inline

The tags to apply to the AMI and snapshots on restoration. You can tag the AMI, the snapshots, or both.

  • To tag the AMI, the value for ResourceType must be image.

  • To tag the snapshots, the value for ResourceType must be snapshot. The same tag is applied to all of the snapshots that are created.

Definition at line 208 of file CreateRestoreImageTaskRequest.h.

◆ TagSpecificationsHasBeenSet()

bool Aws::EC2::Model::CreateRestoreImageTaskRequest::TagSpecificationsHasBeenSet ( ) const
inline

The tags to apply to the AMI and snapshots on restoration. You can tag the AMI, the snapshots, or both.

  • To tag the AMI, the value for ResourceType must be image.

  • To tag the snapshots, the value for ResourceType must be snapshot. The same tag is applied to all of the snapshots that are created.

Definition at line 198 of file CreateRestoreImageTaskRequest.h.

◆ WithBucket() [1/3]

CreateRestoreImageTaskRequest& Aws::EC2::Model::CreateRestoreImageTaskRequest::WithBucket ( Aws::String &&  value)
inline

The name of the Amazon S3 bucket that contains the stored AMI object.

Definition at line 74 of file CreateRestoreImageTaskRequest.h.

◆ WithBucket() [2/3]

CreateRestoreImageTaskRequest& Aws::EC2::Model::CreateRestoreImageTaskRequest::WithBucket ( const Aws::String value)
inline

The name of the Amazon S3 bucket that contains the stored AMI object.

Definition at line 69 of file CreateRestoreImageTaskRequest.h.

◆ WithBucket() [3/3]

CreateRestoreImageTaskRequest& Aws::EC2::Model::CreateRestoreImageTaskRequest::WithBucket ( const char *  value)
inline

The name of the Amazon S3 bucket that contains the stored AMI object.

Definition at line 79 of file CreateRestoreImageTaskRequest.h.

◆ WithDryRun()

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

◆ WithName() [1/3]

CreateRestoreImageTaskRequest& Aws::EC2::Model::CreateRestoreImageTaskRequest::WithName ( Aws::String &&  value)
inline

The name for the restored AMI. The name must be unique for AMIs in the Region for this account. If you do not provide a name, the new AMI gets the same name as the original AMI.

Definition at line 170 of file CreateRestoreImageTaskRequest.h.

◆ WithName() [2/3]

CreateRestoreImageTaskRequest& Aws::EC2::Model::CreateRestoreImageTaskRequest::WithName ( const Aws::String value)
inline

The name for the restored AMI. The name must be unique for AMIs in the Region for this account. If you do not provide a name, the new AMI gets the same name as the original AMI.

Definition at line 163 of file CreateRestoreImageTaskRequest.h.

◆ WithName() [3/3]

CreateRestoreImageTaskRequest& Aws::EC2::Model::CreateRestoreImageTaskRequest::WithName ( const char *  value)
inline

The name for the restored AMI. The name must be unique for AMIs in the Region for this account. If you do not provide a name, the new AMI gets the same name as the original AMI.

Definition at line 177 of file CreateRestoreImageTaskRequest.h.

◆ WithObjectKey() [1/3]

CreateRestoreImageTaskRequest& Aws::EC2::Model::CreateRestoreImageTaskRequest::WithObjectKey ( Aws::String &&  value)
inline

The name of the stored AMI object in the bucket.

Definition at line 115 of file CreateRestoreImageTaskRequest.h.

◆ WithObjectKey() [2/3]

CreateRestoreImageTaskRequest& Aws::EC2::Model::CreateRestoreImageTaskRequest::WithObjectKey ( const Aws::String value)
inline

The name of the stored AMI object in the bucket.

Definition at line 110 of file CreateRestoreImageTaskRequest.h.

◆ WithObjectKey() [3/3]

CreateRestoreImageTaskRequest& Aws::EC2::Model::CreateRestoreImageTaskRequest::WithObjectKey ( const char *  value)
inline

The name of the stored AMI object in the bucket.

Definition at line 120 of file CreateRestoreImageTaskRequest.h.

◆ WithTagSpecifications() [1/2]

CreateRestoreImageTaskRequest& Aws::EC2::Model::CreateRestoreImageTaskRequest::WithTagSpecifications ( Aws::Vector< TagSpecification > &&  value)
inline

The tags to apply to the AMI and snapshots on restoration. You can tag the AMI, the snapshots, or both.

  • To tag the AMI, the value for ResourceType must be image.

  • To tag the snapshots, the value for ResourceType must be snapshot. The same tag is applied to all of the snapshots that are created.

Definition at line 238 of file CreateRestoreImageTaskRequest.h.

◆ WithTagSpecifications() [2/2]

CreateRestoreImageTaskRequest& Aws::EC2::Model::CreateRestoreImageTaskRequest::WithTagSpecifications ( const Aws::Vector< TagSpecification > &  value)
inline

The tags to apply to the AMI and snapshots on restoration. You can tag the AMI, the snapshots, or both.

  • To tag the AMI, the value for ResourceType must be image.

  • To tag the snapshots, the value for ResourceType must be snapshot. The same tag is applied to all of the snapshots that are created.

Definition at line 228 of file CreateRestoreImageTaskRequest.h.


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