7#include <aws/events/CloudWatchEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace CloudWatchEvents
50 inline void SetCapacityProvider(
const char* value) { m_capacityProviderHasBeenSet =
true; m_capacityProvider.assign(value); }
64 inline void SetWeight(
int value) { m_weightHasBeenSet =
true; m_weight = value; }
75 inline int GetBase()
const{
return m_base; }
77 inline void SetBase(
int value) { m_baseHasBeenSet =
true; m_base = value; }
83 bool m_capacityProviderHasBeenSet =
false;
86 bool m_weightHasBeenSet =
false;
89 bool m_baseHasBeenSet =
false;
AWS_CLOUDWATCHEVENTS_API CapacityProviderStrategyItem & operator=(Aws::Utils::Json::JsonView jsonValue)
CapacityProviderStrategyItem & WithCapacityProvider(const Aws::String &value)
void SetCapacityProvider(const Aws::String &value)
AWS_CLOUDWATCHEVENTS_API CapacityProviderStrategyItem()
bool WeightHasBeenSet() const
void SetCapacityProvider(const char *value)
CapacityProviderStrategyItem & WithCapacityProvider(const char *value)
AWS_CLOUDWATCHEVENTS_API CapacityProviderStrategyItem(Aws::Utils::Json::JsonView jsonValue)
bool BaseHasBeenSet() const
const Aws::String & GetCapacityProvider() const
void SetCapacityProvider(Aws::String &&value)
AWS_CLOUDWATCHEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetWeight(int value)
bool CapacityProviderHasBeenSet() const
CapacityProviderStrategyItem & WithCapacityProvider(Aws::String &&value)
CapacityProviderStrategyItem & WithWeight(int value)
CapacityProviderStrategyItem & WithBase(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue