7#include <aws/eventbridge/EventBridge_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 template<
typename CapacityProv
iderT = Aws::String>
49 void SetCapacityProvider(CapacityProviderT&& value) { m_capacityProviderHasBeenSet =
true; m_capacityProvider = std::forward<CapacityProviderT>(value); }
50 template<
typename CapacityProv
iderT = Aws::String>
62 inline void SetWeight(
int value) { m_weightHasBeenSet =
true; m_weight = value; }
73 inline int GetBase()
const {
return m_base; }
75 inline void SetBase(
int value) { m_baseHasBeenSet =
true; m_base = value; }
81 bool m_capacityProviderHasBeenSet =
false;
84 bool m_weightHasBeenSet =
false;
87 bool m_baseHasBeenSet =
false;
const Aws::String & GetCapacityProvider() const
AWS_EVENTBRIDGE_API CapacityProviderStrategyItem()=default
AWS_EVENTBRIDGE_API CapacityProviderStrategyItem & operator=(Aws::Utils::Json::JsonView jsonValue)
bool BaseHasBeenSet() const
bool WeightHasBeenSet() const
CapacityProviderStrategyItem & WithBase(int value)
bool CapacityProviderHasBeenSet() const
CapacityProviderStrategyItem & WithWeight(int value)
void SetWeight(int value)
AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EVENTBRIDGE_API CapacityProviderStrategyItem(Aws::Utils::Json::JsonView jsonValue)
CapacityProviderStrategyItem & WithCapacityProvider(CapacityProviderT &&value)
void SetCapacityProvider(CapacityProviderT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue