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

#include <Tag.h>

Public Member Functions

 Tag ()
 
 Tag (const Aws::Utils::Xml::XmlNode &xmlNode)
 
Tagoperator= (const Aws::Utils::Xml::XmlNode &xmlNode)
 
void OutputToStream (Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
 
void OutputToStream (Aws::OStream &oStream, const char *location) 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 tag that can be added to an ElastiCache cluster or replication group. Tags are composed of a Key/Value pair. You can use tags to categorize and track all your ElastiCache resources, with the exception of global replication group. When you add or remove tags on replication groups, those actions will be replicated to all nodes in the replication group. A tag with a null Value is permitted.

See Also:

AWS API Reference

Definition at line 36 of file Tag.h.

Constructor & Destructor Documentation

◆ Tag() [1/2]

Aws::ElastiCache::Model::Tag::Tag ( )

◆ Tag() [2/2]

Aws::ElastiCache::Model::Tag::Tag ( const Aws::Utils::Xml::XmlNode xmlNode)

Member Function Documentation

◆ GetKey()

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

The key for the tag. May not be null.

Definition at line 50 of file Tag.h.

◆ GetValue()

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

The tag's value. May be null.

Definition at line 91 of file Tag.h.

◆ KeyHasBeenSet()

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

The key for the tag. May not be null.

Definition at line 55 of file Tag.h.

◆ operator=()

Tag& Aws::ElastiCache::Model::Tag::operator= ( const Aws::Utils::Xml::XmlNode xmlNode)

◆ OutputToStream() [1/2]

void Aws::ElastiCache::Model::Tag::OutputToStream ( Aws::OStream oStream,
const char *  location 
) const

◆ OutputToStream() [2/2]

void Aws::ElastiCache::Model::Tag::OutputToStream ( Aws::OStream ostream,
const char *  location,
unsigned  index,
const char *  locationValue 
) const

◆ SetKey() [1/3]

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

The key for the tag. May not be null.

Definition at line 65 of file Tag.h.

◆ SetKey() [2/3]

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

The key for the tag. May not be null.

Definition at line 60 of file Tag.h.

◆ SetKey() [3/3]

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

The key for the tag. May not be null.

Definition at line 70 of file Tag.h.

◆ SetValue() [1/3]

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

The tag's value. May be null.

Definition at line 106 of file Tag.h.

◆ SetValue() [2/3]

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

The tag's value. May be null.

Definition at line 101 of file Tag.h.

◆ SetValue() [3/3]

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

The tag's value. May be null.

Definition at line 111 of file Tag.h.

◆ ValueHasBeenSet()

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

The tag's value. May be null.

Definition at line 96 of file Tag.h.

◆ WithKey() [1/3]

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

The key for the tag. May not be null.

Definition at line 80 of file Tag.h.

◆ WithKey() [2/3]

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

The key for the tag. May not be null.

Definition at line 75 of file Tag.h.

◆ WithKey() [3/3]

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

The key for the tag. May not be null.

Definition at line 85 of file Tag.h.

◆ WithValue() [1/3]

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

The tag's value. May be null.

Definition at line 121 of file Tag.h.

◆ WithValue() [2/3]

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

The tag's value. May be null.

Definition at line 116 of file Tag.h.

◆ WithValue() [3/3]

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

The tag's value. May be null.

Definition at line 126 of file Tag.h.


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