AWS SDK for C++  1.8.95
AWS SDK for C++
Public Member Functions | List of all members
Aws::Comprehend::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 key-value pair that adds as a metadata to a resource used by Amazon Comprehend. For example, a tag with the key-value pair ‘Department’:’Sales’ might be added to a resource to indicate its use by a particular department.

See Also:

AWS API Reference

Definition at line 34 of file Tag.h.

Constructor & Destructor Documentation

◆ Tag() [1/2]

Aws::Comprehend::Model::Tag::Tag ( )

◆ Tag() [2/2]

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

Member Function Documentation

◆ GetKey()

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

The initial part of a key-value pair that forms a tag associated with a given resource. For instance, if you want to show which resources are used by which departments, you might use “Department” as the key portion of the pair, with multiple possible values such as “sales,” “legal,” and “administration.”

Definition at line 49 of file Tag.h.

◆ GetValue()

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

The second part of a key-value pair that forms a tag associated with a given resource. For instance, if you want to show which resources are used by which departments, you might use “Department” as the initial (key) portion of the pair, with a value of “sales” to indicate the sales department.

Definition at line 114 of file Tag.h.

◆ Jsonize()

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

◆ KeyHasBeenSet()

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

The initial part of a key-value pair that forms a tag associated with a given resource. For instance, if you want to show which resources are used by which departments, you might use “Department” as the key portion of the pair, with multiple possible values such as “sales,” “legal,” and “administration.”

Definition at line 57 of file Tag.h.

◆ operator=()

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

◆ SetKey() [1/3]

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

The initial part of a key-value pair that forms a tag associated with a given resource. For instance, if you want to show which resources are used by which departments, you might use “Department” as the key portion of the pair, with multiple possible values such as “sales,” “legal,” and “administration.”

Definition at line 65 of file Tag.h.

◆ SetKey() [2/3]

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

The initial part of a key-value pair that forms a tag associated with a given resource. For instance, if you want to show which resources are used by which departments, you might use “Department” as the key portion of the pair, with multiple possible values such as “sales,” “legal,” and “administration.”

Definition at line 73 of file Tag.h.

◆ SetKey() [3/3]

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

The initial part of a key-value pair that forms a tag associated with a given resource. For instance, if you want to show which resources are used by which departments, you might use “Department” as the key portion of the pair, with multiple possible values such as “sales,” “legal,” and “administration.”

Definition at line 81 of file Tag.h.

◆ SetValue() [1/3]

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

The second part of a key-value pair that forms a tag associated with a given resource. For instance, if you want to show which resources are used by which departments, you might use “Department” as the initial (key) portion of the pair, with a value of “sales” to indicate the sales department.

Definition at line 130 of file Tag.h.

◆ SetValue() [2/3]

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

The second part of a key-value pair that forms a tag associated with a given resource. For instance, if you want to show which resources are used by which departments, you might use “Department” as the initial (key) portion of the pair, with a value of “sales” to indicate the sales department.

Definition at line 138 of file Tag.h.

◆ SetValue() [3/3]

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

The second part of a key-value pair that forms a tag associated with a given resource. For instance, if you want to show which resources are used by which departments, you might use “Department” as the initial (key) portion of the pair, with a value of “sales” to indicate the sales department.

Definition at line 146 of file Tag.h.

◆ ValueHasBeenSet()

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

The second part of a key-value pair that forms a tag associated with a given resource. For instance, if you want to show which resources are used by which departments, you might use “Department” as the initial (key) portion of the pair, with a value of “sales” to indicate the sales department.

Definition at line 122 of file Tag.h.

◆ WithKey() [1/3]

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

The initial part of a key-value pair that forms a tag associated with a given resource. For instance, if you want to show which resources are used by which departments, you might use “Department” as the key portion of the pair, with multiple possible values such as “sales,” “legal,” and “administration.”

Definition at line 89 of file Tag.h.

◆ WithKey() [2/3]

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

The initial part of a key-value pair that forms a tag associated with a given resource. For instance, if you want to show which resources are used by which departments, you might use “Department” as the key portion of the pair, with multiple possible values such as “sales,” “legal,” and “administration.”

Definition at line 97 of file Tag.h.

◆ WithKey() [3/3]

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

The initial part of a key-value pair that forms a tag associated with a given resource. For instance, if you want to show which resources are used by which departments, you might use “Department” as the key portion of the pair, with multiple possible values such as “sales,” “legal,” and “administration.”

Definition at line 105 of file Tag.h.

◆ WithValue() [1/3]

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

The second part of a key-value pair that forms a tag associated with a given resource. For instance, if you want to show which resources are used by which departments, you might use “Department” as the initial (key) portion of the pair, with a value of “sales” to indicate the sales department.

Definition at line 154 of file Tag.h.

◆ WithValue() [2/3]

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

The second part of a key-value pair that forms a tag associated with a given resource. For instance, if you want to show which resources are used by which departments, you might use “Department” as the initial (key) portion of the pair, with a value of “sales” to indicate the sales department.

Definition at line 162 of file Tag.h.

◆ WithValue() [3/3]

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

The second part of a key-value pair that forms a tag associated with a given resource. For instance, if you want to show which resources are used by which departments, you might use “Department” as the initial (key) portion of the pair, with a value of “sales” to indicate the sales department.

Definition at line 170 of file Tag.h.


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