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

#include <InstanceTypeConfig.h>

Public Member Functions

 InstanceTypeConfig ()
 
 InstanceTypeConfig (Aws::Utils::Json::JsonView jsonValue)
 
InstanceTypeConfigoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetInstanceType () const
 
bool InstanceTypeHasBeenSet () const
 
void SetInstanceType (const Aws::String &value)
 
void SetInstanceType (Aws::String &&value)
 
void SetInstanceType (const char *value)
 
InstanceTypeConfigWithInstanceType (const Aws::String &value)
 
InstanceTypeConfigWithInstanceType (Aws::String &&value)
 
InstanceTypeConfigWithInstanceType (const char *value)
 
int GetWeightedCapacity () const
 
bool WeightedCapacityHasBeenSet () const
 
void SetWeightedCapacity (int value)
 
InstanceTypeConfigWithWeightedCapacity (int value)
 
const Aws::StringGetBidPrice () const
 
bool BidPriceHasBeenSet () const
 
void SetBidPrice (const Aws::String &value)
 
void SetBidPrice (Aws::String &&value)
 
void SetBidPrice (const char *value)
 
InstanceTypeConfigWithBidPrice (const Aws::String &value)
 
InstanceTypeConfigWithBidPrice (Aws::String &&value)
 
InstanceTypeConfigWithBidPrice (const char *value)
 
double GetBidPriceAsPercentageOfOnDemandPrice () const
 
bool BidPriceAsPercentageOfOnDemandPriceHasBeenSet () const
 
void SetBidPriceAsPercentageOfOnDemandPrice (double value)
 
InstanceTypeConfigWithBidPriceAsPercentageOfOnDemandPrice (double value)
 
const EbsConfigurationGetEbsConfiguration () const
 
bool EbsConfigurationHasBeenSet () const
 
void SetEbsConfiguration (const EbsConfiguration &value)
 
void SetEbsConfiguration (EbsConfiguration &&value)
 
InstanceTypeConfigWithEbsConfiguration (const EbsConfiguration &value)
 
InstanceTypeConfigWithEbsConfiguration (EbsConfiguration &&value)
 
const Aws::Vector< Configuration > & GetConfigurations () const
 
bool ConfigurationsHasBeenSet () const
 
void SetConfigurations (const Aws::Vector< Configuration > &value)
 
void SetConfigurations (Aws::Vector< Configuration > &&value)
 
InstanceTypeConfigWithConfigurations (const Aws::Vector< Configuration > &value)
 
InstanceTypeConfigWithConfigurations (Aws::Vector< Configuration > &&value)
 
InstanceTypeConfigAddConfigurations (const Configuration &value)
 
InstanceTypeConfigAddConfigurations (Configuration &&value)
 

Detailed Description

An instance type configuration for each instance type in an instance fleet, which determines the EC2 instances Amazon EMR attempts to provision to fulfill On-Demand and Spot target capacities. There can be a maximum of five instance type configurations in a 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 39 of file InstanceTypeConfig.h.

Constructor & Destructor Documentation

◆ InstanceTypeConfig() [1/2]

Aws::EMR::Model::InstanceTypeConfig::InstanceTypeConfig ( )

◆ InstanceTypeConfig() [2/2]

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

Member Function Documentation

◆ AddConfigurations() [1/2]

InstanceTypeConfig& Aws::EMR::Model::InstanceTypeConfig::AddConfigurations ( const Configuration value)
inline

A configuration classification that applies when provisioning cluster instances, which can include configurations for applications and software that run on the cluster.

Definition at line 308 of file InstanceTypeConfig.h.

◆ AddConfigurations() [2/2]

InstanceTypeConfig& Aws::EMR::Model::InstanceTypeConfig::AddConfigurations ( Configuration &&  value)
inline

A configuration classification that applies when provisioning cluster instances, which can include configurations for applications and software that run on the cluster.

Definition at line 315 of file InstanceTypeConfig.h.

◆ BidPriceAsPercentageOfOnDemandPriceHasBeenSet()

bool Aws::EMR::Model::InstanceTypeConfig::BidPriceAsPercentageOfOnDemandPriceHasBeenSet ( ) const
inline

The bid price, as a percentage of On-Demand price, for each EC2 Spot Instance as defined by InstanceType. Expressed as a number (for example, 20 specifies 20%). If neither BidPrice nor BidPriceAsPercentageOfOnDemandPrice is provided, BidPriceAsPercentageOfOnDemandPrice defaults to 100%.

Definition at line 203 of file InstanceTypeConfig.h.

◆ BidPriceHasBeenSet()

bool Aws::EMR::Model::InstanceTypeConfig::BidPriceHasBeenSet ( ) const
inline

The bid price for each EC2 Spot Instance type as defined by InstanceType. Expressed in USD. If neither BidPrice nor BidPriceAsPercentageOfOnDemandPrice is provided, BidPriceAsPercentageOfOnDemandPrice defaults to 100%.

Definition at line 136 of file InstanceTypeConfig.h.

◆ ConfigurationsHasBeenSet()

bool Aws::EMR::Model::InstanceTypeConfig::ConfigurationsHasBeenSet ( ) const
inline

A configuration classification that applies when provisioning cluster instances, which can include configurations for applications and software that run on the cluster.

Definition at line 273 of file InstanceTypeConfig.h.

◆ EbsConfigurationHasBeenSet()

bool Aws::EMR::Model::InstanceTypeConfig::EbsConfigurationHasBeenSet ( ) const
inline

The configuration of Amazon Elastic Block Storage (Amazon EBS) attached to each instance as defined by InstanceType.

Definition at line 234 of file InstanceTypeConfig.h.

◆ GetBidPrice()

const Aws::String& Aws::EMR::Model::InstanceTypeConfig::GetBidPrice ( ) const
inline

The bid price for each EC2 Spot Instance type as defined by InstanceType. Expressed in USD. If neither BidPrice nor BidPriceAsPercentageOfOnDemandPrice is provided, BidPriceAsPercentageOfOnDemandPrice defaults to 100%.

Definition at line 128 of file InstanceTypeConfig.h.

◆ GetBidPriceAsPercentageOfOnDemandPrice()

double Aws::EMR::Model::InstanceTypeConfig::GetBidPriceAsPercentageOfOnDemandPrice ( ) const
inline

The bid price, as a percentage of On-Demand price, for each EC2 Spot Instance as defined by InstanceType. Expressed as a number (for example, 20 specifies 20%). If neither BidPrice nor BidPriceAsPercentageOfOnDemandPrice is provided, BidPriceAsPercentageOfOnDemandPrice defaults to 100%.

Definition at line 194 of file InstanceTypeConfig.h.

◆ GetConfigurations()

const Aws::Vector<Configuration>& Aws::EMR::Model::InstanceTypeConfig::GetConfigurations ( ) const
inline

A configuration classification that applies when provisioning cluster instances, which can include configurations for applications and software that run on the cluster.

Definition at line 266 of file InstanceTypeConfig.h.

◆ GetEbsConfiguration()

const EbsConfiguration& Aws::EMR::Model::InstanceTypeConfig::GetEbsConfiguration ( ) const
inline

The configuration of Amazon Elastic Block Storage (Amazon EBS) attached to each instance as defined by InstanceType.

Definition at line 228 of file InstanceTypeConfig.h.

◆ GetInstanceType()

const Aws::String& Aws::EMR::Model::InstanceTypeConfig::GetInstanceType ( ) const
inline

An EC2 instance type, such as m3.xlarge.

Definition at line 51 of file InstanceTypeConfig.h.

◆ GetWeightedCapacity()

int Aws::EMR::Model::InstanceTypeConfig::GetWeightedCapacity ( ) const
inline

The number of units that a provisioned instance of this type provides toward fulfilling the target capacities defined in InstanceFleetConfig. This value is 1 for a master instance fleet, and must be 1 or greater for core and task instance fleets. Defaults to 1 if not specified.

Definition at line 95 of file InstanceTypeConfig.h.

◆ InstanceTypeHasBeenSet()

bool Aws::EMR::Model::InstanceTypeConfig::InstanceTypeHasBeenSet ( ) const
inline

An EC2 instance type, such as m3.xlarge.

Definition at line 56 of file InstanceTypeConfig.h.

◆ Jsonize()

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

◆ operator=()

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

◆ SetBidPrice() [1/3]

void Aws::EMR::Model::InstanceTypeConfig::SetBidPrice ( const Aws::String value)
inline

The bid price for each EC2 Spot Instance type as defined by InstanceType. Expressed in USD. If neither BidPrice nor BidPriceAsPercentageOfOnDemandPrice is provided, BidPriceAsPercentageOfOnDemandPrice defaults to 100%.

Definition at line 144 of file InstanceTypeConfig.h.

◆ SetBidPrice() [2/3]

void Aws::EMR::Model::InstanceTypeConfig::SetBidPrice ( Aws::String &&  value)
inline

The bid price for each EC2 Spot Instance type as defined by InstanceType. Expressed in USD. If neither BidPrice nor BidPriceAsPercentageOfOnDemandPrice is provided, BidPriceAsPercentageOfOnDemandPrice defaults to 100%.

Definition at line 152 of file InstanceTypeConfig.h.

◆ SetBidPrice() [3/3]

void Aws::EMR::Model::InstanceTypeConfig::SetBidPrice ( const char *  value)
inline

The bid price for each EC2 Spot Instance type as defined by InstanceType. Expressed in USD. If neither BidPrice nor BidPriceAsPercentageOfOnDemandPrice is provided, BidPriceAsPercentageOfOnDemandPrice defaults to 100%.

Definition at line 160 of file InstanceTypeConfig.h.

◆ SetBidPriceAsPercentageOfOnDemandPrice()

void Aws::EMR::Model::InstanceTypeConfig::SetBidPriceAsPercentageOfOnDemandPrice ( double  value)
inline

The bid price, as a percentage of On-Demand price, for each EC2 Spot Instance as defined by InstanceType. Expressed as a number (for example, 20 specifies 20%). If neither BidPrice nor BidPriceAsPercentageOfOnDemandPrice is provided, BidPriceAsPercentageOfOnDemandPrice defaults to 100%.

Definition at line 212 of file InstanceTypeConfig.h.

◆ SetConfigurations() [1/2]

void Aws::EMR::Model::InstanceTypeConfig::SetConfigurations ( const Aws::Vector< Configuration > &  value)
inline

A configuration classification that applies when provisioning cluster instances, which can include configurations for applications and software that run on the cluster.

Definition at line 280 of file InstanceTypeConfig.h.

◆ SetConfigurations() [2/2]

void Aws::EMR::Model::InstanceTypeConfig::SetConfigurations ( Aws::Vector< Configuration > &&  value)
inline

A configuration classification that applies when provisioning cluster instances, which can include configurations for applications and software that run on the cluster.

Definition at line 287 of file InstanceTypeConfig.h.

◆ SetEbsConfiguration() [1/2]

void Aws::EMR::Model::InstanceTypeConfig::SetEbsConfiguration ( const EbsConfiguration value)
inline

The configuration of Amazon Elastic Block Storage (Amazon EBS) attached to each instance as defined by InstanceType.

Definition at line 240 of file InstanceTypeConfig.h.

◆ SetEbsConfiguration() [2/2]

void Aws::EMR::Model::InstanceTypeConfig::SetEbsConfiguration ( EbsConfiguration &&  value)
inline

The configuration of Amazon Elastic Block Storage (Amazon EBS) attached to each instance as defined by InstanceType.

Definition at line 246 of file InstanceTypeConfig.h.

◆ SetInstanceType() [1/3]

void Aws::EMR::Model::InstanceTypeConfig::SetInstanceType ( const Aws::String value)
inline

An EC2 instance type, such as m3.xlarge.

Definition at line 61 of file InstanceTypeConfig.h.

◆ SetInstanceType() [2/3]

void Aws::EMR::Model::InstanceTypeConfig::SetInstanceType ( Aws::String &&  value)
inline

An EC2 instance type, such as m3.xlarge.

Definition at line 66 of file InstanceTypeConfig.h.

◆ SetInstanceType() [3/3]

void Aws::EMR::Model::InstanceTypeConfig::SetInstanceType ( const char *  value)
inline

An EC2 instance type, such as m3.xlarge.

Definition at line 71 of file InstanceTypeConfig.h.

◆ SetWeightedCapacity()

void Aws::EMR::Model::InstanceTypeConfig::SetWeightedCapacity ( int  value)
inline

The number of units that a provisioned instance of this type provides toward fulfilling the target capacities defined in InstanceFleetConfig. This value is 1 for a master instance fleet, and must be 1 or greater for core and task instance fleets. Defaults to 1 if not specified.

Definition at line 111 of file InstanceTypeConfig.h.

◆ WeightedCapacityHasBeenSet()

bool Aws::EMR::Model::InstanceTypeConfig::WeightedCapacityHasBeenSet ( ) const
inline

The number of units that a provisioned instance of this type provides toward fulfilling the target capacities defined in InstanceFleetConfig. This value is 1 for a master instance fleet, and must be 1 or greater for core and task instance fleets. Defaults to 1 if not specified.

Definition at line 103 of file InstanceTypeConfig.h.

◆ WithBidPrice() [1/3]

InstanceTypeConfig& Aws::EMR::Model::InstanceTypeConfig::WithBidPrice ( const Aws::String value)
inline

The bid price for each EC2 Spot Instance type as defined by InstanceType. Expressed in USD. If neither BidPrice nor BidPriceAsPercentageOfOnDemandPrice is provided, BidPriceAsPercentageOfOnDemandPrice defaults to 100%.

Definition at line 168 of file InstanceTypeConfig.h.

◆ WithBidPrice() [2/3]

InstanceTypeConfig& Aws::EMR::Model::InstanceTypeConfig::WithBidPrice ( Aws::String &&  value)
inline

The bid price for each EC2 Spot Instance type as defined by InstanceType. Expressed in USD. If neither BidPrice nor BidPriceAsPercentageOfOnDemandPrice is provided, BidPriceAsPercentageOfOnDemandPrice defaults to 100%.

Definition at line 176 of file InstanceTypeConfig.h.

◆ WithBidPrice() [3/3]

InstanceTypeConfig& Aws::EMR::Model::InstanceTypeConfig::WithBidPrice ( const char *  value)
inline

The bid price for each EC2 Spot Instance type as defined by InstanceType. Expressed in USD. If neither BidPrice nor BidPriceAsPercentageOfOnDemandPrice is provided, BidPriceAsPercentageOfOnDemandPrice defaults to 100%.

Definition at line 184 of file InstanceTypeConfig.h.

◆ WithBidPriceAsPercentageOfOnDemandPrice()

InstanceTypeConfig& Aws::EMR::Model::InstanceTypeConfig::WithBidPriceAsPercentageOfOnDemandPrice ( double  value)
inline

The bid price, as a percentage of On-Demand price, for each EC2 Spot Instance as defined by InstanceType. Expressed as a number (for example, 20 specifies 20%). If neither BidPrice nor BidPriceAsPercentageOfOnDemandPrice is provided, BidPriceAsPercentageOfOnDemandPrice defaults to 100%.

Definition at line 221 of file InstanceTypeConfig.h.

◆ WithConfigurations() [1/2]

InstanceTypeConfig& Aws::EMR::Model::InstanceTypeConfig::WithConfigurations ( const Aws::Vector< Configuration > &  value)
inline

A configuration classification that applies when provisioning cluster instances, which can include configurations for applications and software that run on the cluster.

Definition at line 294 of file InstanceTypeConfig.h.

◆ WithConfigurations() [2/2]

InstanceTypeConfig& Aws::EMR::Model::InstanceTypeConfig::WithConfigurations ( Aws::Vector< Configuration > &&  value)
inline

A configuration classification that applies when provisioning cluster instances, which can include configurations for applications and software that run on the cluster.

Definition at line 301 of file InstanceTypeConfig.h.

◆ WithEbsConfiguration() [1/2]

InstanceTypeConfig& Aws::EMR::Model::InstanceTypeConfig::WithEbsConfiguration ( const EbsConfiguration value)
inline

The configuration of Amazon Elastic Block Storage (Amazon EBS) attached to each instance as defined by InstanceType.

Definition at line 252 of file InstanceTypeConfig.h.

◆ WithEbsConfiguration() [2/2]

InstanceTypeConfig& Aws::EMR::Model::InstanceTypeConfig::WithEbsConfiguration ( EbsConfiguration &&  value)
inline

The configuration of Amazon Elastic Block Storage (Amazon EBS) attached to each instance as defined by InstanceType.

Definition at line 258 of file InstanceTypeConfig.h.

◆ WithInstanceType() [1/3]

InstanceTypeConfig& Aws::EMR::Model::InstanceTypeConfig::WithInstanceType ( const Aws::String value)
inline

An EC2 instance type, such as m3.xlarge.

Definition at line 76 of file InstanceTypeConfig.h.

◆ WithInstanceType() [2/3]

InstanceTypeConfig& Aws::EMR::Model::InstanceTypeConfig::WithInstanceType ( Aws::String &&  value)
inline

An EC2 instance type, such as m3.xlarge.

Definition at line 81 of file InstanceTypeConfig.h.

◆ WithInstanceType() [3/3]

InstanceTypeConfig& Aws::EMR::Model::InstanceTypeConfig::WithInstanceType ( const char *  value)
inline

An EC2 instance type, such as m3.xlarge.

Definition at line 86 of file InstanceTypeConfig.h.

◆ WithWeightedCapacity()

InstanceTypeConfig& Aws::EMR::Model::InstanceTypeConfig::WithWeightedCapacity ( int  value)
inline

The number of units that a provisioned instance of this type provides toward fulfilling the target capacities defined in InstanceFleetConfig. This value is 1 for a master instance fleet, and must be 1 or greater for core and task instance fleets. Defaults to 1 if not specified.

Definition at line 119 of file InstanceTypeConfig.h.


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