7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/elasticmapreduce/model/SpotProvisioningTimeoutAction.h>
9#include <aws/elasticmapreduce/model/SpotProvisioningAllocationStrategy.h>
97 inline void SetBlockDurationMinutes(
int value) { m_blockDurationMinutesHasBeenSet =
true; m_blockDurationMinutes = value; }
124 int m_timeoutDurationMinutes;
125 bool m_timeoutDurationMinutesHasBeenSet =
false;
128 bool m_timeoutActionHasBeenSet =
false;
130 int m_blockDurationMinutes;
131 bool m_blockDurationMinutesHasBeenSet =
false;
134 bool m_allocationStrategyHasBeenSet =
false;
AWS_EMR_API SpotProvisioningSpecification(Aws::Utils::Json::JsonView jsonValue)
void SetTimeoutDurationMinutes(int value)
bool TimeoutDurationMinutesHasBeenSet() const
bool TimeoutActionHasBeenSet() const
SpotProvisioningSpecification & WithTimeoutDurationMinutes(int value)
SpotProvisioningSpecification & WithTimeoutAction(SpotProvisioningTimeoutAction &&value)
const SpotProvisioningAllocationStrategy & GetAllocationStrategy() const
const SpotProvisioningTimeoutAction & GetTimeoutAction() const
bool BlockDurationMinutesHasBeenSet() const
SpotProvisioningSpecification & WithAllocationStrategy(SpotProvisioningAllocationStrategy &&value)
int GetTimeoutDurationMinutes() const
void SetBlockDurationMinutes(int value)
SpotProvisioningSpecification & WithAllocationStrategy(const SpotProvisioningAllocationStrategy &value)
SpotProvisioningSpecification & WithBlockDurationMinutes(int value)
void SetAllocationStrategy(const SpotProvisioningAllocationStrategy &value)
void SetAllocationStrategy(SpotProvisioningAllocationStrategy &&value)
AWS_EMR_API SpotProvisioningSpecification()
SpotProvisioningSpecification & WithTimeoutAction(const SpotProvisioningTimeoutAction &value)
void SetTimeoutAction(SpotProvisioningTimeoutAction &&value)
int GetBlockDurationMinutes() const
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EMR_API SpotProvisioningSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AllocationStrategyHasBeenSet() const
void SetTimeoutAction(const SpotProvisioningTimeoutAction &value)
SpotProvisioningTimeoutAction
SpotProvisioningAllocationStrategy
Aws::Utils::Json::JsonValue JsonValue