AWS SDK for C++  1.8.95
AWS SDK for C++
Public Member Functions | List of all members
Aws::EMR::Model::OnDemandProvisioningSpecification Class Reference

#include <OnDemandProvisioningSpecification.h>

Public Member Functions

 OnDemandProvisioningSpecification ()
 
 OnDemandProvisioningSpecification (Aws::Utils::Json::JsonView jsonValue)
 
OnDemandProvisioningSpecificationoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const OnDemandProvisioningAllocationStrategyGetAllocationStrategy () const
 
bool AllocationStrategyHasBeenSet () const
 
void SetAllocationStrategy (const OnDemandProvisioningAllocationStrategy &value)
 
void SetAllocationStrategy (OnDemandProvisioningAllocationStrategy &&value)
 
OnDemandProvisioningSpecificationWithAllocationStrategy (const OnDemandProvisioningAllocationStrategy &value)
 
OnDemandProvisioningSpecificationWithAllocationStrategy (OnDemandProvisioningAllocationStrategy &&value)
 

Detailed Description

The launch specification for On-Demand Instances in the instance fleet, which determines the allocation strategy.

The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions. On-Demand Instances allocation strategy is available in Amazon EMR version 5.12.1 and later.

See Also:

AWS API Reference

Definition at line 35 of file OnDemandProvisioningSpecification.h.

Constructor & Destructor Documentation

◆ OnDemandProvisioningSpecification() [1/2]

Aws::EMR::Model::OnDemandProvisioningSpecification::OnDemandProvisioningSpecification ( )

◆ OnDemandProvisioningSpecification() [2/2]

Aws::EMR::Model::OnDemandProvisioningSpecification::OnDemandProvisioningSpecification ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AllocationStrategyHasBeenSet()

bool Aws::EMR::Model::OnDemandProvisioningSpecification::AllocationStrategyHasBeenSet ( ) const
inline

Specifies the strategy to use in launching On-Demand Instance fleets. Currently, the only option is lowest-price (the default), which launches the lowest price first.

Definition at line 56 of file OnDemandProvisioningSpecification.h.

◆ GetAllocationStrategy()

const OnDemandProvisioningAllocationStrategy& Aws::EMR::Model::OnDemandProvisioningSpecification::GetAllocationStrategy ( ) const
inline

Specifies the strategy to use in launching On-Demand Instance fleets. Currently, the only option is lowest-price (the default), which launches the lowest price first.

Definition at line 49 of file OnDemandProvisioningSpecification.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::EMR::Model::OnDemandProvisioningSpecification::Jsonize ( ) const

◆ operator=()

OnDemandProvisioningSpecification& Aws::EMR::Model::OnDemandProvisioningSpecification::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetAllocationStrategy() [1/2]

void Aws::EMR::Model::OnDemandProvisioningSpecification::SetAllocationStrategy ( const OnDemandProvisioningAllocationStrategy value)
inline

Specifies the strategy to use in launching On-Demand Instance fleets. Currently, the only option is lowest-price (the default), which launches the lowest price first.

Definition at line 63 of file OnDemandProvisioningSpecification.h.

◆ SetAllocationStrategy() [2/2]

void Aws::EMR::Model::OnDemandProvisioningSpecification::SetAllocationStrategy ( OnDemandProvisioningAllocationStrategy &&  value)
inline

Specifies the strategy to use in launching On-Demand Instance fleets. Currently, the only option is lowest-price (the default), which launches the lowest price first.

Definition at line 70 of file OnDemandProvisioningSpecification.h.

◆ WithAllocationStrategy() [1/2]

OnDemandProvisioningSpecification& Aws::EMR::Model::OnDemandProvisioningSpecification::WithAllocationStrategy ( const OnDemandProvisioningAllocationStrategy value)
inline

Specifies the strategy to use in launching On-Demand Instance fleets. Currently, the only option is lowest-price (the default), which launches the lowest price first.

Definition at line 77 of file OnDemandProvisioningSpecification.h.

◆ WithAllocationStrategy() [2/2]

OnDemandProvisioningSpecification& Aws::EMR::Model::OnDemandProvisioningSpecification::WithAllocationStrategy ( OnDemandProvisioningAllocationStrategy &&  value)
inline

Specifies the strategy to use in launching On-Demand Instance fleets. Currently, the only option is lowest-price (the default), which launches the lowest price first.

Definition at line 84 of file OnDemandProvisioningSpecification.h.


The documentation for this class was generated from the following file: