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

#include <InstanceGroupConfig.h>

Public Member Functions

 InstanceGroupConfig ()
 
 InstanceGroupConfig (Aws::Utils::Json::JsonView jsonValue)
 
InstanceGroupConfigoperator= (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)
 
InstanceGroupConfigWithName (const Aws::String &value)
 
InstanceGroupConfigWithName (Aws::String &&value)
 
InstanceGroupConfigWithName (const char *value)
 
const MarketTypeGetMarket () const
 
bool MarketHasBeenSet () const
 
void SetMarket (const MarketType &value)
 
void SetMarket (MarketType &&value)
 
InstanceGroupConfigWithMarket (const MarketType &value)
 
InstanceGroupConfigWithMarket (MarketType &&value)
 
const InstanceRoleTypeGetInstanceRole () const
 
bool InstanceRoleHasBeenSet () const
 
void SetInstanceRole (const InstanceRoleType &value)
 
void SetInstanceRole (InstanceRoleType &&value)
 
InstanceGroupConfigWithInstanceRole (const InstanceRoleType &value)
 
InstanceGroupConfigWithInstanceRole (InstanceRoleType &&value)
 
const Aws::StringGetBidPrice () const
 
bool BidPriceHasBeenSet () const
 
void SetBidPrice (const Aws::String &value)
 
void SetBidPrice (Aws::String &&value)
 
void SetBidPrice (const char *value)
 
InstanceGroupConfigWithBidPrice (const Aws::String &value)
 
InstanceGroupConfigWithBidPrice (Aws::String &&value)
 
InstanceGroupConfigWithBidPrice (const char *value)
 
const Aws::StringGetInstanceType () const
 
bool InstanceTypeHasBeenSet () const
 
void SetInstanceType (const Aws::String &value)
 
void SetInstanceType (Aws::String &&value)
 
void SetInstanceType (const char *value)
 
InstanceGroupConfigWithInstanceType (const Aws::String &value)
 
InstanceGroupConfigWithInstanceType (Aws::String &&value)
 
InstanceGroupConfigWithInstanceType (const char *value)
 
int GetInstanceCount () const
 
bool InstanceCountHasBeenSet () const
 
void SetInstanceCount (int value)
 
InstanceGroupConfigWithInstanceCount (int value)
 
const Aws::Vector< Configuration > & GetConfigurations () const
 
bool ConfigurationsHasBeenSet () const
 
void SetConfigurations (const Aws::Vector< Configuration > &value)
 
void SetConfigurations (Aws::Vector< Configuration > &&value)
 
InstanceGroupConfigWithConfigurations (const Aws::Vector< Configuration > &value)
 
InstanceGroupConfigWithConfigurations (Aws::Vector< Configuration > &&value)
 
InstanceGroupConfigAddConfigurations (const Configuration &value)
 
InstanceGroupConfigAddConfigurations (Configuration &&value)
 
const EbsConfigurationGetEbsConfiguration () const
 
bool EbsConfigurationHasBeenSet () const
 
void SetEbsConfiguration (const EbsConfiguration &value)
 
void SetEbsConfiguration (EbsConfiguration &&value)
 
InstanceGroupConfigWithEbsConfiguration (const EbsConfiguration &value)
 
InstanceGroupConfigWithEbsConfiguration (EbsConfiguration &&value)
 
const AutoScalingPolicyGetAutoScalingPolicy () const
 
bool AutoScalingPolicyHasBeenSet () const
 
void SetAutoScalingPolicy (const AutoScalingPolicy &value)
 
void SetAutoScalingPolicy (AutoScalingPolicy &&value)
 
InstanceGroupConfigWithAutoScalingPolicy (const AutoScalingPolicy &value)
 
InstanceGroupConfigWithAutoScalingPolicy (AutoScalingPolicy &&value)
 

Detailed Description

Configuration defining a new instance group.

See Also:

AWS API Reference

Definition at line 37 of file InstanceGroupConfig.h.

Constructor & Destructor Documentation

◆ InstanceGroupConfig() [1/2]

Aws::EMR::Model::InstanceGroupConfig::InstanceGroupConfig ( )

◆ InstanceGroupConfig() [2/2]

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

Member Function Documentation

◆ AddConfigurations() [1/2]

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

Amazon EMR releases 4.x or later.

The list of configurations supplied for an EMR cluster instance group. You can specify a separate configuration for each instance group (master, core, and task).

Definition at line 323 of file InstanceGroupConfig.h.

◆ AddConfigurations() [2/2]

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

Amazon EMR releases 4.x or later.

The list of configurations supplied for an EMR cluster instance group. You can specify a separate configuration for each instance group (master, core, and task).

Definition at line 330 of file InstanceGroupConfig.h.

◆ AutoScalingPolicyHasBeenSet()

bool Aws::EMR::Model::InstanceGroupConfig::AutoScalingPolicyHasBeenSet ( ) const
inline

An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. The automatic scaling policy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric. See PutAutoScalingPolicy.

Definition at line 384 of file InstanceGroupConfig.h.

◆ BidPriceHasBeenSet()

bool Aws::EMR::Model::InstanceGroupConfig::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 163 of file InstanceGroupConfig.h.

◆ ConfigurationsHasBeenSet()

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

Amazon EMR releases 4.x or later.

The list of configurations supplied for an EMR cluster instance group. You can specify a separate configuration for each instance group (master, core, and task).

Definition at line 288 of file InstanceGroupConfig.h.

◆ EbsConfigurationHasBeenSet()

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

EBS configurations that will be attached to each EC2 instance in the instance group.

Definition at line 343 of file InstanceGroupConfig.h.

◆ GetAutoScalingPolicy()

const AutoScalingPolicy& Aws::EMR::Model::InstanceGroupConfig::GetAutoScalingPolicy ( ) const
inline

An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. The automatic scaling policy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric. See PutAutoScalingPolicy.

Definition at line 376 of file InstanceGroupConfig.h.

◆ GetBidPrice()

const Aws::String& Aws::EMR::Model::InstanceGroupConfig::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 155 of file InstanceGroupConfig.h.

◆ GetConfigurations()

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

Amazon EMR releases 4.x or later.

The list of configurations supplied for an EMR cluster instance group. You can specify a separate configuration for each instance group (master, core, and task).

Definition at line 281 of file InstanceGroupConfig.h.

◆ GetEbsConfiguration()

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

EBS configurations that will be attached to each EC2 instance in the instance group.

Definition at line 337 of file InstanceGroupConfig.h.

◆ GetInstanceCount()

int Aws::EMR::Model::InstanceGroupConfig::GetInstanceCount ( ) const
inline

Target number of instances for the instance group.

Definition at line 258 of file InstanceGroupConfig.h.

◆ GetInstanceRole()

const InstanceRoleType& Aws::EMR::Model::InstanceGroupConfig::GetInstanceRole ( ) const
inline

The role of the instance group in the cluster.

Definition at line 121 of file InstanceGroupConfig.h.

◆ GetInstanceType()

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

The EC2 instance type for all instances in the instance group.

Definition at line 217 of file InstanceGroupConfig.h.

◆ GetMarket()

const MarketType& Aws::EMR::Model::InstanceGroupConfig::GetMarket ( ) const
inline

Market type of the EC2 instances used to create a cluster node.

Definition at line 90 of file InstanceGroupConfig.h.

◆ GetName()

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

Friendly name given to the instance group.

Definition at line 49 of file InstanceGroupConfig.h.

◆ InstanceCountHasBeenSet()

bool Aws::EMR::Model::InstanceGroupConfig::InstanceCountHasBeenSet ( ) const
inline

Target number of instances for the instance group.

Definition at line 263 of file InstanceGroupConfig.h.

◆ InstanceRoleHasBeenSet()

bool Aws::EMR::Model::InstanceGroupConfig::InstanceRoleHasBeenSet ( ) const
inline

The role of the instance group in the cluster.

Definition at line 126 of file InstanceGroupConfig.h.

◆ InstanceTypeHasBeenSet()

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

The EC2 instance type for all instances in the instance group.

Definition at line 222 of file InstanceGroupConfig.h.

◆ Jsonize()

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

◆ MarketHasBeenSet()

bool Aws::EMR::Model::InstanceGroupConfig::MarketHasBeenSet ( ) const
inline

Market type of the EC2 instances used to create a cluster node.

Definition at line 95 of file InstanceGroupConfig.h.

◆ NameHasBeenSet()

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

Friendly name given to the instance group.

Definition at line 54 of file InstanceGroupConfig.h.

◆ operator=()

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

◆ SetAutoScalingPolicy() [1/2]

void Aws::EMR::Model::InstanceGroupConfig::SetAutoScalingPolicy ( const AutoScalingPolicy value)
inline

An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. The automatic scaling policy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric. See PutAutoScalingPolicy.

Definition at line 392 of file InstanceGroupConfig.h.

◆ SetAutoScalingPolicy() [2/2]

void Aws::EMR::Model::InstanceGroupConfig::SetAutoScalingPolicy ( AutoScalingPolicy &&  value)
inline

An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. The automatic scaling policy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric. See PutAutoScalingPolicy.

Definition at line 400 of file InstanceGroupConfig.h.

◆ SetBidPrice() [1/3]

void Aws::EMR::Model::InstanceGroupConfig::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 171 of file InstanceGroupConfig.h.

◆ SetBidPrice() [2/3]

void Aws::EMR::Model::InstanceGroupConfig::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 179 of file InstanceGroupConfig.h.

◆ SetBidPrice() [3/3]

void Aws::EMR::Model::InstanceGroupConfig::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 187 of file InstanceGroupConfig.h.

◆ SetConfigurations() [1/2]

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

Amazon EMR releases 4.x or later.

The list of configurations supplied for an EMR cluster instance group. You can specify a separate configuration for each instance group (master, core, and task).

Definition at line 295 of file InstanceGroupConfig.h.

◆ SetConfigurations() [2/2]

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

Amazon EMR releases 4.x or later.

The list of configurations supplied for an EMR cluster instance group. You can specify a separate configuration for each instance group (master, core, and task).

Definition at line 302 of file InstanceGroupConfig.h.

◆ SetEbsConfiguration() [1/2]

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

EBS configurations that will be attached to each EC2 instance in the instance group.

Definition at line 349 of file InstanceGroupConfig.h.

◆ SetEbsConfiguration() [2/2]

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

EBS configurations that will be attached to each EC2 instance in the instance group.

Definition at line 355 of file InstanceGroupConfig.h.

◆ SetInstanceCount()

void Aws::EMR::Model::InstanceGroupConfig::SetInstanceCount ( int  value)
inline

Target number of instances for the instance group.

Definition at line 268 of file InstanceGroupConfig.h.

◆ SetInstanceRole() [1/2]

void Aws::EMR::Model::InstanceGroupConfig::SetInstanceRole ( const InstanceRoleType value)
inline

The role of the instance group in the cluster.

Definition at line 131 of file InstanceGroupConfig.h.

◆ SetInstanceRole() [2/2]

void Aws::EMR::Model::InstanceGroupConfig::SetInstanceRole ( InstanceRoleType &&  value)
inline

The role of the instance group in the cluster.

Definition at line 136 of file InstanceGroupConfig.h.

◆ SetInstanceType() [1/3]

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

The EC2 instance type for all instances in the instance group.

Definition at line 227 of file InstanceGroupConfig.h.

◆ SetInstanceType() [2/3]

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

The EC2 instance type for all instances in the instance group.

Definition at line 232 of file InstanceGroupConfig.h.

◆ SetInstanceType() [3/3]

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

The EC2 instance type for all instances in the instance group.

Definition at line 237 of file InstanceGroupConfig.h.

◆ SetMarket() [1/2]

void Aws::EMR::Model::InstanceGroupConfig::SetMarket ( const MarketType value)
inline

Market type of the EC2 instances used to create a cluster node.

Definition at line 100 of file InstanceGroupConfig.h.

◆ SetMarket() [2/2]

void Aws::EMR::Model::InstanceGroupConfig::SetMarket ( MarketType &&  value)
inline

Market type of the EC2 instances used to create a cluster node.

Definition at line 105 of file InstanceGroupConfig.h.

◆ SetName() [1/3]

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

Friendly name given to the instance group.

Definition at line 59 of file InstanceGroupConfig.h.

◆ SetName() [2/3]

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

Friendly name given to the instance group.

Definition at line 64 of file InstanceGroupConfig.h.

◆ SetName() [3/3]

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

Friendly name given to the instance group.

Definition at line 69 of file InstanceGroupConfig.h.

◆ WithAutoScalingPolicy() [1/2]

InstanceGroupConfig& Aws::EMR::Model::InstanceGroupConfig::WithAutoScalingPolicy ( const AutoScalingPolicy value)
inline

An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. The automatic scaling policy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric. See PutAutoScalingPolicy.

Definition at line 408 of file InstanceGroupConfig.h.

◆ WithAutoScalingPolicy() [2/2]

InstanceGroupConfig& Aws::EMR::Model::InstanceGroupConfig::WithAutoScalingPolicy ( AutoScalingPolicy &&  value)
inline

An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. The automatic scaling policy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric. See PutAutoScalingPolicy.

Definition at line 416 of file InstanceGroupConfig.h.

◆ WithBidPrice() [1/3]

InstanceGroupConfig& Aws::EMR::Model::InstanceGroupConfig::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 195 of file InstanceGroupConfig.h.

◆ WithBidPrice() [2/3]

InstanceGroupConfig& Aws::EMR::Model::InstanceGroupConfig::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 203 of file InstanceGroupConfig.h.

◆ WithBidPrice() [3/3]

InstanceGroupConfig& Aws::EMR::Model::InstanceGroupConfig::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 211 of file InstanceGroupConfig.h.

◆ WithConfigurations() [1/2]

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

Amazon EMR releases 4.x or later.

The list of configurations supplied for an EMR cluster instance group. You can specify a separate configuration for each instance group (master, core, and task).

Definition at line 309 of file InstanceGroupConfig.h.

◆ WithConfigurations() [2/2]

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

Amazon EMR releases 4.x or later.

The list of configurations supplied for an EMR cluster instance group. You can specify a separate configuration for each instance group (master, core, and task).

Definition at line 316 of file InstanceGroupConfig.h.

◆ WithEbsConfiguration() [1/2]

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

EBS configurations that will be attached to each EC2 instance in the instance group.

Definition at line 361 of file InstanceGroupConfig.h.

◆ WithEbsConfiguration() [2/2]

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

EBS configurations that will be attached to each EC2 instance in the instance group.

Definition at line 367 of file InstanceGroupConfig.h.

◆ WithInstanceCount()

InstanceGroupConfig& Aws::EMR::Model::InstanceGroupConfig::WithInstanceCount ( int  value)
inline

Target number of instances for the instance group.

Definition at line 273 of file InstanceGroupConfig.h.

◆ WithInstanceRole() [1/2]

InstanceGroupConfig& Aws::EMR::Model::InstanceGroupConfig::WithInstanceRole ( const InstanceRoleType value)
inline

The role of the instance group in the cluster.

Definition at line 141 of file InstanceGroupConfig.h.

◆ WithInstanceRole() [2/2]

InstanceGroupConfig& Aws::EMR::Model::InstanceGroupConfig::WithInstanceRole ( InstanceRoleType &&  value)
inline

The role of the instance group in the cluster.

Definition at line 146 of file InstanceGroupConfig.h.

◆ WithInstanceType() [1/3]

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

The EC2 instance type for all instances in the instance group.

Definition at line 242 of file InstanceGroupConfig.h.

◆ WithInstanceType() [2/3]

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

The EC2 instance type for all instances in the instance group.

Definition at line 247 of file InstanceGroupConfig.h.

◆ WithInstanceType() [3/3]

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

The EC2 instance type for all instances in the instance group.

Definition at line 252 of file InstanceGroupConfig.h.

◆ WithMarket() [1/2]

InstanceGroupConfig& Aws::EMR::Model::InstanceGroupConfig::WithMarket ( const MarketType value)
inline

Market type of the EC2 instances used to create a cluster node.

Definition at line 110 of file InstanceGroupConfig.h.

◆ WithMarket() [2/2]

InstanceGroupConfig& Aws::EMR::Model::InstanceGroupConfig::WithMarket ( MarketType &&  value)
inline

Market type of the EC2 instances used to create a cluster node.

Definition at line 115 of file InstanceGroupConfig.h.

◆ WithName() [1/3]

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

Friendly name given to the instance group.

Definition at line 74 of file InstanceGroupConfig.h.

◆ WithName() [2/3]

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

Friendly name given to the instance group.

Definition at line 79 of file InstanceGroupConfig.h.

◆ WithName() [3/3]

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

Friendly name given to the instance group.

Definition at line 84 of file InstanceGroupConfig.h.


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