7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/elasticmapreduce/model/OnDemandProvisioningAllocationStrategy.h>
9#include <aws/elasticmapreduce/model/OnDemandCapacityReservationOptions.h>
77 bool m_allocationStrategyHasBeenSet =
false;
80 bool m_capacityReservationOptionsHasBeenSet =
false;
void SetCapacityReservationOptions(const OnDemandCapacityReservationOptions &value)
OnDemandProvisioningSpecification & WithAllocationStrategy(OnDemandProvisioningAllocationStrategy &&value)
void SetAllocationStrategy(const OnDemandProvisioningAllocationStrategy &value)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EMR_API OnDemandProvisioningSpecification()
AWS_EMR_API OnDemandProvisioningSpecification(Aws::Utils::Json::JsonView jsonValue)
AWS_EMR_API OnDemandProvisioningSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
OnDemandProvisioningSpecification & WithCapacityReservationOptions(OnDemandCapacityReservationOptions &&value)
bool AllocationStrategyHasBeenSet() const
OnDemandProvisioningSpecification & WithAllocationStrategy(const OnDemandProvisioningAllocationStrategy &value)
void SetCapacityReservationOptions(OnDemandCapacityReservationOptions &&value)
bool CapacityReservationOptionsHasBeenSet() const
void SetAllocationStrategy(OnDemandProvisioningAllocationStrategy &&value)
OnDemandProvisioningSpecification & WithCapacityReservationOptions(const OnDemandCapacityReservationOptions &value)
const OnDemandProvisioningAllocationStrategy & GetAllocationStrategy() const
const OnDemandCapacityReservationOptions & GetCapacityReservationOptions() const
OnDemandProvisioningAllocationStrategy
Aws::Utils::Json::JsonValue JsonValue