7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/elasticmapreduce/model/OnDemandCapacityReservationOptions.h>
9#include <aws/elasticmapreduce/model/OnDemandProvisioningAllocationStrategy.h>
49 m_timeoutDurationMinutesHasBeenSet =
true;
50 m_timeoutDurationMinutes = value;
66 m_allocationStrategyHasBeenSet =
true;
67 m_allocationStrategy = value;
79 template <
typename CapacityReservationOptionsT = OnDemandCapacityReservationOptions>
81 m_capacityReservationOptionsHasBeenSet =
true;
82 m_capacityReservationOptions = std::forward<CapacityReservationOptionsT>(value);
84 template <
typename CapacityReservationOptionsT = OnDemandCapacityReservationOptions>
91 int m_timeoutDurationMinutes{0};
95 OnDemandCapacityReservationOptions m_capacityReservationOptions;
96 bool m_timeoutDurationMinutesHasBeenSet =
false;
97 bool m_allocationStrategyHasBeenSet =
false;
98 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