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

#include <Resource.h>

Public Member Functions

 Resource ()
 
 Resource (Aws::Utils::Json::JsonView jsonValue)
 
Resourceoperator= (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)
 
ResourceWithName (const Aws::String &value)
 
ResourceWithName (Aws::String &&value)
 
ResourceWithName (const char *value)
 
const Aws::StringGetType () const
 
bool TypeHasBeenSet () const
 
void SetType (const Aws::String &value)
 
void SetType (Aws::String &&value)
 
void SetType (const char *value)
 
ResourceWithType (const Aws::String &value)
 
ResourceWithType (Aws::String &&value)
 
ResourceWithType (const char *value)
 
double GetDoubleValue () const
 
bool DoubleValueHasBeenSet () const
 
void SetDoubleValue (double value)
 
ResourceWithDoubleValue (double value)
 
long long GetLongValue () const
 
bool LongValueHasBeenSet () const
 
void SetLongValue (long long value)
 
ResourceWithLongValue (long long value)
 
int GetIntegerValue () const
 
bool IntegerValueHasBeenSet () const
 
void SetIntegerValue (int value)
 
ResourceWithIntegerValue (int value)
 
const Aws::Vector< Aws::String > & GetStringSetValue () const
 
bool StringSetValueHasBeenSet () const
 
void SetStringSetValue (const Aws::Vector< Aws::String > &value)
 
void SetStringSetValue (Aws::Vector< Aws::String > &&value)
 
ResourceWithStringSetValue (const Aws::Vector< Aws::String > &value)
 
ResourceWithStringSetValue (Aws::Vector< Aws::String > &&value)
 
ResourceAddStringSetValue (const Aws::String &value)
 
ResourceAddStringSetValue (Aws::String &&value)
 
ResourceAddStringSetValue (const char *value)
 

Detailed Description

Describes the resources available for a container instance.

See Also:

AWS API Reference

Definition at line 33 of file Resource.h.

Constructor & Destructor Documentation

◆ Resource() [1/2]

Aws::ECS::Model::Resource::Resource ( )

◆ Resource() [2/2]

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

Member Function Documentation

◆ AddStringSetValue() [1/3]

Resource& Aws::ECS::Model::Resource::AddStringSetValue ( const Aws::String value)
inline

When the stringSetValue type is set, the value of the resource must be a string type.

Definition at line 255 of file Resource.h.

◆ AddStringSetValue() [2/3]

Resource& Aws::ECS::Model::Resource::AddStringSetValue ( Aws::String &&  value)
inline

When the stringSetValue type is set, the value of the resource must be a string type.

Definition at line 261 of file Resource.h.

◆ AddStringSetValue() [3/3]

Resource& Aws::ECS::Model::Resource::AddStringSetValue ( const char *  value)
inline

When the stringSetValue type is set, the value of the resource must be a string type.

Definition at line 267 of file Resource.h.

◆ DoubleValueHasBeenSet()

bool Aws::ECS::Model::Resource::DoubleValueHasBeenSet ( ) const
inline

When the doubleValue type is set, the value of the resource must be a double precision floating-point type.

Definition at line 150 of file Resource.h.

◆ GetDoubleValue()

double Aws::ECS::Model::Resource::GetDoubleValue ( ) const
inline

When the doubleValue type is set, the value of the resource must be a double precision floating-point type.

Definition at line 144 of file Resource.h.

◆ GetIntegerValue()

int Aws::ECS::Model::Resource::GetIntegerValue ( ) const
inline

When the integerValue type is set, the value of the resource must be an integer.

Definition at line 194 of file Resource.h.

◆ GetLongValue()

long long Aws::ECS::Model::Resource::GetLongValue ( ) const
inline

When the longValue type is set, the value of the resource must be an extended precision floating-point type.

Definition at line 169 of file Resource.h.

◆ GetName()

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

The name of the resource, such as CPU, MEMORY, PORTS, PORTS_UDP, or a user-defined resource.

Definition at line 46 of file Resource.h.

◆ GetStringSetValue()

const Aws::Vector<Aws::String>& Aws::ECS::Model::Resource::GetStringSetValue ( ) const
inline

When the stringSetValue type is set, the value of the resource must be a string type.

Definition at line 219 of file Resource.h.

◆ GetType()

const Aws::String& Aws::ECS::Model::Resource::GetType ( ) const
inline

The type of the resource, such as INTEGER, DOUBLE, LONG, or STRINGSET.

Definition at line 95 of file Resource.h.

◆ IntegerValueHasBeenSet()

bool Aws::ECS::Model::Resource::IntegerValueHasBeenSet ( ) const
inline

When the integerValue type is set, the value of the resource must be an integer.

Definition at line 200 of file Resource.h.

◆ Jsonize()

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

◆ LongValueHasBeenSet()

bool Aws::ECS::Model::Resource::LongValueHasBeenSet ( ) const
inline

When the longValue type is set, the value of the resource must be an extended precision floating-point type.

Definition at line 175 of file Resource.h.

◆ NameHasBeenSet()

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

The name of the resource, such as CPU, MEMORY, PORTS, PORTS_UDP, or a user-defined resource.

Definition at line 52 of file Resource.h.

◆ operator=()

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

◆ SetDoubleValue()

void Aws::ECS::Model::Resource::SetDoubleValue ( double  value)
inline

When the doubleValue type is set, the value of the resource must be a double precision floating-point type.

Definition at line 156 of file Resource.h.

◆ SetIntegerValue()

void Aws::ECS::Model::Resource::SetIntegerValue ( int  value)
inline

When the integerValue type is set, the value of the resource must be an integer.

Definition at line 206 of file Resource.h.

◆ SetLongValue()

void Aws::ECS::Model::Resource::SetLongValue ( long long  value)
inline

When the longValue type is set, the value of the resource must be an extended precision floating-point type.

Definition at line 181 of file Resource.h.

◆ SetName() [1/3]

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

The name of the resource, such as CPU, MEMORY, PORTS, PORTS_UDP, or a user-defined resource.

Definition at line 58 of file Resource.h.

◆ SetName() [2/3]

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

The name of the resource, such as CPU, MEMORY, PORTS, PORTS_UDP, or a user-defined resource.

Definition at line 64 of file Resource.h.

◆ SetName() [3/3]

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

The name of the resource, such as CPU, MEMORY, PORTS, PORTS_UDP, or a user-defined resource.

Definition at line 70 of file Resource.h.

◆ SetStringSetValue() [1/2]

void Aws::ECS::Model::Resource::SetStringSetValue ( const Aws::Vector< Aws::String > &  value)
inline

When the stringSetValue type is set, the value of the resource must be a string type.

Definition at line 231 of file Resource.h.

◆ SetStringSetValue() [2/2]

void Aws::ECS::Model::Resource::SetStringSetValue ( Aws::Vector< Aws::String > &&  value)
inline

When the stringSetValue type is set, the value of the resource must be a string type.

Definition at line 237 of file Resource.h.

◆ SetType() [1/3]

void Aws::ECS::Model::Resource::SetType ( const Aws::String value)
inline

The type of the resource, such as INTEGER, DOUBLE, LONG, or STRINGSET.

Definition at line 107 of file Resource.h.

◆ SetType() [2/3]

void Aws::ECS::Model::Resource::SetType ( Aws::String &&  value)
inline

The type of the resource, such as INTEGER, DOUBLE, LONG, or STRINGSET.

Definition at line 113 of file Resource.h.

◆ SetType() [3/3]

void Aws::ECS::Model::Resource::SetType ( const char *  value)
inline

The type of the resource, such as INTEGER, DOUBLE, LONG, or STRINGSET.

Definition at line 119 of file Resource.h.

◆ StringSetValueHasBeenSet()

bool Aws::ECS::Model::Resource::StringSetValueHasBeenSet ( ) const
inline

When the stringSetValue type is set, the value of the resource must be a string type.

Definition at line 225 of file Resource.h.

◆ TypeHasBeenSet()

bool Aws::ECS::Model::Resource::TypeHasBeenSet ( ) const
inline

The type of the resource, such as INTEGER, DOUBLE, LONG, or STRINGSET.

Definition at line 101 of file Resource.h.

◆ WithDoubleValue()

Resource& Aws::ECS::Model::Resource::WithDoubleValue ( double  value)
inline

When the doubleValue type is set, the value of the resource must be a double precision floating-point type.

Definition at line 162 of file Resource.h.

◆ WithIntegerValue()

Resource& Aws::ECS::Model::Resource::WithIntegerValue ( int  value)
inline

When the integerValue type is set, the value of the resource must be an integer.

Definition at line 212 of file Resource.h.

◆ WithLongValue()

Resource& Aws::ECS::Model::Resource::WithLongValue ( long long  value)
inline

When the longValue type is set, the value of the resource must be an extended precision floating-point type.

Definition at line 187 of file Resource.h.

◆ WithName() [1/3]

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

The name of the resource, such as CPU, MEMORY, PORTS, PORTS_UDP, or a user-defined resource.

Definition at line 76 of file Resource.h.

◆ WithName() [2/3]

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

The name of the resource, such as CPU, MEMORY, PORTS, PORTS_UDP, or a user-defined resource.

Definition at line 82 of file Resource.h.

◆ WithName() [3/3]

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

The name of the resource, such as CPU, MEMORY, PORTS, PORTS_UDP, or a user-defined resource.

Definition at line 88 of file Resource.h.

◆ WithStringSetValue() [1/2]

Resource& Aws::ECS::Model::Resource::WithStringSetValue ( const Aws::Vector< Aws::String > &  value)
inline

When the stringSetValue type is set, the value of the resource must be a string type.

Definition at line 243 of file Resource.h.

◆ WithStringSetValue() [2/2]

Resource& Aws::ECS::Model::Resource::WithStringSetValue ( Aws::Vector< Aws::String > &&  value)
inline

When the stringSetValue type is set, the value of the resource must be a string type.

Definition at line 249 of file Resource.h.

◆ WithType() [1/3]

Resource& Aws::ECS::Model::Resource::WithType ( const Aws::String value)
inline

The type of the resource, such as INTEGER, DOUBLE, LONG, or STRINGSET.

Definition at line 125 of file Resource.h.

◆ WithType() [2/3]

Resource& Aws::ECS::Model::Resource::WithType ( Aws::String &&  value)
inline

The type of the resource, such as INTEGER, DOUBLE, LONG, or STRINGSET.

Definition at line 131 of file Resource.h.

◆ WithType() [3/3]

Resource& Aws::ECS::Model::Resource::WithType ( const char *  value)
inline

The type of the resource, such as INTEGER, DOUBLE, LONG, or STRINGSET.

Definition at line 137 of file Resource.h.


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