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; }
59 template<
typename CapacityProv
iderT = Aws::String>
60 void SetCapacityProvider(CapacityProviderT&& value) { m_capacityProviderHasBeenSet =
true; m_capacityProvider = std::forward<CapacityProviderT>(value); }
61 template<
typename CapacityProv
iderT = Aws::String>
73 inline void SetWeight(
int value) { m_weightHasBeenSet =
true; m_weight = value; }
79 bool m_baseHasBeenSet =
false;
82 bool m_capacityProviderHasBeenSet =
false;
85 bool m_weightHasBeenSet =
false;
CapacityProviderStrategyItem & WithWeight(int value)
bool WeightHasBeenSet() const
AWS_SCHEDULER_API CapacityProviderStrategyItem(Aws::Utils::Json::JsonView jsonValue)
void SetWeight(int value)
const Aws::String & GetCapacityProvider() const
CapacityProviderStrategyItem & WithBase(int value)
AWS_SCHEDULER_API CapacityProviderStrategyItem & operator=(Aws::Utils::Json::JsonView jsonValue)
CapacityProviderStrategyItem & WithCapacityProvider(CapacityProviderT &&value)
AWS_SCHEDULER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCapacityProvider(CapacityProviderT &&value)
bool CapacityProviderHasBeenSet() const
bool BaseHasBeenSet() const
AWS_SCHEDULER_API CapacityProviderStrategyItem()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue