AWS SDK for C++  1.8.76
AWS SDK for C++
Public Member Functions | List of all members
Aws::DAX::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::StringGetKey () const
 
bool KeyHasBeenSet () const
 
void SetKey (const Aws::String &value)
 
void SetKey (Aws::String &&value)
 
void SetKey (const char *value)
 
TagWithKey (const Aws::String &value)
 
TagWithKey (Aws::String &&value)
 
TagWithKey (const char *value)
 
const Aws::StringGetValue () const
 
bool ValueHasBeenSet () const
 
void SetValue (const Aws::String &value)
 
void SetValue (Aws::String &&value)
 
void SetValue (const char *value)
 
TagWithValue (const Aws::String &value)
 
TagWithValue (Aws::String &&value)
 
TagWithValue (const char *value)
 

Detailed Description

A description of a tag. Every tag is a key-value pair. You can add up to 50 tags to a single DAX cluster.

AWS-assigned tag names and values are automatically assigned the aws: prefix, which the user cannot assign. AWS-assigned tag names do not count towards the tag limit of 50. User-assigned tag names have the prefix user:.

You cannot backdate the application of a tag.

See Also:

AWS API Reference

Definition at line 36 of file Tag.h.

Constructor & Destructor Documentation

◆ Tag() [1/2]

Aws::DAX::Model::Tag::Tag ( )

◆ Tag() [2/2]

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

Member Function Documentation

◆ GetKey()

const Aws::String& Aws::DAX::Model::Tag::GetKey ( ) const
inline

The key for the tag. Tag keys are case sensitive. Every DAX cluster can only have one tag with the same key. If you try to add an existing tag (same key), the existing tag value will be updated to the new value.

Definition at line 50 of file Tag.h.

◆ GetValue()

const Aws::String& Aws::DAX::Model::Tag::GetValue ( ) const
inline

The value of the tag. Tag values are case-sensitive and can be null.

Definition at line 105 of file Tag.h.

◆ Jsonize()

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

◆ KeyHasBeenSet()

bool Aws::DAX::Model::Tag::KeyHasBeenSet ( ) const
inline

The key for the tag. Tag keys are case sensitive. Every DAX cluster can only have one tag with the same key. If you try to add an existing tag (same key), the existing tag value will be updated to the new value.

Definition at line 57 of file Tag.h.

◆ operator=()

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

◆ SetKey() [1/3]

void Aws::DAX::Model::Tag::SetKey ( const Aws::String value)
inline

The key for the tag. Tag keys are case sensitive. Every DAX cluster can only have one tag with the same key. If you try to add an existing tag (same key), the existing tag value will be updated to the new value.

Definition at line 64 of file Tag.h.

◆ SetKey() [2/3]

void Aws::DAX::Model::Tag::SetKey ( Aws::String &&  value)
inline

The key for the tag. Tag keys are case sensitive. Every DAX cluster can only have one tag with the same key. If you try to add an existing tag (same key), the existing tag value will be updated to the new value.

Definition at line 71 of file Tag.h.

◆ SetKey() [3/3]

void Aws::DAX::Model::Tag::SetKey ( const char *  value)
inline

The key for the tag. Tag keys are case sensitive. Every DAX cluster can only have one tag with the same key. If you try to add an existing tag (same key), the existing tag value will be updated to the new value.

Definition at line 78 of file Tag.h.

◆ SetValue() [1/3]

void Aws::DAX::Model::Tag::SetValue ( const Aws::String value)
inline

The value of the tag. Tag values are case-sensitive and can be null.

Definition at line 115 of file Tag.h.

◆ SetValue() [2/3]

void Aws::DAX::Model::Tag::SetValue ( Aws::String &&  value)
inline

The value of the tag. Tag values are case-sensitive and can be null.

Definition at line 120 of file Tag.h.

◆ SetValue() [3/3]

void Aws::DAX::Model::Tag::SetValue ( const char *  value)
inline

The value of the tag. Tag values are case-sensitive and can be null.

Definition at line 125 of file Tag.h.

◆ ValueHasBeenSet()

bool Aws::DAX::Model::Tag::ValueHasBeenSet ( ) const
inline

The value of the tag. Tag values are case-sensitive and can be null.

Definition at line 110 of file Tag.h.

◆ WithKey() [1/3]

Tag& Aws::DAX::Model::Tag::WithKey ( const Aws::String value)
inline

The key for the tag. Tag keys are case sensitive. Every DAX cluster can only have one tag with the same key. If you try to add an existing tag (same key), the existing tag value will be updated to the new value.

Definition at line 85 of file Tag.h.

◆ WithKey() [2/3]

Tag& Aws::DAX::Model::Tag::WithKey ( Aws::String &&  value)
inline

The key for the tag. Tag keys are case sensitive. Every DAX cluster can only have one tag with the same key. If you try to add an existing tag (same key), the existing tag value will be updated to the new value.

Definition at line 92 of file Tag.h.

◆ WithKey() [3/3]

Tag& Aws::DAX::Model::Tag::WithKey ( const char *  value)
inline

The key for the tag. Tag keys are case sensitive. Every DAX cluster can only have one tag with the same key. If you try to add an existing tag (same key), the existing tag value will be updated to the new value.

Definition at line 99 of file Tag.h.

◆ WithValue() [1/3]

Tag& Aws::DAX::Model::Tag::WithValue ( const Aws::String value)
inline

The value of the tag. Tag values are case-sensitive and can be null.

Definition at line 130 of file Tag.h.

◆ WithValue() [2/3]

Tag& Aws::DAX::Model::Tag::WithValue ( Aws::String &&  value)
inline

The value of the tag. Tag values are case-sensitive and can be null.

Definition at line 135 of file Tag.h.

◆ WithValue() [3/3]

Tag& Aws::DAX::Model::Tag::WithValue ( const char *  value)
inline

The value of the tag. Tag values are case-sensitive and can be null.

Definition at line 140 of file Tag.h.


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