#include <Tag.h>
Describes a tag key and optional value assigned to an Amazon Lightsail resource.
For more information about tags in Lightsail, see the Lightsail Dev Guide.
See Also:
AWS API Reference
Definition at line 34 of file Tag.h.
◆ Tag() [1/2]
Aws::Lightsail::Model::Tag::Tag |
( |
| ) |
|
◆ Tag() [2/2]
◆ GetKey()
const Aws::String& Aws::Lightsail::Model::Tag::GetKey |
( |
| ) |
const |
|
inline |
The key of the tag.
Constraints: Tag keys accept a maximum of 128 letters, numbers, spaces in UTF-8, or the following characters: + - = . _ : / </p>
Definition at line 48 of file Tag.h.
◆ GetValue()
const Aws::String& Aws::Lightsail::Model::Tag::GetValue |
( |
| ) |
const |
|
inline |
The value of the tag.
Constraints: Tag values accept a maximum of 256 letters, numbers, spaces in UTF-8, or the following characters: + - = . _ : / </p>
Definition at line 105 of file Tag.h.
◆ Jsonize()
◆ KeyHasBeenSet()
bool Aws::Lightsail::Model::Tag::KeyHasBeenSet |
( |
| ) |
const |
|
inline |
The key of the tag.
Constraints: Tag keys accept a maximum of 128 letters, numbers, spaces in UTF-8, or the following characters: + - = . _ : / </p>
Definition at line 55 of file Tag.h.
◆ operator=()
◆ SetKey() [1/3]
void Aws::Lightsail::Model::Tag::SetKey |
( |
Aws::String && |
value | ) |
|
|
inline |
The key of the tag.
Constraints: Tag keys accept a maximum of 128 letters, numbers, spaces in UTF-8, or the following characters: + - = . _ : / </p>
Definition at line 69 of file Tag.h.
◆ SetKey() [2/3]
void Aws::Lightsail::Model::Tag::SetKey |
( |
const Aws::String & |
value | ) |
|
|
inline |
The key of the tag.
Constraints: Tag keys accept a maximum of 128 letters, numbers, spaces in UTF-8, or the following characters: + - = . _ : / </p>
Definition at line 62 of file Tag.h.
◆ SetKey() [3/3]
void Aws::Lightsail::Model::Tag::SetKey |
( |
const char * |
value | ) |
|
|
inline |
The key of the tag.
Constraints: Tag keys accept a maximum of 128 letters, numbers, spaces in UTF-8, or the following characters: + - = . _ : / </p>
Definition at line 76 of file Tag.h.
◆ SetValue() [1/3]
void Aws::Lightsail::Model::Tag::SetValue |
( |
Aws::String && |
value | ) |
|
|
inline |
The value of the tag.
Constraints: Tag values accept a maximum of 256 letters, numbers, spaces in UTF-8, or the following characters: + - = . _ : / </p>
Definition at line 126 of file Tag.h.
◆ SetValue() [2/3]
void Aws::Lightsail::Model::Tag::SetValue |
( |
const Aws::String & |
value | ) |
|
|
inline |
The value of the tag.
Constraints: Tag values accept a maximum of 256 letters, numbers, spaces in UTF-8, or the following characters: + - = . _ : / </p>
Definition at line 119 of file Tag.h.
◆ SetValue() [3/3]
void Aws::Lightsail::Model::Tag::SetValue |
( |
const char * |
value | ) |
|
|
inline |
The value of the tag.
Constraints: Tag values accept a maximum of 256 letters, numbers, spaces in UTF-8, or the following characters: + - = . _ : / </p>
Definition at line 133 of file Tag.h.
◆ ValueHasBeenSet()
bool Aws::Lightsail::Model::Tag::ValueHasBeenSet |
( |
| ) |
const |
|
inline |
The value of the tag.
Constraints: Tag values accept a maximum of 256 letters, numbers, spaces in UTF-8, or the following characters: + - = . _ : / </p>
Definition at line 112 of file Tag.h.
◆ WithKey() [1/3]
The key of the tag.
Constraints: Tag keys accept a maximum of 128 letters, numbers, spaces in UTF-8, or the following characters: + - = . _ : / </p>
Definition at line 90 of file Tag.h.
◆ WithKey() [2/3]
The key of the tag.
Constraints: Tag keys accept a maximum of 128 letters, numbers, spaces in UTF-8, or the following characters: + - = . _ : / </p>
Definition at line 83 of file Tag.h.
◆ WithKey() [3/3]
Tag& Aws::Lightsail::Model::Tag::WithKey |
( |
const char * |
value | ) |
|
|
inline |
The key of the tag.
Constraints: Tag keys accept a maximum of 128 letters, numbers, spaces in UTF-8, or the following characters: + - = . _ : / </p>
Definition at line 97 of file Tag.h.
◆ WithValue() [1/3]
The value of the tag.
Constraints: Tag values accept a maximum of 256 letters, numbers, spaces in UTF-8, or the following characters: + - = . _ : / </p>
Definition at line 147 of file Tag.h.
◆ WithValue() [2/3]
Tag& Aws::Lightsail::Model::Tag::WithValue |
( |
const Aws::String & |
value | ) |
|
|
inline |
The value of the tag.
Constraints: Tag values accept a maximum of 256 letters, numbers, spaces in UTF-8, or the following characters: + - = . _ : / </p>
Definition at line 140 of file Tag.h.
◆ WithValue() [3/3]
Tag& Aws::Lightsail::Model::Tag::WithValue |
( |
const char * |
value | ) |
|
|
inline |
The value of the tag.
Constraints: Tag values accept a maximum of 256 letters, numbers, spaces in UTF-8, or the following characters: + - = . _ : / </p>
Definition at line 154 of file Tag.h.
The documentation for this class was generated from the following file:
- aws-cpp-sdk-lightsail/include/aws/lightsail/model/Tag.h