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

#include <Tag.h>

Public Member Functions

 Tag ()
 
 Tag (Aws::Utils::Json::JsonView jsonValue)
 
Tagoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetTagKey () const
 
bool TagKeyHasBeenSet () const
 
void SetTagKey (const Aws::String &value)
 
void SetTagKey (Aws::String &&value)
 
void SetTagKey (const char *value)
 
TagWithTagKey (const Aws::String &value)
 
TagWithTagKey (Aws::String &&value)
 
TagWithTagKey (const char *value)
 
const Aws::StringGetTagValue () const
 
bool TagValueHasBeenSet () const
 
void SetTagValue (const Aws::String &value)
 
void SetTagValue (Aws::String &&value)
 
void SetTagValue (const char *value)
 
TagWithTagValue (const Aws::String &value)
 
TagWithTagValue (Aws::String &&value)
 
TagWithTagValue (const char *value)
 

Detailed Description

A key-value pair. A tag consists of a tag key and a tag value. Tag keys and tag values are both required, but tag values can be empty (null) strings.

For information about the rules that apply to tag keys and tag values, see User-Defined Tag Restrictions in the AWS Billing and Cost Management User Guide.

See Also:

AWS API Reference

Definition at line 36 of file Tag.h.

Constructor & Destructor Documentation

◆ Tag() [1/2]

Aws::KMS::Model::Tag::Tag ( )

◆ Tag() [2/2]

Aws::KMS::Model::Tag::Tag ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ GetTagKey()

const Aws::String& Aws::KMS::Model::Tag::GetTagKey ( ) const
inline

The key of the tag.

Definition at line 48 of file Tag.h.

◆ GetTagValue()

const Aws::String& Aws::KMS::Model::Tag::GetTagValue ( ) const
inline

The value of the tag.

Definition at line 89 of file Tag.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::KMS::Model::Tag::Jsonize ( ) const

◆ operator=()

Tag& Aws::KMS::Model::Tag::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetTagKey() [1/3]

void Aws::KMS::Model::Tag::SetTagKey ( const Aws::String value)
inline

The key of the tag.

Definition at line 58 of file Tag.h.

◆ SetTagKey() [2/3]

void Aws::KMS::Model::Tag::SetTagKey ( Aws::String &&  value)
inline

The key of the tag.

Definition at line 63 of file Tag.h.

◆ SetTagKey() [3/3]

void Aws::KMS::Model::Tag::SetTagKey ( const char *  value)
inline

The key of the tag.

Definition at line 68 of file Tag.h.

◆ SetTagValue() [1/3]

void Aws::KMS::Model::Tag::SetTagValue ( const Aws::String value)
inline

The value of the tag.

Definition at line 99 of file Tag.h.

◆ SetTagValue() [2/3]

void Aws::KMS::Model::Tag::SetTagValue ( Aws::String &&  value)
inline

The value of the tag.

Definition at line 104 of file Tag.h.

◆ SetTagValue() [3/3]

void Aws::KMS::Model::Tag::SetTagValue ( const char *  value)
inline

The value of the tag.

Definition at line 109 of file Tag.h.

◆ TagKeyHasBeenSet()

bool Aws::KMS::Model::Tag::TagKeyHasBeenSet ( ) const
inline

The key of the tag.

Definition at line 53 of file Tag.h.

◆ TagValueHasBeenSet()

bool Aws::KMS::Model::Tag::TagValueHasBeenSet ( ) const
inline

The value of the tag.

Definition at line 94 of file Tag.h.

◆ WithTagKey() [1/3]

Tag& Aws::KMS::Model::Tag::WithTagKey ( const Aws::String value)
inline

The key of the tag.

Definition at line 73 of file Tag.h.

◆ WithTagKey() [2/3]

Tag& Aws::KMS::Model::Tag::WithTagKey ( Aws::String &&  value)
inline

The key of the tag.

Definition at line 78 of file Tag.h.

◆ WithTagKey() [3/3]

Tag& Aws::KMS::Model::Tag::WithTagKey ( const char *  value)
inline

The key of the tag.

Definition at line 83 of file Tag.h.

◆ WithTagValue() [1/3]

Tag& Aws::KMS::Model::Tag::WithTagValue ( const Aws::String value)
inline

The value of the tag.

Definition at line 114 of file Tag.h.

◆ WithTagValue() [2/3]

Tag& Aws::KMS::Model::Tag::WithTagValue ( Aws::String &&  value)
inline

The value of the tag.

Definition at line 119 of file Tag.h.

◆ WithTagValue() [3/3]

Tag& Aws::KMS::Model::Tag::WithTagValue ( const char *  value)
inline

The value of the tag.

Definition at line 124 of file Tag.h.


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