AWS SDK for C++  1.9.104
AWS SDK for C++
Public Member Functions | List of all members
Aws::SESV2::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

An object that defines the tags that are associated with a resource. A tag is a label that you optionally define and associate with a resource. Tags can help you categorize and manage resources in different ways, such as by purpose, owner, environment, or other criteria. A resource can have as many as 50 tags.

Each tag consists of a required tag key and an associated tag value, both of which you define. A tag key is a general label that acts as a category for a more specific tag value. A tag value acts as a descriptor within a tag key. A tag key can contain as many as 128 characters. A tag value can contain as many as 256 characters. The characters can be Unicode letters, digits, white space, or one of the following symbols: _ . : / = + -. The following additional restrictions apply to tags:

See Also:

AWS API Reference

Definition at line 51 of file Tag.h.

Constructor & Destructor Documentation

◆ Tag() [1/2]

Aws::SESV2::Model::Tag::Tag ( )

◆ Tag() [2/2]

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

Member Function Documentation

◆ GetKey()

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

One part of a key-value pair that defines a tag. The maximum length of a tag key is 128 characters. The minimum length is 1 character.

Definition at line 64 of file Tag.h.

◆ GetValue()

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

The optional part of a key-value pair that defines a tag. The maximum length of a tag value is 256 characters. The minimum length is 0 characters. If you don't want a resource to have a specific tag value, don't specify a value for this parameter. If you don't specify a value, Amazon SES sets the value to an empty string.

Definition at line 116 of file Tag.h.

◆ Jsonize()

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

◆ KeyHasBeenSet()

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

One part of a key-value pair that defines a tag. The maximum length of a tag key is 128 characters. The minimum length is 1 character.

Definition at line 70 of file Tag.h.

◆ operator=()

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

◆ SetKey() [1/3]

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

One part of a key-value pair that defines a tag. The maximum length of a tag key is 128 characters. The minimum length is 1 character.

Definition at line 82 of file Tag.h.

◆ SetKey() [2/3]

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

One part of a key-value pair that defines a tag. The maximum length of a tag key is 128 characters. The minimum length is 1 character.

Definition at line 76 of file Tag.h.

◆ SetKey() [3/3]

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

One part of a key-value pair that defines a tag. The maximum length of a tag key is 128 characters. The minimum length is 1 character.

Definition at line 88 of file Tag.h.

◆ SetValue() [1/3]

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

The optional part of a key-value pair that defines a tag. The maximum length of a tag value is 256 characters. The minimum length is 0 characters. If you don't want a resource to have a specific tag value, don't specify a value for this parameter. If you don't specify a value, Amazon SES sets the value to an empty string.

Definition at line 143 of file Tag.h.

◆ SetValue() [2/3]

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

The optional part of a key-value pair that defines a tag. The maximum length of a tag value is 256 characters. The minimum length is 0 characters. If you don't want a resource to have a specific tag value, don't specify a value for this parameter. If you don't specify a value, Amazon SES sets the value to an empty string.

Definition at line 134 of file Tag.h.

◆ SetValue() [3/3]

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

The optional part of a key-value pair that defines a tag. The maximum length of a tag value is 256 characters. The minimum length is 0 characters. If you don't want a resource to have a specific tag value, don't specify a value for this parameter. If you don't specify a value, Amazon SES sets the value to an empty string.

Definition at line 152 of file Tag.h.

◆ ValueHasBeenSet()

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

The optional part of a key-value pair that defines a tag. The maximum length of a tag value is 256 characters. The minimum length is 0 characters. If you don't want a resource to have a specific tag value, don't specify a value for this parameter. If you don't specify a value, Amazon SES sets the value to an empty string.

Definition at line 125 of file Tag.h.

◆ WithKey() [1/3]

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

One part of a key-value pair that defines a tag. The maximum length of a tag key is 128 characters. The minimum length is 1 character.

Definition at line 100 of file Tag.h.

◆ WithKey() [2/3]

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

One part of a key-value pair that defines a tag. The maximum length of a tag key is 128 characters. The minimum length is 1 character.

Definition at line 94 of file Tag.h.

◆ WithKey() [3/3]

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

One part of a key-value pair that defines a tag. The maximum length of a tag key is 128 characters. The minimum length is 1 character.

Definition at line 106 of file Tag.h.

◆ WithValue() [1/3]

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

The optional part of a key-value pair that defines a tag. The maximum length of a tag value is 256 characters. The minimum length is 0 characters. If you don't want a resource to have a specific tag value, don't specify a value for this parameter. If you don't specify a value, Amazon SES sets the value to an empty string.

Definition at line 170 of file Tag.h.

◆ WithValue() [2/3]

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

The optional part of a key-value pair that defines a tag. The maximum length of a tag value is 256 characters. The minimum length is 0 characters. If you don't want a resource to have a specific tag value, don't specify a value for this parameter. If you don't specify a value, Amazon SES sets the value to an empty string.

Definition at line 161 of file Tag.h.

◆ WithValue() [3/3]

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

The optional part of a key-value pair that defines a tag. The maximum length of a tag value is 256 characters. The minimum length is 0 characters. If you don't want a resource to have a specific tag value, don't specify a value for this parameter. If you don't specify a value, Amazon SES sets the value to an empty string.

Definition at line 179 of file Tag.h.


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