AWS SDK for C++
1.8.129
AWS SDK for C++
|
#include <CapacityProviderStrategyItem.h>
Public Member Functions | |
CapacityProviderStrategyItem () | |
CapacityProviderStrategyItem (Aws::Utils::Json::JsonView jsonValue) | |
CapacityProviderStrategyItem & | operator= (Aws::Utils::Json::JsonView jsonValue) |
Aws::Utils::Json::JsonValue | Jsonize () const |
const Aws::String & | GetCapacityProvider () const |
bool | CapacityProviderHasBeenSet () const |
void | SetCapacityProvider (const Aws::String &value) |
void | SetCapacityProvider (Aws::String &&value) |
void | SetCapacityProvider (const char *value) |
CapacityProviderStrategyItem & | WithCapacityProvider (const Aws::String &value) |
CapacityProviderStrategyItem & | WithCapacityProvider (Aws::String &&value) |
CapacityProviderStrategyItem & | WithCapacityProvider (const char *value) |
int | GetWeight () const |
bool | WeightHasBeenSet () const |
void | SetWeight (int value) |
CapacityProviderStrategyItem & | WithWeight (int value) |
int | GetBase () const |
bool | BaseHasBeenSet () const |
void | SetBase (int value) |
CapacityProviderStrategyItem & | WithBase (int value) |
The details of a capacity provider strategy.
Definition at line 31 of file CapacityProviderStrategyItem.h.
Aws::ECS::Model::CapacityProviderStrategyItem::CapacityProviderStrategyItem | ( | ) |
Aws::ECS::Model::CapacityProviderStrategyItem::CapacityProviderStrategyItem | ( | Aws::Utils::Json::JsonView | jsonValue | ) |
|
inline |
The base value designates how many tasks, at a minimum, to run on the specified capacity provider. Only one capacity provider in a capacity provider strategy can have a base defined.
Definition at line 146 of file CapacityProviderStrategyItem.h.
|
inline |
The short name of the capacity provider.
Definition at line 48 of file CapacityProviderStrategyItem.h.
|
inline |
The base value designates how many tasks, at a minimum, to run on the specified capacity provider. Only one capacity provider in a capacity provider strategy can have a base defined.
Definition at line 139 of file CapacityProviderStrategyItem.h.
|
inline |
The short name of the capacity provider.
Definition at line 43 of file CapacityProviderStrategyItem.h.
|
inline |
The weight value designates the relative percentage of the total number of tasks launched that should use the specified capacity provider.
For example, if you have a strategy that contains two capacity providers and both have a weight of 1
, then when the base
is satisfied, the tasks will be split evenly across the two capacity providers. Using that same logic, if you specify a weight of 1
for capacityProviderA and a weight of 4
for capacityProviderB, then for every one task that is run using capacityProviderA, four tasks would use capacityProviderB.
Definition at line 92 of file CapacityProviderStrategyItem.h.
Aws::Utils::Json::JsonValue Aws::ECS::Model::CapacityProviderStrategyItem::Jsonize | ( | ) | const |
CapacityProviderStrategyItem& Aws::ECS::Model::CapacityProviderStrategyItem::operator= | ( | Aws::Utils::Json::JsonView | jsonValue | ) |
|
inline |
The base value designates how many tasks, at a minimum, to run on the specified capacity provider. Only one capacity provider in a capacity provider strategy can have a base defined.
Definition at line 153 of file CapacityProviderStrategyItem.h.
|
inline |
The short name of the capacity provider.
Definition at line 58 of file CapacityProviderStrategyItem.h.
|
inline |
The short name of the capacity provider.
Definition at line 53 of file CapacityProviderStrategyItem.h.
|
inline |
The short name of the capacity provider.
Definition at line 63 of file CapacityProviderStrategyItem.h.
|
inline |
The weight value designates the relative percentage of the total number of tasks launched that should use the specified capacity provider.
For example, if you have a strategy that contains two capacity providers and both have a weight of 1
, then when the base
is satisfied, the tasks will be split evenly across the two capacity providers. Using that same logic, if you specify a weight of 1
for capacityProviderA and a weight of 4
for capacityProviderB, then for every one task that is run using capacityProviderA, four tasks would use capacityProviderB.
Definition at line 118 of file CapacityProviderStrategyItem.h.
|
inline |
The weight value designates the relative percentage of the total number of tasks launched that should use the specified capacity provider.
For example, if you have a strategy that contains two capacity providers and both have a weight of 1
, then when the base
is satisfied, the tasks will be split evenly across the two capacity providers. Using that same logic, if you specify a weight of 1
for capacityProviderA and a weight of 4
for capacityProviderB, then for every one task that is run using capacityProviderA, four tasks would use capacityProviderB.
Definition at line 105 of file CapacityProviderStrategyItem.h.
|
inline |
The base value designates how many tasks, at a minimum, to run on the specified capacity provider. Only one capacity provider in a capacity provider strategy can have a base defined.
Definition at line 160 of file CapacityProviderStrategyItem.h.
|
inline |
The short name of the capacity provider.
Definition at line 73 of file CapacityProviderStrategyItem.h.
|
inline |
The short name of the capacity provider.
Definition at line 68 of file CapacityProviderStrategyItem.h.
|
inline |
The short name of the capacity provider.
Definition at line 78 of file CapacityProviderStrategyItem.h.
|
inline |
The weight value designates the relative percentage of the total number of tasks launched that should use the specified capacity provider.
For example, if you have a strategy that contains two capacity providers and both have a weight of 1
, then when the base
is satisfied, the tasks will be split evenly across the two capacity providers. Using that same logic, if you specify a weight of 1
for capacityProviderA and a weight of 4
for capacityProviderB, then for every one task that is run using capacityProviderA, four tasks would use capacityProviderB.
Definition at line 131 of file CapacityProviderStrategyItem.h.