AWS SDK for C++  1.9.104
AWS SDK for C++
Public Member Functions | List of all members
Aws::WAFV2::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 tag associated with an Amazon Web Services resource. Tags are key:value pairs that you can use to categorize and manage your resources, for purposes like billing or other management. Typically, the tag key represents a category, such as "environment", and the tag value represents a specific value within that category, such as "test," "development," or "production". Or you might set the tag key to "customer" and the value to the customer name or ID. You can specify one or more tags to add to each Amazon Web Services resource, up to 50 tags for a resource.

You can tag the Amazon Web Services resources that you manage through WAF: web ACLs, rule groups, IP sets, and regex pattern sets. You can't manage or view tags through the WAF console.

See Also:

AWS API Reference

Definition at line 40 of file Tag.h.

Constructor & Destructor Documentation

◆ Tag() [1/2]

Aws::WAFV2::Model::Tag::Tag ( )

◆ Tag() [2/2]

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

Member Function Documentation

◆ GetKey()

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

Part of the key:value pair that defines a tag. You can use a tag key to describe a category of information, such as "customer." Tag keys are case-sensitive.

Definition at line 54 of file Tag.h.

◆ GetValue()

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

Part of the key:value pair that defines a tag. You can use a tag value to describe a specific value within a category, such as "companyA" or "companyB." Tag values are case-sensitive.

Definition at line 111 of file Tag.h.

◆ Jsonize()

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

◆ KeyHasBeenSet()

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

Part of the key:value pair that defines a tag. You can use a tag key to describe a category of information, such as "customer." Tag keys are case-sensitive.

Definition at line 61 of file Tag.h.

◆ operator=()

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

◆ SetKey() [1/3]

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

Part of the key:value pair that defines a tag. You can use a tag key to describe a category of information, such as "customer." Tag keys are case-sensitive.

Definition at line 75 of file Tag.h.

◆ SetKey() [2/3]

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

Part of the key:value pair that defines a tag. You can use a tag key to describe a category of information, such as "customer." Tag keys are case-sensitive.

Definition at line 68 of file Tag.h.

◆ SetKey() [3/3]

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

Part of the key:value pair that defines a tag. You can use a tag key to describe a category of information, such as "customer." Tag keys are case-sensitive.

Definition at line 82 of file Tag.h.

◆ SetValue() [1/3]

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

Part of the key:value pair that defines a tag. You can use a tag value to describe a specific value within a category, such as "companyA" or "companyB." Tag values are case-sensitive.

Definition at line 132 of file Tag.h.

◆ SetValue() [2/3]

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

Part of the key:value pair that defines a tag. You can use a tag value to describe a specific value within a category, such as "companyA" or "companyB." Tag values are case-sensitive.

Definition at line 125 of file Tag.h.

◆ SetValue() [3/3]

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

Part of the key:value pair that defines a tag. You can use a tag value to describe a specific value within a category, such as "companyA" or "companyB." Tag values are case-sensitive.

Definition at line 139 of file Tag.h.

◆ ValueHasBeenSet()

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

Part of the key:value pair that defines a tag. You can use a tag value to describe a specific value within a category, such as "companyA" or "companyB." Tag values are case-sensitive.

Definition at line 118 of file Tag.h.

◆ WithKey() [1/3]

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

Part of the key:value pair that defines a tag. You can use a tag key to describe a category of information, such as "customer." Tag keys are case-sensitive.

Definition at line 96 of file Tag.h.

◆ WithKey() [2/3]

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

Part of the key:value pair that defines a tag. You can use a tag key to describe a category of information, such as "customer." Tag keys are case-sensitive.

Definition at line 89 of file Tag.h.

◆ WithKey() [3/3]

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

Part of the key:value pair that defines a tag. You can use a tag key to describe a category of information, such as "customer." Tag keys are case-sensitive.

Definition at line 103 of file Tag.h.

◆ WithValue() [1/3]

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

Part of the key:value pair that defines a tag. You can use a tag value to describe a specific value within a category, such as "companyA" or "companyB." Tag values are case-sensitive.

Definition at line 153 of file Tag.h.

◆ WithValue() [2/3]

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

Part of the key:value pair that defines a tag. You can use a tag value to describe a specific value within a category, such as "companyA" or "companyB." Tag values are case-sensitive.

Definition at line 146 of file Tag.h.

◆ WithValue() [3/3]

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

Part of the key:value pair that defines a tag. You can use a tag value to describe a specific value within a category, such as "companyA" or "companyB." Tag values are case-sensitive.

Definition at line 160 of file Tag.h.


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