7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/elasticmapreduce/model/OnDemandCapacityReservationUsageStrategy.h>
9#include <aws/elasticmapreduce/model/OnDemandCapacityReservationPreference.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
99 bool m_usageStrategyHasBeenSet =
false;
102 bool m_capacityReservationPreferenceHasBeenSet =
false;
105 bool m_capacityReservationResourceGroupArnHasBeenSet =
false;
const OnDemandCapacityReservationUsageStrategy & GetUsageStrategy() const
OnDemandCapacityReservationOptions & WithUsageStrategy(OnDemandCapacityReservationUsageStrategy &&value)
const Aws::String & GetCapacityReservationResourceGroupArn() const
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUsageStrategy(OnDemandCapacityReservationUsageStrategy &&value)
AWS_EMR_API OnDemandCapacityReservationOptions()
AWS_EMR_API OnDemandCapacityReservationOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
OnDemandCapacityReservationOptions & WithCapacityReservationResourceGroupArn(const Aws::String &value)
bool CapacityReservationPreferenceHasBeenSet() const
void SetCapacityReservationResourceGroupArn(Aws::String &&value)
AWS_EMR_API OnDemandCapacityReservationOptions(Aws::Utils::Json::JsonView jsonValue)
void SetUsageStrategy(const OnDemandCapacityReservationUsageStrategy &value)
OnDemandCapacityReservationOptions & WithUsageStrategy(const OnDemandCapacityReservationUsageStrategy &value)
void SetCapacityReservationResourceGroupArn(const Aws::String &value)
OnDemandCapacityReservationOptions & WithCapacityReservationResourceGroupArn(Aws::String &&value)
void SetCapacityReservationPreference(OnDemandCapacityReservationPreference &&value)
void SetCapacityReservationPreference(const OnDemandCapacityReservationPreference &value)
OnDemandCapacityReservationOptions & WithCapacityReservationPreference(OnDemandCapacityReservationPreference &&value)
OnDemandCapacityReservationOptions & WithCapacityReservationResourceGroupArn(const char *value)
bool CapacityReservationResourceGroupArnHasBeenSet() const
bool UsageStrategyHasBeenSet() const
const OnDemandCapacityReservationPreference & GetCapacityReservationPreference() const
void SetCapacityReservationResourceGroupArn(const char *value)
OnDemandCapacityReservationOptions & WithCapacityReservationPreference(const OnDemandCapacityReservationPreference &value)
OnDemandCapacityReservationPreference
OnDemandCapacityReservationUsageStrategy
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue