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

#include <InstanceFleetConfig.h>

Public Member Functions

 InstanceFleetConfig ()
 
 InstanceFleetConfig (Aws::Utils::Json::JsonView jsonValue)
 
InstanceFleetConfigoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetName () const
 
bool NameHasBeenSet () const
 
void SetName (const Aws::String &value)
 
void SetName (Aws::String &&value)
 
void SetName (const char *value)
 
InstanceFleetConfigWithName (const Aws::String &value)
 
InstanceFleetConfigWithName (Aws::String &&value)
 
InstanceFleetConfigWithName (const char *value)
 
const InstanceFleetTypeGetInstanceFleetType () const
 
bool InstanceFleetTypeHasBeenSet () const
 
void SetInstanceFleetType (const InstanceFleetType &value)
 
void SetInstanceFleetType (InstanceFleetType &&value)
 
InstanceFleetConfigWithInstanceFleetType (const InstanceFleetType &value)
 
InstanceFleetConfigWithInstanceFleetType (InstanceFleetType &&value)
 
int GetTargetOnDemandCapacity () const
 
bool TargetOnDemandCapacityHasBeenSet () const
 
void SetTargetOnDemandCapacity (int value)
 
InstanceFleetConfigWithTargetOnDemandCapacity (int value)
 
int GetTargetSpotCapacity () const
 
bool TargetSpotCapacityHasBeenSet () const
 
void SetTargetSpotCapacity (int value)
 
InstanceFleetConfigWithTargetSpotCapacity (int value)
 
const Aws::Vector< InstanceTypeConfig > & GetInstanceTypeConfigs () const
 
bool InstanceTypeConfigsHasBeenSet () const
 
void SetInstanceTypeConfigs (const Aws::Vector< InstanceTypeConfig > &value)
 
void SetInstanceTypeConfigs (Aws::Vector< InstanceTypeConfig > &&value)
 
InstanceFleetConfigWithInstanceTypeConfigs (const Aws::Vector< InstanceTypeConfig > &value)
 
InstanceFleetConfigWithInstanceTypeConfigs (Aws::Vector< InstanceTypeConfig > &&value)
 
InstanceFleetConfigAddInstanceTypeConfigs (const InstanceTypeConfig &value)
 
InstanceFleetConfigAddInstanceTypeConfigs (InstanceTypeConfig &&value)
 
const InstanceFleetProvisioningSpecificationsGetLaunchSpecifications () const
 
bool LaunchSpecificationsHasBeenSet () const
 
void SetLaunchSpecifications (const InstanceFleetProvisioningSpecifications &value)
 
void SetLaunchSpecifications (InstanceFleetProvisioningSpecifications &&value)
 
InstanceFleetConfigWithLaunchSpecifications (const InstanceFleetProvisioningSpecifications &value)
 
InstanceFleetConfigWithLaunchSpecifications (InstanceFleetProvisioningSpecifications &&value)
 

Detailed Description

The configuration that defines an instance fleet.

The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.

See Also:

AWS API Reference

Definition at line 37 of file InstanceFleetConfig.h.

Constructor & Destructor Documentation

◆ InstanceFleetConfig() [1/2]

Aws::EMR::Model::InstanceFleetConfig::InstanceFleetConfig ( )

◆ InstanceFleetConfig() [2/2]

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

Member Function Documentation

◆ AddInstanceTypeConfigs() [1/2]

InstanceFleetConfig& Aws::EMR::Model::InstanceFleetConfig::AddInstanceTypeConfigs ( const InstanceTypeConfig value)
inline

The instance type configurations that define the EC2 instances in the instance fleet.

Definition at line 330 of file InstanceFleetConfig.h.

◆ AddInstanceTypeConfigs() [2/2]

InstanceFleetConfig& Aws::EMR::Model::InstanceFleetConfig::AddInstanceTypeConfigs ( InstanceTypeConfig &&  value)
inline

The instance type configurations that define the EC2 instances in the instance fleet.

Definition at line 336 of file InstanceFleetConfig.h.

◆ GetInstanceFleetType()

const InstanceFleetType& Aws::EMR::Model::InstanceFleetConfig::GetInstanceFleetType ( ) const
inline

The node type that the instance fleet hosts. Valid values are MASTER,CORE,and TASK.

Definition at line 91 of file InstanceFleetConfig.h.

◆ GetInstanceTypeConfigs()

const Aws::Vector<InstanceTypeConfig>& Aws::EMR::Model::InstanceFleetConfig::GetInstanceTypeConfigs ( ) const
inline

The instance type configurations that define the EC2 instances in the instance fleet.

Definition at line 294 of file InstanceFleetConfig.h.

◆ GetLaunchSpecifications()

const InstanceFleetProvisioningSpecifications& Aws::EMR::Model::InstanceFleetConfig::GetLaunchSpecifications ( ) const
inline

The launch specification for the instance fleet.

Definition at line 342 of file InstanceFleetConfig.h.

◆ GetName()

const Aws::String& Aws::EMR::Model::InstanceFleetConfig::GetName ( ) const
inline

The friendly name of the instance fleet.

Definition at line 49 of file InstanceFleetConfig.h.

◆ GetTargetOnDemandCapacity()

int Aws::EMR::Model::InstanceFleetConfig::GetTargetOnDemandCapacity ( ) const
inline

The target capacity of On-Demand units for the instance fleet, which determines how many On-Demand Instances to provision. When the instance fleet launches, Amazon EMR tries to provision On-Demand Instances as specified by InstanceTypeConfig. Each instance configuration has a specified WeightedCapacity. When an On-Demand Instance is provisioned, the WeightedCapacity units count toward the target capacity. Amazon EMR provisions instances until the target capacity is totally fulfilled, even if this results in an overage. For example, if there are 2 units remaining to fulfill capacity, and Amazon EMR can only provision an instance with a WeightedCapacity of 5 units, the instance is provisioned, and the target capacity is exceeded by 3 units.

If not specified or set to 0, only Spot Instances are provisioned for the instance fleet using TargetSpotCapacity. At least one of TargetSpotCapacity and TargetOnDemandCapacity should be greater than 0. For a master instance fleet, only one of TargetSpotCapacity and TargetOnDemandCapacity can be specified, and its value must be 1.

Definition at line 143 of file InstanceFleetConfig.h.

◆ GetTargetSpotCapacity()

int Aws::EMR::Model::InstanceFleetConfig::GetTargetSpotCapacity ( ) const
inline

The target capacity of Spot units for the instance fleet, which determines how many Spot Instances to provision. When the instance fleet launches, Amazon EMR tries to provision Spot Instances as specified by InstanceTypeConfig. Each instance configuration has a specified WeightedCapacity. When a Spot Instance is provisioned, the WeightedCapacity units count toward the target capacity. Amazon EMR provisions instances until the target capacity is totally fulfilled, even if this results in an overage. For example, if there are 2 units remaining to fulfill capacity, and Amazon EMR can only provision an instance with a WeightedCapacity of 5 units, the instance is provisioned, and the target capacity is exceeded by 3 units.

If not specified or set to 0, only On-Demand Instances are provisioned for the instance fleet. At least one of TargetSpotCapacity and TargetOnDemandCapacity should be greater than 0. For a master instance fleet, only one of TargetSpotCapacity and TargetOnDemandCapacity can be specified, and its value must be 1.

Definition at line 227 of file InstanceFleetConfig.h.

◆ InstanceFleetTypeHasBeenSet()

bool Aws::EMR::Model::InstanceFleetConfig::InstanceFleetTypeHasBeenSet ( ) const
inline

The node type that the instance fleet hosts. Valid values are MASTER,CORE,and TASK.

Definition at line 97 of file InstanceFleetConfig.h.

◆ InstanceTypeConfigsHasBeenSet()

bool Aws::EMR::Model::InstanceFleetConfig::InstanceTypeConfigsHasBeenSet ( ) const
inline

The instance type configurations that define the EC2 instances in the instance fleet.

Definition at line 300 of file InstanceFleetConfig.h.

◆ Jsonize()

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

◆ LaunchSpecificationsHasBeenSet()

bool Aws::EMR::Model::InstanceFleetConfig::LaunchSpecificationsHasBeenSet ( ) const
inline

The launch specification for the instance fleet.

Definition at line 347 of file InstanceFleetConfig.h.

◆ NameHasBeenSet()

bool Aws::EMR::Model::InstanceFleetConfig::NameHasBeenSet ( ) const
inline

The friendly name of the instance fleet.

Definition at line 54 of file InstanceFleetConfig.h.

◆ operator=()

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

◆ SetInstanceFleetType() [1/2]

void Aws::EMR::Model::InstanceFleetConfig::SetInstanceFleetType ( const InstanceFleetType value)
inline

The node type that the instance fleet hosts. Valid values are MASTER,CORE,and TASK.

Definition at line 103 of file InstanceFleetConfig.h.

◆ SetInstanceFleetType() [2/2]

void Aws::EMR::Model::InstanceFleetConfig::SetInstanceFleetType ( InstanceFleetType &&  value)
inline

The node type that the instance fleet hosts. Valid values are MASTER,CORE,and TASK.

Definition at line 109 of file InstanceFleetConfig.h.

◆ SetInstanceTypeConfigs() [1/2]

void Aws::EMR::Model::InstanceFleetConfig::SetInstanceTypeConfigs ( const Aws::Vector< InstanceTypeConfig > &  value)
inline

The instance type configurations that define the EC2 instances in the instance fleet.

Definition at line 306 of file InstanceFleetConfig.h.

◆ SetInstanceTypeConfigs() [2/2]

void Aws::EMR::Model::InstanceFleetConfig::SetInstanceTypeConfigs ( Aws::Vector< InstanceTypeConfig > &&  value)
inline

The instance type configurations that define the EC2 instances in the instance fleet.

Definition at line 312 of file InstanceFleetConfig.h.

◆ SetLaunchSpecifications() [1/2]

void Aws::EMR::Model::InstanceFleetConfig::SetLaunchSpecifications ( const InstanceFleetProvisioningSpecifications value)
inline

The launch specification for the instance fleet.

Definition at line 352 of file InstanceFleetConfig.h.

◆ SetLaunchSpecifications() [2/2]

void Aws::EMR::Model::InstanceFleetConfig::SetLaunchSpecifications ( InstanceFleetProvisioningSpecifications &&  value)
inline

The launch specification for the instance fleet.

Definition at line 357 of file InstanceFleetConfig.h.

◆ SetName() [1/3]

void Aws::EMR::Model::InstanceFleetConfig::SetName ( const Aws::String value)
inline

The friendly name of the instance fleet.

Definition at line 59 of file InstanceFleetConfig.h.

◆ SetName() [2/3]

void Aws::EMR::Model::InstanceFleetConfig::SetName ( Aws::String &&  value)
inline

The friendly name of the instance fleet.

Definition at line 64 of file InstanceFleetConfig.h.

◆ SetName() [3/3]

void Aws::EMR::Model::InstanceFleetConfig::SetName ( const char *  value)
inline

The friendly name of the instance fleet.

Definition at line 69 of file InstanceFleetConfig.h.

◆ SetTargetOnDemandCapacity()

void Aws::EMR::Model::InstanceFleetConfig::SetTargetOnDemandCapacity ( int  value)
inline

The target capacity of On-Demand units for the instance fleet, which determines how many On-Demand Instances to provision. When the instance fleet launches, Amazon EMR tries to provision On-Demand Instances as specified by InstanceTypeConfig. Each instance configuration has a specified WeightedCapacity. When an On-Demand Instance is provisioned, the WeightedCapacity units count toward the target capacity. Amazon EMR provisions instances until the target capacity is totally fulfilled, even if this results in an overage. For example, if there are 2 units remaining to fulfill capacity, and Amazon EMR can only provision an instance with a WeightedCapacity of 5 units, the instance is provisioned, and the target capacity is exceeded by 3 units.

If not specified or set to 0, only Spot Instances are provisioned for the instance fleet using TargetSpotCapacity. At least one of TargetSpotCapacity and TargetOnDemandCapacity should be greater than 0. For a master instance fleet, only one of TargetSpotCapacity and TargetOnDemandCapacity can be specified, and its value must be 1.

Definition at line 185 of file InstanceFleetConfig.h.

◆ SetTargetSpotCapacity()

void Aws::EMR::Model::InstanceFleetConfig::SetTargetSpotCapacity ( int  value)
inline

The target capacity of Spot units for the instance fleet, which determines how many Spot Instances to provision. When the instance fleet launches, Amazon EMR tries to provision Spot Instances as specified by InstanceTypeConfig. Each instance configuration has a specified WeightedCapacity. When a Spot Instance is provisioned, the WeightedCapacity units count toward the target capacity. Amazon EMR provisions instances until the target capacity is totally fulfilled, even if this results in an overage. For example, if there are 2 units remaining to fulfill capacity, and Amazon EMR can only provision an instance with a WeightedCapacity of 5 units, the instance is provisioned, and the target capacity is exceeded by 3 units.

If not specified or set to 0, only On-Demand Instances are provisioned for the instance fleet. At least one of TargetSpotCapacity and TargetOnDemandCapacity should be greater than 0. For a master instance fleet, only one of TargetSpotCapacity and TargetOnDemandCapacity can be specified, and its value must be 1.

Definition at line 267 of file InstanceFleetConfig.h.

◆ TargetOnDemandCapacityHasBeenSet()

bool Aws::EMR::Model::InstanceFleetConfig::TargetOnDemandCapacityHasBeenSet ( ) const
inline

The target capacity of On-Demand units for the instance fleet, which determines how many On-Demand Instances to provision. When the instance fleet launches, Amazon EMR tries to provision On-Demand Instances as specified by InstanceTypeConfig. Each instance configuration has a specified WeightedCapacity. When an On-Demand Instance is provisioned, the WeightedCapacity units count toward the target capacity. Amazon EMR provisions instances until the target capacity is totally fulfilled, even if this results in an overage. For example, if there are 2 units remaining to fulfill capacity, and Amazon EMR can only provision an instance with a WeightedCapacity of 5 units, the instance is provisioned, and the target capacity is exceeded by 3 units.

If not specified or set to 0, only Spot Instances are provisioned for the instance fleet using TargetSpotCapacity. At least one of TargetSpotCapacity and TargetOnDemandCapacity should be greater than 0. For a master instance fleet, only one of TargetSpotCapacity and TargetOnDemandCapacity can be specified, and its value must be 1.

Definition at line 164 of file InstanceFleetConfig.h.

◆ TargetSpotCapacityHasBeenSet()

bool Aws::EMR::Model::InstanceFleetConfig::TargetSpotCapacityHasBeenSet ( ) const
inline

The target capacity of Spot units for the instance fleet, which determines how many Spot Instances to provision. When the instance fleet launches, Amazon EMR tries to provision Spot Instances as specified by InstanceTypeConfig. Each instance configuration has a specified WeightedCapacity. When a Spot Instance is provisioned, the WeightedCapacity units count toward the target capacity. Amazon EMR provisions instances until the target capacity is totally fulfilled, even if this results in an overage. For example, if there are 2 units remaining to fulfill capacity, and Amazon EMR can only provision an instance with a WeightedCapacity of 5 units, the instance is provisioned, and the target capacity is exceeded by 3 units.

If not specified or set to 0, only On-Demand Instances are provisioned for the instance fleet. At least one of TargetSpotCapacity and TargetOnDemandCapacity should be greater than 0. For a master instance fleet, only one of TargetSpotCapacity and TargetOnDemandCapacity can be specified, and its value must be 1.

Definition at line 247 of file InstanceFleetConfig.h.

◆ WithInstanceFleetType() [1/2]

InstanceFleetConfig& Aws::EMR::Model::InstanceFleetConfig::WithInstanceFleetType ( const InstanceFleetType value)
inline

The node type that the instance fleet hosts. Valid values are MASTER,CORE,and TASK.

Definition at line 115 of file InstanceFleetConfig.h.

◆ WithInstanceFleetType() [2/2]

InstanceFleetConfig& Aws::EMR::Model::InstanceFleetConfig::WithInstanceFleetType ( InstanceFleetType &&  value)
inline

The node type that the instance fleet hosts. Valid values are MASTER,CORE,and TASK.

Definition at line 121 of file InstanceFleetConfig.h.

◆ WithInstanceTypeConfigs() [1/2]

InstanceFleetConfig& Aws::EMR::Model::InstanceFleetConfig::WithInstanceTypeConfigs ( const Aws::Vector< InstanceTypeConfig > &  value)
inline

The instance type configurations that define the EC2 instances in the instance fleet.

Definition at line 318 of file InstanceFleetConfig.h.

◆ WithInstanceTypeConfigs() [2/2]

InstanceFleetConfig& Aws::EMR::Model::InstanceFleetConfig::WithInstanceTypeConfigs ( Aws::Vector< InstanceTypeConfig > &&  value)
inline

The instance type configurations that define the EC2 instances in the instance fleet.

Definition at line 324 of file InstanceFleetConfig.h.

◆ WithLaunchSpecifications() [1/2]

InstanceFleetConfig& Aws::EMR::Model::InstanceFleetConfig::WithLaunchSpecifications ( const InstanceFleetProvisioningSpecifications value)
inline

The launch specification for the instance fleet.

Definition at line 362 of file InstanceFleetConfig.h.

◆ WithLaunchSpecifications() [2/2]

InstanceFleetConfig& Aws::EMR::Model::InstanceFleetConfig::WithLaunchSpecifications ( InstanceFleetProvisioningSpecifications &&  value)
inline

The launch specification for the instance fleet.

Definition at line 367 of file InstanceFleetConfig.h.

◆ WithName() [1/3]

InstanceFleetConfig& Aws::EMR::Model::InstanceFleetConfig::WithName ( const Aws::String value)
inline

The friendly name of the instance fleet.

Definition at line 74 of file InstanceFleetConfig.h.

◆ WithName() [2/3]

InstanceFleetConfig& Aws::EMR::Model::InstanceFleetConfig::WithName ( Aws::String &&  value)
inline

The friendly name of the instance fleet.

Definition at line 79 of file InstanceFleetConfig.h.

◆ WithName() [3/3]

InstanceFleetConfig& Aws::EMR::Model::InstanceFleetConfig::WithName ( const char *  value)
inline

The friendly name of the instance fleet.

Definition at line 84 of file InstanceFleetConfig.h.

◆ WithTargetOnDemandCapacity()

InstanceFleetConfig& Aws::EMR::Model::InstanceFleetConfig::WithTargetOnDemandCapacity ( int  value)
inline

The target capacity of On-Demand units for the instance fleet, which determines how many On-Demand Instances to provision. When the instance fleet launches, Amazon EMR tries to provision On-Demand Instances as specified by InstanceTypeConfig. Each instance configuration has a specified WeightedCapacity. When an On-Demand Instance is provisioned, the WeightedCapacity units count toward the target capacity. Amazon EMR provisions instances until the target capacity is totally fulfilled, even if this results in an overage. For example, if there are 2 units remaining to fulfill capacity, and Amazon EMR can only provision an instance with a WeightedCapacity of 5 units, the instance is provisioned, and the target capacity is exceeded by 3 units.

If not specified or set to 0, only Spot Instances are provisioned for the instance fleet using TargetSpotCapacity. At least one of TargetSpotCapacity and TargetOnDemandCapacity should be greater than 0. For a master instance fleet, only one of TargetSpotCapacity and TargetOnDemandCapacity can be specified, and its value must be 1.

Definition at line 206 of file InstanceFleetConfig.h.

◆ WithTargetSpotCapacity()

InstanceFleetConfig& Aws::EMR::Model::InstanceFleetConfig::WithTargetSpotCapacity ( int  value)
inline

The target capacity of Spot units for the instance fleet, which determines how many Spot Instances to provision. When the instance fleet launches, Amazon EMR tries to provision Spot Instances as specified by InstanceTypeConfig. Each instance configuration has a specified WeightedCapacity. When a Spot Instance is provisioned, the WeightedCapacity units count toward the target capacity. Amazon EMR provisions instances until the target capacity is totally fulfilled, even if this results in an overage. For example, if there are 2 units remaining to fulfill capacity, and Amazon EMR can only provision an instance with a WeightedCapacity of 5 units, the instance is provisioned, and the target capacity is exceeded by 3 units.

If not specified or set to 0, only On-Demand Instances are provisioned for the instance fleet. At least one of TargetSpotCapacity and TargetOnDemandCapacity should be greater than 0. For a master instance fleet, only one of TargetSpotCapacity and TargetOnDemandCapacity can be specified, and its value must be 1.

Definition at line 287 of file InstanceFleetConfig.h.


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