AWS SDK for C++  1.9.109
AWS SDK for C++
Public Member Functions | List of all members
Aws::KMS::Model::TagResourceRequest Class Reference

#include <TagResourceRequest.h>

+ Inheritance diagram for Aws::KMS::Model::TagResourceRequest:

Public Member Functions

 TagResourceRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const override
 
const Aws::StringGetKeyId () const
 
bool KeyIdHasBeenSet () const
 
void SetKeyId (const Aws::String &value)
 
void SetKeyId (Aws::String &&value)
 
void SetKeyId (const char *value)
 
TagResourceRequestWithKeyId (const Aws::String &value)
 
TagResourceRequestWithKeyId (Aws::String &&value)
 
TagResourceRequestWithKeyId (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)
 
TagResourceRequestWithTags (const Aws::Vector< Tag > &value)
 
TagResourceRequestWithTags (Aws::Vector< Tag > &&value)
 
TagResourceRequestAddTags (const Tag &value)
 
TagResourceRequestAddTags (Tag &&value)
 
- Public Member Functions inherited from Aws::KMS::KMSRequest
virtual ~KMSRequest ()
 
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
 

Additional Inherited Members

- Protected Member Functions inherited from Aws::AmazonWebServiceRequest
virtual void DumpBodyToUrl (Aws::Http::URI &uri) const
 

Detailed Description

Definition at line 23 of file TagResourceRequest.h.

Constructor & Destructor Documentation

◆ TagResourceRequest()

Aws::KMS::Model::TagResourceRequest::TagResourceRequest ( )

Member Function Documentation

◆ AddTags() [1/2]

TagResourceRequest& Aws::KMS::Model::TagResourceRequest::AddTags ( const Tag value)
inline

One or more tags.

Each tag consists of a tag key and a tag value. The tag value can be an empty (null) string.

You cannot have more than one tag on a KMS key with the same tag key. If you specify an existing tag key with a different tag value, KMS replaces the current tag value with the specified one.

Definition at line 189 of file TagResourceRequest.h.

◆ AddTags() [2/2]

TagResourceRequest& Aws::KMS::Model::TagResourceRequest::AddTags ( Tag &&  value)
inline

One or more tags.

Each tag consists of a tag key and a tag value. The tag value can be an empty (null) string.

You cannot have more than one tag on a KMS key with the same tag key. If you specify an existing tag key with a different tag value, KMS replaces the current tag value with the specified one.

Definition at line 198 of file TagResourceRequest.h.

◆ GetKeyId()

const Aws::String& Aws::KMS::Model::TagResourceRequest::GetKeyId ( ) const
inline

Identifies a customer managed key in the account and Region.

Specify the key ID or key ARN of the KMS key.

For example:

  • Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab

  • Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab

To get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.

Definition at line 48 of file TagResourceRequest.h.

◆ GetRequestSpecificHeaders()

Aws::Http::HeaderValueCollection Aws::KMS::Model::TagResourceRequest::GetRequestSpecificHeaders ( ) const
overridevirtual

Reimplemented from Aws::KMS::KMSRequest.

◆ GetServiceRequestName()

virtual const char* Aws::KMS::Model::TagResourceRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 32 of file TagResourceRequest.h.

◆ GetTags()

const Aws::Vector<Tag>& Aws::KMS::Model::TagResourceRequest::GetTags ( ) const
inline

One or more tags.

Each tag consists of a tag key and a tag value. The tag value can be an empty (null) string.

You cannot have more than one tag on a KMS key with the same tag key. If you specify an existing tag key with a different tag value, KMS replaces the current tag value with the specified one.

Definition at line 135 of file TagResourceRequest.h.

◆ KeyIdHasBeenSet()

bool Aws::KMS::Model::TagResourceRequest::KeyIdHasBeenSet ( ) const
inline

Identifies a customer managed key in the account and Region.

Specify the key ID or key ARN of the KMS key.

For example:

  • Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab

  • Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab

To get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.

Definition at line 59 of file TagResourceRequest.h.

◆ SerializePayload()

Aws::String Aws::KMS::Model::TagResourceRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetKeyId() [1/3]

void Aws::KMS::Model::TagResourceRequest::SetKeyId ( Aws::String &&  value)
inline

Identifies a customer managed key in the account and Region.

Specify the key ID or key ARN of the KMS key.

For example:

  • Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab

  • Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab

To get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.

Definition at line 81 of file TagResourceRequest.h.

◆ SetKeyId() [2/3]

void Aws::KMS::Model::TagResourceRequest::SetKeyId ( const Aws::String value)
inline

Identifies a customer managed key in the account and Region.

Specify the key ID or key ARN of the KMS key.

For example:

  • Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab

  • Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab

To get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.

Definition at line 70 of file TagResourceRequest.h.

◆ SetKeyId() [3/3]

void Aws::KMS::Model::TagResourceRequest::SetKeyId ( const char *  value)
inline

Identifies a customer managed key in the account and Region.

Specify the key ID or key ARN of the KMS key.

For example:

  • Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab

  • Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab

To get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.

Definition at line 92 of file TagResourceRequest.h.

◆ SetTags() [1/2]

void Aws::KMS::Model::TagResourceRequest::SetTags ( Aws::Vector< Tag > &&  value)
inline

One or more tags.

Each tag consists of a tag key and a tag value. The tag value can be an empty (null) string.

You cannot have more than one tag on a KMS key with the same tag key. If you specify an existing tag key with a different tag value, KMS replaces the current tag value with the specified one.

Definition at line 162 of file TagResourceRequest.h.

◆ SetTags() [2/2]

void Aws::KMS::Model::TagResourceRequest::SetTags ( const Aws::Vector< Tag > &  value)
inline

One or more tags.

Each tag consists of a tag key and a tag value. The tag value can be an empty (null) string.

You cannot have more than one tag on a KMS key with the same tag key. If you specify an existing tag key with a different tag value, KMS replaces the current tag value with the specified one.

Definition at line 153 of file TagResourceRequest.h.

◆ TagsHasBeenSet()

bool Aws::KMS::Model::TagResourceRequest::TagsHasBeenSet ( ) const
inline

One or more tags.

Each tag consists of a tag key and a tag value. The tag value can be an empty (null) string.

You cannot have more than one tag on a KMS key with the same tag key. If you specify an existing tag key with a different tag value, KMS replaces the current tag value with the specified one.

Definition at line 144 of file TagResourceRequest.h.

◆ WithKeyId() [1/3]

TagResourceRequest& Aws::KMS::Model::TagResourceRequest::WithKeyId ( Aws::String &&  value)
inline

Identifies a customer managed key in the account and Region.

Specify the key ID or key ARN of the KMS key.

For example:

  • Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab

  • Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab

To get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.

Definition at line 114 of file TagResourceRequest.h.

◆ WithKeyId() [2/3]

TagResourceRequest& Aws::KMS::Model::TagResourceRequest::WithKeyId ( const Aws::String value)
inline

Identifies a customer managed key in the account and Region.

Specify the key ID or key ARN of the KMS key.

For example:

  • Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab

  • Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab

To get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.

Definition at line 103 of file TagResourceRequest.h.

◆ WithKeyId() [3/3]

TagResourceRequest& Aws::KMS::Model::TagResourceRequest::WithKeyId ( const char *  value)
inline

Identifies a customer managed key in the account and Region.

Specify the key ID or key ARN of the KMS key.

For example:

  • Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab

  • Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab

To get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.

Definition at line 125 of file TagResourceRequest.h.

◆ WithTags() [1/2]

TagResourceRequest& Aws::KMS::Model::TagResourceRequest::WithTags ( Aws::Vector< Tag > &&  value)
inline

One or more tags.

Each tag consists of a tag key and a tag value. The tag value can be an empty (null) string.

You cannot have more than one tag on a KMS key with the same tag key. If you specify an existing tag key with a different tag value, KMS replaces the current tag value with the specified one.

Definition at line 180 of file TagResourceRequest.h.

◆ WithTags() [2/2]

TagResourceRequest& Aws::KMS::Model::TagResourceRequest::WithTags ( const Aws::Vector< Tag > &  value)
inline

One or more tags.

Each tag consists of a tag key and a tag value. The tag value can be an empty (null) string.

You cannot have more than one tag on a KMS key with the same tag key. If you specify an existing tag key with a different tag value, KMS replaces the current tag value with the specified one.

Definition at line 171 of file TagResourceRequest.h.


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