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

#include <DeleteTagsRequest.h>

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

Public Member Functions

 DeleteTagsRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
bool GetDryRun () const
 
bool DryRunHasBeenSet () const
 
void SetDryRun (bool value)
 
DeleteTagsRequestWithDryRun (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)
 
DeleteTagsRequestWithResources (const Aws::Vector< Aws::String > &value)
 
DeleteTagsRequestWithResources (Aws::Vector< Aws::String > &&value)
 
DeleteTagsRequestAddResources (const Aws::String &value)
 
DeleteTagsRequestAddResources (Aws::String &&value)
 
DeleteTagsRequestAddResources (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)
 
DeleteTagsRequestWithTags (const Aws::Vector< Tag > &value)
 
DeleteTagsRequestWithTags (Aws::Vector< Tag > &&value)
 
DeleteTagsRequestAddTags (const Tag &value)
 
DeleteTagsRequestAddTags (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 DeleteTagsRequest.h.

Constructor & Destructor Documentation

◆ DeleteTagsRequest()

Aws::EC2::Model::DeleteTagsRequest::DeleteTagsRequest ( )

Member Function Documentation

◆ AddResources() [1/3]

DeleteTagsRequest& Aws::EC2::Model::DeleteTagsRequest::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 DeleteTagsRequest.h.

◆ AddResources() [2/3]

DeleteTagsRequest& Aws::EC2::Model::DeleteTagsRequest::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 DeleteTagsRequest.h.

◆ AddResources() [3/3]

DeleteTagsRequest& Aws::EC2::Model::DeleteTagsRequest::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 DeleteTagsRequest.h.

◆ AddTags() [1/2]

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

The tags to delete. Specify a tag key and an optional tag value to delete specific tags. If you specify a tag key without a tag value, we delete any tag with this key regardless of its value. If you specify a tag key with an empty string as the tag value, we delete the tag only if its value is an empty string.

If you omit this parameter, we delete all user-defined tags for the specified resources. We do not delete AWS-generated tags (tags that have the aws: prefix).

Definition at line 214 of file DeleteTagsRequest.h.

◆ AddTags() [2/2]

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

The tags to delete. Specify a tag key and an optional tag value to delete specific tags. If you specify a tag key without a tag value, we delete any tag with this key regardless of its value. If you specify a tag key with an empty string as the tag value, we delete the tag only if its value is an empty string.

If you omit this parameter, we delete all user-defined tags for the specified resources. We do not delete AWS-generated tags (tags that have the aws: prefix).

Definition at line 225 of file DeleteTagsRequest.h.

◆ DryRunHasBeenSet()

bool Aws::EC2::Model::DeleteTagsRequest::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 DeleteTagsRequest.h.

◆ DumpBodyToUrl()

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

◆ GetResources()

const Aws::Vector<Aws::String>& Aws::EC2::Model::DeleteTagsRequest::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 DeleteTagsRequest.h.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 42 of file DeleteTagsRequest.h.

◆ GetTags()

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

The tags to delete. Specify a tag key and an optional tag value to delete specific tags. If you specify a tag key without a tag value, we delete any tag with this key regardless of its value. If you specify a tag key with an empty string as the tag value, we delete the tag only if its value is an empty string.

If you omit this parameter, we delete all user-defined tags for the specified resources. We do not delete AWS-generated tags (tags that have the aws: prefix).

Definition at line 148 of file DeleteTagsRequest.h.

◆ ResourcesHasBeenSet()

bool Aws::EC2::Model::DeleteTagsRequest::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 DeleteTagsRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetDryRun()

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

◆ SetResources() [1/2]

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

◆ SetResources() [2/2]

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

◆ SetTags() [1/2]

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

The tags to delete. Specify a tag key and an optional tag value to delete specific tags. If you specify a tag key without a tag value, we delete any tag with this key regardless of its value. If you specify a tag key with an empty string as the tag value, we delete the tag only if its value is an empty string.

If you omit this parameter, we delete all user-defined tags for the specified resources. We do not delete AWS-generated tags (tags that have the aws: prefix).

Definition at line 170 of file DeleteTagsRequest.h.

◆ SetTags() [2/2]

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

The tags to delete. Specify a tag key and an optional tag value to delete specific tags. If you specify a tag key without a tag value, we delete any tag with this key regardless of its value. If you specify a tag key with an empty string as the tag value, we delete the tag only if its value is an empty string.

If you omit this parameter, we delete all user-defined tags for the specified resources. We do not delete AWS-generated tags (tags that have the aws: prefix).

Definition at line 181 of file DeleteTagsRequest.h.

◆ TagsHasBeenSet()

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

The tags to delete. Specify a tag key and an optional tag value to delete specific tags. If you specify a tag key without a tag value, we delete any tag with this key regardless of its value. If you specify a tag key with an empty string as the tag value, we delete the tag only if its value is an empty string.

If you omit this parameter, we delete all user-defined tags for the specified resources. We do not delete AWS-generated tags (tags that have the aws: prefix).

Definition at line 159 of file DeleteTagsRequest.h.

◆ WithDryRun()

DeleteTagsRequest& Aws::EC2::Model::DeleteTagsRequest::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 DeleteTagsRequest.h.

◆ WithResources() [1/2]

DeleteTagsRequest& Aws::EC2::Model::DeleteTagsRequest::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 DeleteTagsRequest.h.

◆ WithResources() [2/2]

DeleteTagsRequest& Aws::EC2::Model::DeleteTagsRequest::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 DeleteTagsRequest.h.

◆ WithTags() [1/2]

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

The tags to delete. Specify a tag key and an optional tag value to delete specific tags. If you specify a tag key without a tag value, we delete any tag with this key regardless of its value. If you specify a tag key with an empty string as the tag value, we delete the tag only if its value is an empty string.

If you omit this parameter, we delete all user-defined tags for the specified resources. We do not delete AWS-generated tags (tags that have the aws: prefix).

Definition at line 192 of file DeleteTagsRequest.h.

◆ WithTags() [2/2]

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

The tags to delete. Specify a tag key and an optional tag value to delete specific tags. If you specify a tag key without a tag value, we delete any tag with this key regardless of its value. If you specify a tag key with an empty string as the tag value, we delete the tag only if its value is an empty string.

If you omit this parameter, we delete all user-defined tags for the specified resources. We do not delete AWS-generated tags (tags that have the aws: prefix).

Definition at line 203 of file DeleteTagsRequest.h.


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