7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/elasticmapreduce/model/OnDemandProvisioningAllocationStrategy.h>
9#include <aws/elasticmapreduce/model/OnDemandCapacityReservationOptions.h>
73 template<
typename CapacityReservationOptionsT = OnDemandCapacityReservationOptions>
74 void SetCapacityReservationOptions(CapacityReservationOptionsT&& value) { m_capacityReservationOptionsHasBeenSet =
true; m_capacityReservationOptions = std::forward<CapacityReservationOptionsT>(value); }
75 template<
typename CapacityReservationOptionsT = OnDemandCapacityReservationOptions>
80 int m_timeoutDurationMinutes{0};
81 bool m_timeoutDurationMinutesHasBeenSet =
false;
84 bool m_allocationStrategyHasBeenSet =
false;
86 OnDemandCapacityReservationOptions m_capacityReservationOptions;
87 bool m_capacityReservationOptionsHasBeenSet =
false;
OnDemandResizingSpecification & WithCapacityReservationOptions(CapacityReservationOptionsT &&value)
void SetCapacityReservationOptions(CapacityReservationOptionsT &&value)
bool AllocationStrategyHasBeenSet() const
void SetAllocationStrategy(OnDemandProvisioningAllocationStrategy value)
bool CapacityReservationOptionsHasBeenSet() const
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EMR_API OnDemandResizingSpecification()=default
AWS_EMR_API OnDemandResizingSpecification(Aws::Utils::Json::JsonView jsonValue)
bool TimeoutDurationMinutesHasBeenSet() const
OnDemandResizingSpecification & WithTimeoutDurationMinutes(int value)
void SetTimeoutDurationMinutes(int value)
OnDemandResizingSpecification & WithAllocationStrategy(OnDemandProvisioningAllocationStrategy value)
OnDemandProvisioningAllocationStrategy GetAllocationStrategy() const
int GetTimeoutDurationMinutes() const
const OnDemandCapacityReservationOptions & GetCapacityReservationOptions() const
AWS_EMR_API OnDemandResizingSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
OnDemandProvisioningAllocationStrategy
Aws::Utils::Json::JsonValue JsonValue