7#include <aws/scheduler/Scheduler_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
47 inline int GetBase()
const{
return m_base; }
49 inline void SetBase(
int value) { m_baseHasBeenSet =
true; m_base = value; }
61 inline void SetCapacityProvider(
const char* value) { m_capacityProviderHasBeenSet =
true; m_capacityProvider.assign(value); }
75 inline void SetWeight(
int value) { m_weightHasBeenSet =
true; m_weight = value; }
81 bool m_baseHasBeenSet =
false;
84 bool m_capacityProviderHasBeenSet =
false;
87 bool m_weightHasBeenSet =
false;
CapacityProviderStrategyItem & WithWeight(int value)
bool WeightHasBeenSet() const
void SetCapacityProvider(const Aws::String &value)
AWS_SCHEDULER_API CapacityProviderStrategyItem(Aws::Utils::Json::JsonView jsonValue)
void SetCapacityProvider(const char *value)
void SetWeight(int value)
const Aws::String & GetCapacityProvider() const
CapacityProviderStrategyItem & WithBase(int value)
CapacityProviderStrategyItem & WithCapacityProvider(const Aws::String &value)
AWS_SCHEDULER_API CapacityProviderStrategyItem & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SCHEDULER_API Aws::Utils::Json::JsonValue Jsonize() const
CapacityProviderStrategyItem & WithCapacityProvider(Aws::String &&value)
bool CapacityProviderHasBeenSet() const
bool BaseHasBeenSet() const
CapacityProviderStrategyItem & WithCapacityProvider(const char *value)
void SetCapacityProvider(Aws::String &&value)
AWS_SCHEDULER_API CapacityProviderStrategyItem()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue