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

#include <CreateTagsRequest.h>

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

Public Member Functions

 CreateTagsRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
bool GetDryRun () const
 
bool DryRunHasBeenSet () const
 
void SetDryRun (bool value)
 
CreateTagsRequestWithDryRun (bool value)
 
const Aws::Vector< Aws::String > & GetResources () const
 
bool ResourcesHasBeenSet () const
 
void SetResources (const Aws::Vector< Aws::String > &value)
 
void SetResources (Aws::Vector< Aws::String > &&value)
 
CreateTagsRequestWithResources (const Aws::Vector< Aws::String > &value)
 
CreateTagsRequestWithResources (Aws::Vector< Aws::String > &&value)
 
CreateTagsRequestAddResources (const Aws::String &value)
 
CreateTagsRequestAddResources (Aws::String &&value)
 
CreateTagsRequestAddResources (const char *value)
 
const Aws::Vector< Tag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
CreateTagsRequestWithTags (const Aws::Vector< Tag > &value)
 
CreateTagsRequestWithTags (Aws::Vector< Tag > &&value)
 
CreateTagsRequestAddTags (const Tag &value)
 
CreateTagsRequestAddTags (Tag &&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 33 of file CreateTagsRequest.h.

Constructor & Destructor Documentation

◆ CreateTagsRequest()

Aws::EC2::Model::CreateTagsRequest::CreateTagsRequest ( )

Member Function Documentation

◆ AddResources() [1/3]

CreateTagsRequest& Aws::EC2::Model::CreateTagsRequest::AddResources ( const Aws::String value)
inline

The IDs of the resources, separated by spaces.

Constraints: Up to 1000 resource IDs. We recommend breaking up this request into smaller batches.

Definition at line 124 of file CreateTagsRequest.h.

◆ AddResources() [2/3]

CreateTagsRequest& Aws::EC2::Model::CreateTagsRequest::AddResources ( Aws::String &&  value)
inline

The IDs of the resources, separated by spaces.

Constraints: Up to 1000 resource IDs. We recommend breaking up this request into smaller batches.

Definition at line 130 of file CreateTagsRequest.h.

◆ AddResources() [3/3]

CreateTagsRequest& Aws::EC2::Model::CreateTagsRequest::AddResources ( const char *  value)
inline

The IDs of the resources, separated by spaces.

Constraints: Up to 1000 resource IDs. We recommend breaking up this request into smaller batches.

Definition at line 136 of file CreateTagsRequest.h.

◆ AddTags() [1/2]

CreateTagsRequest& Aws::EC2::Model::CreateTagsRequest::AddTags ( const Tag value)
inline

The tags. The value parameter is required, but if you don't want the tag to have a value, specify the parameter with no value, and we set the value to an empty string.

Definition at line 186 of file CreateTagsRequest.h.

◆ AddTags() [2/2]

CreateTagsRequest& Aws::EC2::Model::CreateTagsRequest::AddTags ( Tag &&  value)
inline

The tags. The value parameter is required, but if you don't want the tag to have a value, specify the parameter with no value, and we set the value to an empty string.

Definition at line 193 of file CreateTagsRequest.h.

◆ DryRunHasBeenSet()

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

◆ DumpBodyToUrl()

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

◆ GetDryRun()

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

◆ GetResources()

const Aws::Vector<Aws::String>& Aws::EC2::Model::CreateTagsRequest::GetResources ( ) const
inline

The IDs of the resources, separated by spaces.

Constraints: Up to 1000 resource IDs. We recommend breaking up this request into smaller batches.

Definition at line 88 of file CreateTagsRequest.h.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 42 of file CreateTagsRequest.h.

◆ GetTags()

const Aws::Vector<Tag>& Aws::EC2::Model::CreateTagsRequest::GetTags ( ) const
inline

The tags. The value parameter is required, but if you don't want the tag to have a value, specify the parameter with no value, and we set the value to an empty string.

Definition at line 144 of file CreateTagsRequest.h.

◆ ResourcesHasBeenSet()

bool Aws::EC2::Model::CreateTagsRequest::ResourcesHasBeenSet ( ) const
inline

The IDs of the resources, separated by spaces.

Constraints: Up to 1000 resource IDs. We recommend breaking up this request into smaller batches.

Definition at line 94 of file CreateTagsRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetDryRun()

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

◆ SetResources() [1/2]

void Aws::EC2::Model::CreateTagsRequest::SetResources ( const Aws::Vector< Aws::String > &  value)
inline

The IDs of the resources, separated by spaces.

Constraints: Up to 1000 resource IDs. We recommend breaking up this request into smaller batches.

Definition at line 100 of file CreateTagsRequest.h.

◆ SetResources() [2/2]

void Aws::EC2::Model::CreateTagsRequest::SetResources ( Aws::Vector< Aws::String > &&  value)
inline

The IDs of the resources, separated by spaces.

Constraints: Up to 1000 resource IDs. We recommend breaking up this request into smaller batches.

Definition at line 106 of file CreateTagsRequest.h.

◆ SetTags() [1/2]

void Aws::EC2::Model::CreateTagsRequest::SetTags ( const Aws::Vector< Tag > &  value)
inline

The tags. The value parameter is required, but if you don't want the tag to have a value, specify the parameter with no value, and we set the value to an empty string.

Definition at line 158 of file CreateTagsRequest.h.

◆ SetTags() [2/2]

void Aws::EC2::Model::CreateTagsRequest::SetTags ( Aws::Vector< Tag > &&  value)
inline

The tags. The value parameter is required, but if you don't want the tag to have a value, specify the parameter with no value, and we set the value to an empty string.

Definition at line 165 of file CreateTagsRequest.h.

◆ TagsHasBeenSet()

bool Aws::EC2::Model::CreateTagsRequest::TagsHasBeenSet ( ) const
inline

The tags. The value parameter is required, but if you don't want the tag to have a value, specify the parameter with no value, and we set the value to an empty string.

Definition at line 151 of file CreateTagsRequest.h.

◆ WithDryRun()

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

◆ WithResources() [1/2]

CreateTagsRequest& Aws::EC2::Model::CreateTagsRequest::WithResources ( const Aws::Vector< Aws::String > &  value)
inline

The IDs of the resources, separated by spaces.

Constraints: Up to 1000 resource IDs. We recommend breaking up this request into smaller batches.

Definition at line 112 of file CreateTagsRequest.h.

◆ WithResources() [2/2]

CreateTagsRequest& Aws::EC2::Model::CreateTagsRequest::WithResources ( Aws::Vector< Aws::String > &&  value)
inline

The IDs of the resources, separated by spaces.

Constraints: Up to 1000 resource IDs. We recommend breaking up this request into smaller batches.

Definition at line 118 of file CreateTagsRequest.h.

◆ WithTags() [1/2]

CreateTagsRequest& Aws::EC2::Model::CreateTagsRequest::WithTags ( const Aws::Vector< Tag > &  value)
inline

The tags. The value parameter is required, but if you don't want the tag to have a value, specify the parameter with no value, and we set the value to an empty string.

Definition at line 172 of file CreateTagsRequest.h.

◆ WithTags() [2/2]

CreateTagsRequest& Aws::EC2::Model::CreateTagsRequest::WithTags ( Aws::Vector< Tag > &&  value)
inline

The tags. The value parameter is required, but if you don't want the tag to have a value, specify the parameter with no value, and we set the value to an empty string.

Definition at line 179 of file CreateTagsRequest.h.


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