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

#include <Scale.h>

Public Member Functions

 Scale ()
 
 Scale (Aws::Utils::Json::JsonView jsonValue)
 
Scaleoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
double GetValue () const
 
bool ValueHasBeenSet () const
 
void SetValue (double value)
 
ScaleWithValue (double value)
 
const ScaleUnitGetUnit () const
 
bool UnitHasBeenSet () const
 
void SetUnit (const ScaleUnit &value)
 
void SetUnit (ScaleUnit &&value)
 
ScaleWithUnit (const ScaleUnit &value)
 
ScaleWithUnit (ScaleUnit &&value)
 

Detailed Description

A floating-point percentage of the desired number of tasks to place and keep running in the task set.

See Also:

AWS API Reference

Definition at line 32 of file Scale.h.

Constructor & Destructor Documentation

◆ Scale() [1/2]

Aws::ECS::Model::Scale::Scale ( )

◆ Scale() [2/2]

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

Member Function Documentation

◆ GetUnit()

const ScaleUnit& Aws::ECS::Model::Scale::GetUnit ( ) const
inline

The unit of measure for the scale value.

Definition at line 73 of file Scale.h.

◆ GetValue()

double Aws::ECS::Model::Scale::GetValue ( ) const
inline

The value, specified as a percent total of a service's desiredCount, to scale the task set. Accepted values are numbers between 0 and 100.

Definition at line 46 of file Scale.h.

◆ Jsonize()

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

◆ operator=()

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

◆ SetUnit() [1/2]

void Aws::ECS::Model::Scale::SetUnit ( const ScaleUnit value)
inline

The unit of measure for the scale value.

Definition at line 83 of file Scale.h.

◆ SetUnit() [2/2]

void Aws::ECS::Model::Scale::SetUnit ( ScaleUnit &&  value)
inline

The unit of measure for the scale value.

Definition at line 88 of file Scale.h.

◆ SetValue()

void Aws::ECS::Model::Scale::SetValue ( double  value)
inline

The value, specified as a percent total of a service's desiredCount, to scale the task set. Accepted values are numbers between 0 and 100.

Definition at line 60 of file Scale.h.

◆ UnitHasBeenSet()

bool Aws::ECS::Model::Scale::UnitHasBeenSet ( ) const
inline

The unit of measure for the scale value.

Definition at line 78 of file Scale.h.

◆ ValueHasBeenSet()

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

The value, specified as a percent total of a service's desiredCount, to scale the task set. Accepted values are numbers between 0 and 100.

Definition at line 53 of file Scale.h.

◆ WithUnit() [1/2]

Scale& Aws::ECS::Model::Scale::WithUnit ( const ScaleUnit value)
inline

The unit of measure for the scale value.

Definition at line 93 of file Scale.h.

◆ WithUnit() [2/2]

Scale& Aws::ECS::Model::Scale::WithUnit ( ScaleUnit &&  value)
inline

The unit of measure for the scale value.

Definition at line 98 of file Scale.h.

◆ WithValue()

Scale& Aws::ECS::Model::Scale::WithValue ( double  value)
inline

The value, specified as a percent total of a service's desiredCount, to scale the task set. Accepted values are numbers between 0 and 100.

Definition at line 67 of file Scale.h.


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