AWS SDK for C++  1.8.95
AWS SDK for C++
Public Member Functions | List of all members
Aws::ECS::Model::Attribute Class Reference

#include <Attribute.h>

Public Member Functions

 Attribute ()
 
 Attribute (Aws::Utils::Json::JsonView jsonValue)
 
Attributeoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetName () const
 
bool NameHasBeenSet () const
 
void SetName (const Aws::String &value)
 
void SetName (Aws::String &&value)
 
void SetName (const char *value)
 
AttributeWithName (const Aws::String &value)
 
AttributeWithName (Aws::String &&value)
 
AttributeWithName (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)
 
AttributeWithValue (const Aws::String &value)
 
AttributeWithValue (Aws::String &&value)
 
AttributeWithValue (const char *value)
 
const TargetTypeGetTargetType () const
 
bool TargetTypeHasBeenSet () const
 
void SetTargetType (const TargetType &value)
 
void SetTargetType (TargetType &&value)
 
AttributeWithTargetType (const TargetType &value)
 
AttributeWithTargetType (TargetType &&value)
 
const Aws::StringGetTargetId () const
 
bool TargetIdHasBeenSet () const
 
void SetTargetId (const Aws::String &value)
 
void SetTargetId (Aws::String &&value)
 
void SetTargetId (const char *value)
 
AttributeWithTargetId (const Aws::String &value)
 
AttributeWithTargetId (Aws::String &&value)
 
AttributeWithTargetId (const char *value)
 

Detailed Description

An attribute is a name-value pair associated with an Amazon ECS object. Attributes enable you to extend the Amazon ECS data model by adding custom metadata to your resources. For more information, see Attributes in the Amazon Elastic Container Service Developer Guide.

See Also:

AWS API Reference

Definition at line 37 of file Attribute.h.

Constructor & Destructor Documentation

◆ Attribute() [1/2]

Aws::ECS::Model::Attribute::Attribute ( )

◆ Attribute() [2/2]

Aws::ECS::Model::Attribute::Attribute ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ GetName()

const Aws::String& Aws::ECS::Model::Attribute::GetName ( ) const
inline

The name of the attribute. The name must contain between 1 and 128 characters and name may contain letters (uppercase and lowercase), numbers, hyphens, underscores, forward slashes, back slashes, or periods.

Definition at line 51 of file Attribute.h.

◆ GetTargetId()

const Aws::String& Aws::ECS::Model::Attribute::GetTargetId ( ) const
inline

The ID of the target. You can specify the short form ID for a resource or the full Amazon Resource Name (ARN).

Definition at line 223 of file Attribute.h.

◆ GetTargetType()

const TargetType& Aws::ECS::Model::Attribute::GetTargetType ( ) const
inline

The type of the target with which to attach the attribute. This parameter is required if you use the short form ID for a resource instead of the full ARN.

Definition at line 181 of file Attribute.h.

◆ GetValue()

const Aws::String& Aws::ECS::Model::Attribute::GetValue ( ) const
inline

The value of the attribute. The value must contain between 1 and 128 characters and may contain letters (uppercase and lowercase), numbers, hyphens, underscores, periods, at signs (@), forward slashes, back slashes, colons, or spaces. The value cannot contain any leading or trailing whitespace.

Definition at line 110 of file Attribute.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::ECS::Model::Attribute::Jsonize ( ) const

◆ NameHasBeenSet()

bool Aws::ECS::Model::Attribute::NameHasBeenSet ( ) const
inline

The name of the attribute. The name must contain between 1 and 128 characters and name may contain letters (uppercase and lowercase), numbers, hyphens, underscores, forward slashes, back slashes, or periods.

Definition at line 58 of file Attribute.h.

◆ operator=()

Attribute& Aws::ECS::Model::Attribute::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetName() [1/3]

void Aws::ECS::Model::Attribute::SetName ( const Aws::String value)
inline

The name of the attribute. The name must contain between 1 and 128 characters and name may contain letters (uppercase and lowercase), numbers, hyphens, underscores, forward slashes, back slashes, or periods.

Definition at line 65 of file Attribute.h.

◆ SetName() [2/3]

void Aws::ECS::Model::Attribute::SetName ( Aws::String &&  value)
inline

The name of the attribute. The name must contain between 1 and 128 characters and name may contain letters (uppercase and lowercase), numbers, hyphens, underscores, forward slashes, back slashes, or periods.

Definition at line 72 of file Attribute.h.

◆ SetName() [3/3]

void Aws::ECS::Model::Attribute::SetName ( const char *  value)
inline

The name of the attribute. The name must contain between 1 and 128 characters and name may contain letters (uppercase and lowercase), numbers, hyphens, underscores, forward slashes, back slashes, or periods.

Definition at line 79 of file Attribute.h.

◆ SetTargetId() [1/3]

void Aws::ECS::Model::Attribute::SetTargetId ( const Aws::String value)
inline

The ID of the target. You can specify the short form ID for a resource or the full Amazon Resource Name (ARN).

Definition at line 235 of file Attribute.h.

◆ SetTargetId() [2/3]

void Aws::ECS::Model::Attribute::SetTargetId ( Aws::String &&  value)
inline

The ID of the target. You can specify the short form ID for a resource or the full Amazon Resource Name (ARN).

Definition at line 241 of file Attribute.h.

◆ SetTargetId() [3/3]

void Aws::ECS::Model::Attribute::SetTargetId ( const char *  value)
inline

The ID of the target. You can specify the short form ID for a resource or the full Amazon Resource Name (ARN).

Definition at line 247 of file Attribute.h.

◆ SetTargetType() [1/2]

void Aws::ECS::Model::Attribute::SetTargetType ( const TargetType value)
inline

The type of the target with which to attach the attribute. This parameter is required if you use the short form ID for a resource instead of the full ARN.

Definition at line 195 of file Attribute.h.

◆ SetTargetType() [2/2]

void Aws::ECS::Model::Attribute::SetTargetType ( TargetType &&  value)
inline

The type of the target with which to attach the attribute. This parameter is required if you use the short form ID for a resource instead of the full ARN.

Definition at line 202 of file Attribute.h.

◆ SetValue() [1/3]

void Aws::ECS::Model::Attribute::SetValue ( const Aws::String value)
inline

The value of the attribute. The value must contain between 1 and 128 characters and may contain letters (uppercase and lowercase), numbers, hyphens, underscores, periods, at signs (@), forward slashes, back slashes, colons, or spaces. The value cannot contain any leading or trailing whitespace.

Definition at line 128 of file Attribute.h.

◆ SetValue() [2/3]

void Aws::ECS::Model::Attribute::SetValue ( Aws::String &&  value)
inline

The value of the attribute. The value must contain between 1 and 128 characters and may contain letters (uppercase and lowercase), numbers, hyphens, underscores, periods, at signs (@), forward slashes, back slashes, colons, or spaces. The value cannot contain any leading or trailing whitespace.

Definition at line 137 of file Attribute.h.

◆ SetValue() [3/3]

void Aws::ECS::Model::Attribute::SetValue ( const char *  value)
inline

The value of the attribute. The value must contain between 1 and 128 characters and may contain letters (uppercase and lowercase), numbers, hyphens, underscores, periods, at signs (@), forward slashes, back slashes, colons, or spaces. The value cannot contain any leading or trailing whitespace.

Definition at line 146 of file Attribute.h.

◆ TargetIdHasBeenSet()

bool Aws::ECS::Model::Attribute::TargetIdHasBeenSet ( ) const
inline

The ID of the target. You can specify the short form ID for a resource or the full Amazon Resource Name (ARN).

Definition at line 229 of file Attribute.h.

◆ TargetTypeHasBeenSet()

bool Aws::ECS::Model::Attribute::TargetTypeHasBeenSet ( ) const
inline

The type of the target with which to attach the attribute. This parameter is required if you use the short form ID for a resource instead of the full ARN.

Definition at line 188 of file Attribute.h.

◆ ValueHasBeenSet()

bool Aws::ECS::Model::Attribute::ValueHasBeenSet ( ) const
inline

The value of the attribute. The value must contain between 1 and 128 characters and may contain letters (uppercase and lowercase), numbers, hyphens, underscores, periods, at signs (@), forward slashes, back slashes, colons, or spaces. The value cannot contain any leading or trailing whitespace.

Definition at line 119 of file Attribute.h.

◆ WithName() [1/3]

Attribute& Aws::ECS::Model::Attribute::WithName ( const Aws::String value)
inline

The name of the attribute. The name must contain between 1 and 128 characters and name may contain letters (uppercase and lowercase), numbers, hyphens, underscores, forward slashes, back slashes, or periods.

Definition at line 86 of file Attribute.h.

◆ WithName() [2/3]

Attribute& Aws::ECS::Model::Attribute::WithName ( Aws::String &&  value)
inline

The name of the attribute. The name must contain between 1 and 128 characters and name may contain letters (uppercase and lowercase), numbers, hyphens, underscores, forward slashes, back slashes, or periods.

Definition at line 93 of file Attribute.h.

◆ WithName() [3/3]

Attribute& Aws::ECS::Model::Attribute::WithName ( const char *  value)
inline

The name of the attribute. The name must contain between 1 and 128 characters and name may contain letters (uppercase and lowercase), numbers, hyphens, underscores, forward slashes, back slashes, or periods.

Definition at line 100 of file Attribute.h.

◆ WithTargetId() [1/3]

Attribute& Aws::ECS::Model::Attribute::WithTargetId ( const Aws::String value)
inline

The ID of the target. You can specify the short form ID for a resource or the full Amazon Resource Name (ARN).

Definition at line 253 of file Attribute.h.

◆ WithTargetId() [2/3]

Attribute& Aws::ECS::Model::Attribute::WithTargetId ( Aws::String &&  value)
inline

The ID of the target. You can specify the short form ID for a resource or the full Amazon Resource Name (ARN).

Definition at line 259 of file Attribute.h.

◆ WithTargetId() [3/3]

Attribute& Aws::ECS::Model::Attribute::WithTargetId ( const char *  value)
inline

The ID of the target. You can specify the short form ID for a resource or the full Amazon Resource Name (ARN).

Definition at line 265 of file Attribute.h.

◆ WithTargetType() [1/2]

Attribute& Aws::ECS::Model::Attribute::WithTargetType ( const TargetType value)
inline

The type of the target with which to attach the attribute. This parameter is required if you use the short form ID for a resource instead of the full ARN.

Definition at line 209 of file Attribute.h.

◆ WithTargetType() [2/2]

Attribute& Aws::ECS::Model::Attribute::WithTargetType ( TargetType &&  value)
inline

The type of the target with which to attach the attribute. This parameter is required if you use the short form ID for a resource instead of the full ARN.

Definition at line 216 of file Attribute.h.

◆ WithValue() [1/3]

Attribute& Aws::ECS::Model::Attribute::WithValue ( const Aws::String value)
inline

The value of the attribute. The value must contain between 1 and 128 characters and may contain letters (uppercase and lowercase), numbers, hyphens, underscores, periods, at signs (@), forward slashes, back slashes, colons, or spaces. The value cannot contain any leading or trailing whitespace.

Definition at line 155 of file Attribute.h.

◆ WithValue() [2/3]

Attribute& Aws::ECS::Model::Attribute::WithValue ( Aws::String &&  value)
inline

The value of the attribute. The value must contain between 1 and 128 characters and may contain letters (uppercase and lowercase), numbers, hyphens, underscores, periods, at signs (@), forward slashes, back slashes, colons, or spaces. The value cannot contain any leading or trailing whitespace.

Definition at line 164 of file Attribute.h.

◆ WithValue() [3/3]

Attribute& Aws::ECS::Model::Attribute::WithValue ( const char *  value)
inline

The value of the attribute. The value must contain between 1 and 128 characters and may contain letters (uppercase and lowercase), numbers, hyphens, underscores, periods, at signs (@), forward slashes, back slashes, colons, or spaces. The value cannot contain any leading or trailing whitespace.

Definition at line 173 of file Attribute.h.


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