AWS SDK for C++  1.8.71
AWS SDK for C++
Public Member Functions | List of all members
Aws::Athena::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 label that you assign to a resource. In Athena, a resource can be a workgroup or data catalog. Each tag consists of a key and an optional value, both of which you define. For example, you can use tags to categorize Athena workgroups or data catalogs by purpose, owner, or environment. Use a consistent set of tag keys to make it easier to search and filter workgroups or data catalogs in your account. For best practices, see Tagging Best Practices. Tag keys can be from 1 to 128 UTF-8 Unicode characters, and tag values can be from 0 to 256 UTF-8 Unicode characters. Tags can use letters and numbers representable in UTF-8, and the following characters: + - = . _ : / . Tag keys and values are case-sensitive. Tag keys must be unique per resource. If you specify more than one tag, separate them by commas.

See Also:

AWS API Reference

Definition at line 43 of file Tag.h.

Constructor & Destructor Documentation

◆ Tag() [1/2]

Aws::Athena::Model::Tag::Tag ( )

◆ Tag() [2/2]

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

Member Function Documentation

◆ GetKey()

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

A tag key. The tag key length is from 1 to 128 Unicode characters in UTF-8. You can use letters and numbers representable in UTF-8, and the following characters: + - = . _ : / . Tag keys are case-sensitive and must be unique per resource.

Definition at line 58 of file Tag.h.

◆ GetValue()

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

A tag value. The tag value length is from 0 to 256 Unicode characters in UTF-8. You can use letters and numbers representable in UTF-8, and the following characters: + - = . _ : / . Tag values are case-sensitive.

Definition at line 122 of file Tag.h.

◆ Jsonize()

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

◆ KeyHasBeenSet()

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

A tag key. The tag key length is from 1 to 128 Unicode characters in UTF-8. You can use letters and numbers representable in UTF-8, and the following characters: + - = . _ : / . Tag keys are case-sensitive and must be unique per resource.

Definition at line 66 of file Tag.h.

◆ operator=()

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

◆ SetKey() [1/3]

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

A tag key. The tag key length is from 1 to 128 Unicode characters in UTF-8. You can use letters and numbers representable in UTF-8, and the following characters: + - = . _ : / . Tag keys are case-sensitive and must be unique per resource.

Definition at line 74 of file Tag.h.

◆ SetKey() [2/3]

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

A tag key. The tag key length is from 1 to 128 Unicode characters in UTF-8. You can use letters and numbers representable in UTF-8, and the following characters: + - = . _ : / . Tag keys are case-sensitive and must be unique per resource.

Definition at line 82 of file Tag.h.

◆ SetKey() [3/3]

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

A tag key. The tag key length is from 1 to 128 Unicode characters in UTF-8. You can use letters and numbers representable in UTF-8, and the following characters: + - = . _ : / . Tag keys are case-sensitive and must be unique per resource.

Definition at line 90 of file Tag.h.

◆ SetValue() [1/3]

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

A tag value. The tag value length is from 0 to 256 Unicode characters in UTF-8. You can use letters and numbers representable in UTF-8, and the following characters: + - = . _ : / . Tag values are case-sensitive.

Definition at line 136 of file Tag.h.

◆ SetValue() [2/3]

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

A tag value. The tag value length is from 0 to 256 Unicode characters in UTF-8. You can use letters and numbers representable in UTF-8, and the following characters: + - = . _ : / . Tag values are case-sensitive.

Definition at line 143 of file Tag.h.

◆ SetValue() [3/3]

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

A tag value. The tag value length is from 0 to 256 Unicode characters in UTF-8. You can use letters and numbers representable in UTF-8, and the following characters: + - = . _ : / . Tag values are case-sensitive.

Definition at line 150 of file Tag.h.

◆ ValueHasBeenSet()

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

A tag value. The tag value length is from 0 to 256 Unicode characters in UTF-8. You can use letters and numbers representable in UTF-8, and the following characters: + - = . _ : / . Tag values are case-sensitive.

Definition at line 129 of file Tag.h.

◆ WithKey() [1/3]

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

A tag key. The tag key length is from 1 to 128 Unicode characters in UTF-8. You can use letters and numbers representable in UTF-8, and the following characters: + - = . _ : / . Tag keys are case-sensitive and must be unique per resource.

Definition at line 98 of file Tag.h.

◆ WithKey() [2/3]

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

A tag key. The tag key length is from 1 to 128 Unicode characters in UTF-8. You can use letters and numbers representable in UTF-8, and the following characters: + - = . _ : / . Tag keys are case-sensitive and must be unique per resource.

Definition at line 106 of file Tag.h.

◆ WithKey() [3/3]

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

A tag key. The tag key length is from 1 to 128 Unicode characters in UTF-8. You can use letters and numbers representable in UTF-8, and the following characters: + - = . _ : / . Tag keys are case-sensitive and must be unique per resource.

Definition at line 114 of file Tag.h.

◆ WithValue() [1/3]

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

A tag value. The tag value length is from 0 to 256 Unicode characters in UTF-8. You can use letters and numbers representable in UTF-8, and the following characters: + - = . _ : / . Tag values are case-sensitive.

Definition at line 157 of file Tag.h.

◆ WithValue() [2/3]

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

A tag value. The tag value length is from 0 to 256 Unicode characters in UTF-8. You can use letters and numbers representable in UTF-8, and the following characters: + - = . _ : / . Tag values are case-sensitive.

Definition at line 164 of file Tag.h.

◆ WithValue() [3/3]

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

A tag value. The tag value length is from 0 to 256 Unicode characters in UTF-8. You can use letters and numbers representable in UTF-8, and the following characters: + - = . _ : / . Tag values are case-sensitive.

Definition at line 171 of file Tag.h.


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