#include <Tag.h>
The Tag type enables you to specify a key-value pair that can be used to store information about an AWS CloudFormation stack.
See Also:
AWS API Reference
Definition at line 33 of file Tag.h.
◆ Tag() [1/2]
Aws::CloudFormation::Model::Tag::Tag |
( |
| ) |
|
◆ Tag() [2/2]
◆ GetKey()
const Aws::String& Aws::CloudFormation::Model::Tag::GetKey |
( |
| ) |
const |
|
inline |
Required. A string used to identify this tag. You can specify a maximum of 128 characters for a tag key. Tags owned by Amazon Web Services (AWS) have the reserved prefix: aws:
.
Definition at line 49 of file Tag.h.
◆ GetValue()
const Aws::String& Aws::CloudFormation::Model::Tag::GetValue |
( |
| ) |
const |
|
inline |
Required. A string containing the value for this tag. You can specify a maximum of 256 characters for a tag value.
Definition at line 105 of file Tag.h.
◆ KeyHasBeenSet()
bool Aws::CloudFormation::Model::Tag::KeyHasBeenSet |
( |
| ) |
const |
|
inline |
Required. A string used to identify this tag. You can specify a maximum of 128 characters for a tag key. Tags owned by Amazon Web Services (AWS) have the reserved prefix: aws:
.
Definition at line 56 of file Tag.h.
◆ operator=()
◆ OutputToStream() [1/2]
void Aws::CloudFormation::Model::Tag::OutputToStream |
( |
Aws::OStream & |
oStream, |
|
|
const char * |
location |
|
) |
| const |
◆ OutputToStream() [2/2]
void Aws::CloudFormation::Model::Tag::OutputToStream |
( |
Aws::OStream & |
ostream, |
|
|
const char * |
location, |
|
|
unsigned |
index, |
|
|
const char * |
locationValue |
|
) |
| const |
◆ SetKey() [1/3]
void Aws::CloudFormation::Model::Tag::SetKey |
( |
Aws::String && |
value | ) |
|
|
inline |
Required. A string used to identify this tag. You can specify a maximum of 128 characters for a tag key. Tags owned by Amazon Web Services (AWS) have the reserved prefix: aws:
.
Definition at line 70 of file Tag.h.
◆ SetKey() [2/3]
void Aws::CloudFormation::Model::Tag::SetKey |
( |
const Aws::String & |
value | ) |
|
|
inline |
Required. A string used to identify this tag. You can specify a maximum of 128 characters for a tag key. Tags owned by Amazon Web Services (AWS) have the reserved prefix: aws:
.
Definition at line 63 of file Tag.h.
◆ SetKey() [3/3]
void Aws::CloudFormation::Model::Tag::SetKey |
( |
const char * |
value | ) |
|
|
inline |
Required. A string used to identify this tag. You can specify a maximum of 128 characters for a tag key. Tags owned by Amazon Web Services (AWS) have the reserved prefix: aws:
.
Definition at line 77 of file Tag.h.
◆ SetValue() [1/3]
void Aws::CloudFormation::Model::Tag::SetValue |
( |
Aws::String && |
value | ) |
|
|
inline |
Required. A string containing the value for this tag. You can specify a maximum of 256 characters for a tag value.
Definition at line 123 of file Tag.h.
◆ SetValue() [2/3]
void Aws::CloudFormation::Model::Tag::SetValue |
( |
const Aws::String & |
value | ) |
|
|
inline |
Required. A string containing the value for this tag. You can specify a maximum of 256 characters for a tag value.
Definition at line 117 of file Tag.h.
◆ SetValue() [3/3]
void Aws::CloudFormation::Model::Tag::SetValue |
( |
const char * |
value | ) |
|
|
inline |
Required. A string containing the value for this tag. You can specify a maximum of 256 characters for a tag value.
Definition at line 129 of file Tag.h.
◆ ValueHasBeenSet()
bool Aws::CloudFormation::Model::Tag::ValueHasBeenSet |
( |
| ) |
const |
|
inline |
Required. A string containing the value for this tag. You can specify a maximum of 256 characters for a tag value.
Definition at line 111 of file Tag.h.
◆ WithKey() [1/3]
Required. A string used to identify this tag. You can specify a maximum of 128 characters for a tag key. Tags owned by Amazon Web Services (AWS) have the reserved prefix: aws:
.
Definition at line 91 of file Tag.h.
◆ WithKey() [2/3]
Tag& Aws::CloudFormation::Model::Tag::WithKey |
( |
const Aws::String & |
value | ) |
|
|
inline |
Required. A string used to identify this tag. You can specify a maximum of 128 characters for a tag key. Tags owned by Amazon Web Services (AWS) have the reserved prefix: aws:
.
Definition at line 84 of file Tag.h.
◆ WithKey() [3/3]
Tag& Aws::CloudFormation::Model::Tag::WithKey |
( |
const char * |
value | ) |
|
|
inline |
Required. A string used to identify this tag. You can specify a maximum of 128 characters for a tag key. Tags owned by Amazon Web Services (AWS) have the reserved prefix: aws:
.
Definition at line 98 of file Tag.h.
◆ WithValue() [1/3]
Tag& Aws::CloudFormation::Model::Tag::WithValue |
( |
Aws::String && |
value | ) |
|
|
inline |
Required. A string containing the value for this tag. You can specify a maximum of 256 characters for a tag value.
Definition at line 141 of file Tag.h.
◆ WithValue() [2/3]
Tag& Aws::CloudFormation::Model::Tag::WithValue |
( |
const Aws::String & |
value | ) |
|
|
inline |
Required. A string containing the value for this tag. You can specify a maximum of 256 characters for a tag value.
Definition at line 135 of file Tag.h.
◆ WithValue() [3/3]
Tag& Aws::CloudFormation::Model::Tag::WithValue |
( |
const char * |
value | ) |
|
|
inline |
Required. A string containing the value for this tag. You can specify a maximum of 256 characters for a tag value.
Definition at line 147 of file Tag.h.
The documentation for this class was generated from the following file:
- aws-cpp-sdk-cloudformation/include/aws/cloudformation/model/Tag.h