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>
85 template<
typename CapacityReservationResourceGroupArnT = Aws::String>
86 void SetCapacityReservationResourceGroupArn(CapacityReservationResourceGroupArnT&& value) { m_capacityReservationResourceGroupArnHasBeenSet =
true; m_capacityReservationResourceGroupArn = std::forward<CapacityReservationResourceGroupArnT>(value); }
87 template<
typename CapacityReservationResourceGroupArnT = Aws::String>
93 bool m_usageStrategyHasBeenSet =
false;
96 bool m_capacityReservationPreferenceHasBeenSet =
false;
99 bool m_capacityReservationResourceGroupArnHasBeenSet =
false;
OnDemandCapacityReservationPreference GetCapacityReservationPreference() const
const Aws::String & GetCapacityReservationResourceGroupArn() const
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
OnDemandCapacityReservationOptions & WithCapacityReservationResourceGroupArn(CapacityReservationResourceGroupArnT &&value)
AWS_EMR_API OnDemandCapacityReservationOptions()=default
void SetCapacityReservationResourceGroupArn(CapacityReservationResourceGroupArnT &&value)
AWS_EMR_API OnDemandCapacityReservationOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
OnDemandCapacityReservationUsageStrategy GetUsageStrategy() const
bool CapacityReservationPreferenceHasBeenSet() const
void SetCapacityReservationPreference(OnDemandCapacityReservationPreference value)
AWS_EMR_API OnDemandCapacityReservationOptions(Aws::Utils::Json::JsonView jsonValue)
OnDemandCapacityReservationOptions & WithUsageStrategy(OnDemandCapacityReservationUsageStrategy value)
OnDemandCapacityReservationOptions & WithCapacityReservationPreference(OnDemandCapacityReservationPreference value)
void SetUsageStrategy(OnDemandCapacityReservationUsageStrategy value)
bool CapacityReservationResourceGroupArnHasBeenSet() const
bool UsageStrategyHasBeenSet() const
OnDemandCapacityReservationPreference
OnDemandCapacityReservationUsageStrategy
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue