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

#include <InstanceTypeSpecification.h>

Public Member Functions

 InstanceTypeSpecification ()
 
 InstanceTypeSpecification (Aws::Utils::Json::JsonView jsonValue)
 
InstanceTypeSpecificationoperator= (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)
 
InstanceTypeSpecificationWithInstanceType (const Aws::String &value)
 
InstanceTypeSpecificationWithInstanceType (Aws::String &&value)
 
InstanceTypeSpecificationWithInstanceType (const char *value)
 
int GetWeightedCapacity () const
 
bool WeightedCapacityHasBeenSet () const
 
void SetWeightedCapacity (int value)
 
InstanceTypeSpecificationWithWeightedCapacity (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)
 
InstanceTypeSpecificationWithBidPrice (const Aws::String &value)
 
InstanceTypeSpecificationWithBidPrice (Aws::String &&value)
 
InstanceTypeSpecificationWithBidPrice (const char *value)
 
double GetBidPriceAsPercentageOfOnDemandPrice () const
 
bool BidPriceAsPercentageOfOnDemandPriceHasBeenSet () const
 
void SetBidPriceAsPercentageOfOnDemandPrice (double value)
 
InstanceTypeSpecificationWithBidPriceAsPercentageOfOnDemandPrice (double value)
 
const Aws::Vector< Configuration > & GetConfigurations () const
 
bool ConfigurationsHasBeenSet () const
 
void SetConfigurations (const Aws::Vector< Configuration > &value)
 
void SetConfigurations (Aws::Vector< Configuration > &&value)
 
InstanceTypeSpecificationWithConfigurations (const Aws::Vector< Configuration > &value)
 
InstanceTypeSpecificationWithConfigurations (Aws::Vector< Configuration > &&value)
 
InstanceTypeSpecificationAddConfigurations (const Configuration &value)
 
InstanceTypeSpecificationAddConfigurations (Configuration &&value)
 
const Aws::Vector< EbsBlockDevice > & GetEbsBlockDevices () const
 
bool EbsBlockDevicesHasBeenSet () const
 
void SetEbsBlockDevices (const Aws::Vector< EbsBlockDevice > &value)
 
void SetEbsBlockDevices (Aws::Vector< EbsBlockDevice > &&value)
 
InstanceTypeSpecificationWithEbsBlockDevices (const Aws::Vector< EbsBlockDevice > &value)
 
InstanceTypeSpecificationWithEbsBlockDevices (Aws::Vector< EbsBlockDevice > &&value)
 
InstanceTypeSpecificationAddEbsBlockDevices (const EbsBlockDevice &value)
 
InstanceTypeSpecificationAddEbsBlockDevices (EbsBlockDevice &&value)
 
bool GetEbsOptimized () const
 
bool EbsOptimizedHasBeenSet () const
 
void SetEbsOptimized (bool value)
 
InstanceTypeSpecificationWithEbsOptimized (bool value)
 

Detailed Description

The configuration specification for each instance type in 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 InstanceTypeSpecification.h.

Constructor & Destructor Documentation

◆ InstanceTypeSpecification() [1/2]

Aws::EMR::Model::InstanceTypeSpecification::InstanceTypeSpecification ( )

◆ InstanceTypeSpecification() [2/2]

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

Member Function Documentation

◆ AddConfigurations() [1/2]

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

A configuration classification that applies when provisioning cluster instances, which can include configurations for applications and software bundled with Amazon EMR.

Definition at line 245 of file InstanceTypeSpecification.h.

◆ AddConfigurations() [2/2]

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

A configuration classification that applies when provisioning cluster instances, which can include configurations for applications and software bundled with Amazon EMR.

Definition at line 252 of file InstanceTypeSpecification.h.

◆ AddEbsBlockDevices() [1/2]

InstanceTypeSpecification& Aws::EMR::Model::InstanceTypeSpecification::AddEbsBlockDevices ( const EbsBlockDevice value)
inline

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

Definition at line 295 of file InstanceTypeSpecification.h.

◆ AddEbsBlockDevices() [2/2]

InstanceTypeSpecification& Aws::EMR::Model::InstanceTypeSpecification::AddEbsBlockDevices ( EbsBlockDevice &&  value)
inline

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

Definition at line 301 of file InstanceTypeSpecification.h.

◆ BidPriceAsPercentageOfOnDemandPriceHasBeenSet()

bool Aws::EMR::Model::InstanceTypeSpecification::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%).

Definition at line 181 of file InstanceTypeSpecification.h.

◆ BidPriceHasBeenSet()

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

The bid price for each EC2 Spot Instance type as defined by InstanceType. Expressed in USD.

Definition at line 130 of file InstanceTypeSpecification.h.

◆ ConfigurationsHasBeenSet()

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

A configuration classification that applies when provisioning cluster instances, which can include configurations for applications and software bundled with Amazon EMR.

Definition at line 210 of file InstanceTypeSpecification.h.

◆ EbsBlockDevicesHasBeenSet()

bool Aws::EMR::Model::InstanceTypeSpecification::EbsBlockDevicesHasBeenSet ( ) const
inline

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

Definition at line 265 of file InstanceTypeSpecification.h.

◆ EbsOptimizedHasBeenSet()

bool Aws::EMR::Model::InstanceTypeSpecification::EbsOptimizedHasBeenSet ( ) const
inline

Evaluates to TRUE when the specified InstanceType is EBS-optimized.

Definition at line 314 of file InstanceTypeSpecification.h.

◆ GetBidPrice()

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

The bid price for each EC2 Spot Instance type as defined by InstanceType. Expressed in USD.

Definition at line 124 of file InstanceTypeSpecification.h.

◆ GetBidPriceAsPercentageOfOnDemandPrice()

double Aws::EMR::Model::InstanceTypeSpecification::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%).

Definition at line 174 of file InstanceTypeSpecification.h.

◆ GetConfigurations()

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

A configuration classification that applies when provisioning cluster instances, which can include configurations for applications and software bundled with Amazon EMR.

Definition at line 203 of file InstanceTypeSpecification.h.

◆ GetEbsBlockDevices()

const Aws::Vector<EbsBlockDevice>& Aws::EMR::Model::InstanceTypeSpecification::GetEbsBlockDevices ( ) const
inline

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

Definition at line 259 of file InstanceTypeSpecification.h.

◆ GetEbsOptimized()

bool Aws::EMR::Model::InstanceTypeSpecification::GetEbsOptimized ( ) const
inline

Evaluates to TRUE when the specified InstanceType is EBS-optimized.

Definition at line 308 of file InstanceTypeSpecification.h.

◆ GetInstanceType()

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

The EC2 instance type, for example m3.xlarge.

Definition at line 49 of file InstanceTypeSpecification.h.

◆ GetWeightedCapacity()

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

The number of units that a provisioned instance of this type provides toward fulfilling the target capacities defined in InstanceFleetConfig. Capacity values represent performance characteristics such as vCPUs, memory, or I/O. If not specified, the default value is 1.

Definition at line 93 of file InstanceTypeSpecification.h.

◆ InstanceTypeHasBeenSet()

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

The EC2 instance type, for example m3.xlarge.

Definition at line 54 of file InstanceTypeSpecification.h.

◆ Jsonize()

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

◆ operator=()

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

◆ SetBidPrice() [1/3]

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

The bid price for each EC2 Spot Instance type as defined by InstanceType. Expressed in USD.

Definition at line 136 of file InstanceTypeSpecification.h.

◆ SetBidPrice() [2/3]

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

The bid price for each EC2 Spot Instance type as defined by InstanceType. Expressed in USD.

Definition at line 142 of file InstanceTypeSpecification.h.

◆ SetBidPrice() [3/3]

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

The bid price for each EC2 Spot Instance type as defined by InstanceType. Expressed in USD.

Definition at line 148 of file InstanceTypeSpecification.h.

◆ SetBidPriceAsPercentageOfOnDemandPrice()

void Aws::EMR::Model::InstanceTypeSpecification::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%).

Definition at line 188 of file InstanceTypeSpecification.h.

◆ SetConfigurations() [1/2]

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

A configuration classification that applies when provisioning cluster instances, which can include configurations for applications and software bundled with Amazon EMR.

Definition at line 217 of file InstanceTypeSpecification.h.

◆ SetConfigurations() [2/2]

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

A configuration classification that applies when provisioning cluster instances, which can include configurations for applications and software bundled with Amazon EMR.

Definition at line 224 of file InstanceTypeSpecification.h.

◆ SetEbsBlockDevices() [1/2]

void Aws::EMR::Model::InstanceTypeSpecification::SetEbsBlockDevices ( const Aws::Vector< EbsBlockDevice > &  value)
inline

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

Definition at line 271 of file InstanceTypeSpecification.h.

◆ SetEbsBlockDevices() [2/2]

void Aws::EMR::Model::InstanceTypeSpecification::SetEbsBlockDevices ( Aws::Vector< EbsBlockDevice > &&  value)
inline

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

Definition at line 277 of file InstanceTypeSpecification.h.

◆ SetEbsOptimized()

void Aws::EMR::Model::InstanceTypeSpecification::SetEbsOptimized ( bool  value)
inline

Evaluates to TRUE when the specified InstanceType is EBS-optimized.

Definition at line 320 of file InstanceTypeSpecification.h.

◆ SetInstanceType() [1/3]

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

The EC2 instance type, for example m3.xlarge.

Definition at line 59 of file InstanceTypeSpecification.h.

◆ SetInstanceType() [2/3]

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

The EC2 instance type, for example m3.xlarge.

Definition at line 64 of file InstanceTypeSpecification.h.

◆ SetInstanceType() [3/3]

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

The EC2 instance type, for example m3.xlarge.

Definition at line 69 of file InstanceTypeSpecification.h.

◆ SetWeightedCapacity()

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

The number of units that a provisioned instance of this type provides toward fulfilling the target capacities defined in InstanceFleetConfig. Capacity values represent performance characteristics such as vCPUs, memory, or I/O. If not specified, the default value is 1.

Definition at line 109 of file InstanceTypeSpecification.h.

◆ WeightedCapacityHasBeenSet()

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

The number of units that a provisioned instance of this type provides toward fulfilling the target capacities defined in InstanceFleetConfig. Capacity values represent performance characteristics such as vCPUs, memory, or I/O. If not specified, the default value is 1.

Definition at line 101 of file InstanceTypeSpecification.h.

◆ WithBidPrice() [1/3]

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

The bid price for each EC2 Spot Instance type as defined by InstanceType. Expressed in USD.

Definition at line 154 of file InstanceTypeSpecification.h.

◆ WithBidPrice() [2/3]

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

The bid price for each EC2 Spot Instance type as defined by InstanceType. Expressed in USD.

Definition at line 160 of file InstanceTypeSpecification.h.

◆ WithBidPrice() [3/3]

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

The bid price for each EC2 Spot Instance type as defined by InstanceType. Expressed in USD.

Definition at line 166 of file InstanceTypeSpecification.h.

◆ WithBidPriceAsPercentageOfOnDemandPrice()

InstanceTypeSpecification& Aws::EMR::Model::InstanceTypeSpecification::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%).

Definition at line 195 of file InstanceTypeSpecification.h.

◆ WithConfigurations() [1/2]

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

A configuration classification that applies when provisioning cluster instances, which can include configurations for applications and software bundled with Amazon EMR.

Definition at line 231 of file InstanceTypeSpecification.h.

◆ WithConfigurations() [2/2]

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

A configuration classification that applies when provisioning cluster instances, which can include configurations for applications and software bundled with Amazon EMR.

Definition at line 238 of file InstanceTypeSpecification.h.

◆ WithEbsBlockDevices() [1/2]

InstanceTypeSpecification& Aws::EMR::Model::InstanceTypeSpecification::WithEbsBlockDevices ( const Aws::Vector< EbsBlockDevice > &  value)
inline

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

Definition at line 283 of file InstanceTypeSpecification.h.

◆ WithEbsBlockDevices() [2/2]

InstanceTypeSpecification& Aws::EMR::Model::InstanceTypeSpecification::WithEbsBlockDevices ( Aws::Vector< EbsBlockDevice > &&  value)
inline

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

Definition at line 289 of file InstanceTypeSpecification.h.

◆ WithEbsOptimized()

InstanceTypeSpecification& Aws::EMR::Model::InstanceTypeSpecification::WithEbsOptimized ( bool  value)
inline

Evaluates to TRUE when the specified InstanceType is EBS-optimized.

Definition at line 326 of file InstanceTypeSpecification.h.

◆ WithInstanceType() [1/3]

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

The EC2 instance type, for example m3.xlarge.

Definition at line 74 of file InstanceTypeSpecification.h.

◆ WithInstanceType() [2/3]

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

The EC2 instance type, for example m3.xlarge.

Definition at line 79 of file InstanceTypeSpecification.h.

◆ WithInstanceType() [3/3]

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

The EC2 instance type, for example m3.xlarge.

Definition at line 84 of file InstanceTypeSpecification.h.

◆ WithWeightedCapacity()

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

The number of units that a provisioned instance of this type provides toward fulfilling the target capacities defined in InstanceFleetConfig. Capacity values represent performance characteristics such as vCPUs, memory, or I/O. If not specified, the default value is 1.

Definition at line 117 of file InstanceTypeSpecification.h.


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