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

#include <PlacementGroupConfig.h>

Public Member Functions

 PlacementGroupConfig ()
 
 PlacementGroupConfig (Aws::Utils::Json::JsonView jsonValue)
 
PlacementGroupConfigoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const InstanceRoleTypeGetInstanceRole () const
 
bool InstanceRoleHasBeenSet () const
 
void SetInstanceRole (const InstanceRoleType &value)
 
void SetInstanceRole (InstanceRoleType &&value)
 
PlacementGroupConfigWithInstanceRole (const InstanceRoleType &value)
 
PlacementGroupConfigWithInstanceRole (InstanceRoleType &&value)
 
const PlacementGroupStrategyGetPlacementStrategy () const
 
bool PlacementStrategyHasBeenSet () const
 
void SetPlacementStrategy (const PlacementGroupStrategy &value)
 
void SetPlacementStrategy (PlacementGroupStrategy &&value)
 
PlacementGroupConfigWithPlacementStrategy (const PlacementGroupStrategy &value)
 
PlacementGroupConfigWithPlacementStrategy (PlacementGroupStrategy &&value)
 

Detailed Description

Placement group configuration for an Amazon EMR cluster. The configuration specifies the placement strategy that can be applied to instance roles during cluster creation.

To use this configuration, consider attaching managed policy AmazonElasticMapReducePlacementGroupPolicy to the EMR role.

See Also:

AWS API Reference

Definition at line 36 of file PlacementGroupConfig.h.

Constructor & Destructor Documentation

◆ PlacementGroupConfig() [1/2]

Aws::EMR::Model::PlacementGroupConfig::PlacementGroupConfig ( )

◆ PlacementGroupConfig() [2/2]

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

Member Function Documentation

◆ GetInstanceRole()

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

Role of the instance in the cluster.

Starting with Amazon EMR version 5.23.0, the only supported instance role is MASTER.

Definition at line 49 of file PlacementGroupConfig.h.

◆ GetPlacementStrategy()

const PlacementGroupStrategy& Aws::EMR::Model::PlacementGroupConfig::GetPlacementStrategy ( ) const
inline

EC2 Placement Group strategy associated with instance role.

Starting with Amazon EMR version 5.23.0, the only supported placement strategy is SPREAD for the MASTER instance role.

Definition at line 87 of file PlacementGroupConfig.h.

◆ InstanceRoleHasBeenSet()

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

Role of the instance in the cluster.

Starting with Amazon EMR version 5.23.0, the only supported instance role is MASTER.

Definition at line 55 of file PlacementGroupConfig.h.

◆ Jsonize()

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

◆ operator=()

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

◆ PlacementStrategyHasBeenSet()

bool Aws::EMR::Model::PlacementGroupConfig::PlacementStrategyHasBeenSet ( ) const
inline

EC2 Placement Group strategy associated with instance role.

Starting with Amazon EMR version 5.23.0, the only supported placement strategy is SPREAD for the MASTER instance role.

Definition at line 94 of file PlacementGroupConfig.h.

◆ SetInstanceRole() [1/2]

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

Role of the instance in the cluster.

Starting with Amazon EMR version 5.23.0, the only supported instance role is MASTER.

Definition at line 61 of file PlacementGroupConfig.h.

◆ SetInstanceRole() [2/2]

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

Role of the instance in the cluster.

Starting with Amazon EMR version 5.23.0, the only supported instance role is MASTER.

Definition at line 67 of file PlacementGroupConfig.h.

◆ SetPlacementStrategy() [1/2]

void Aws::EMR::Model::PlacementGroupConfig::SetPlacementStrategy ( const PlacementGroupStrategy value)
inline

EC2 Placement Group strategy associated with instance role.

Starting with Amazon EMR version 5.23.0, the only supported placement strategy is SPREAD for the MASTER instance role.

Definition at line 101 of file PlacementGroupConfig.h.

◆ SetPlacementStrategy() [2/2]

void Aws::EMR::Model::PlacementGroupConfig::SetPlacementStrategy ( PlacementGroupStrategy &&  value)
inline

EC2 Placement Group strategy associated with instance role.

Starting with Amazon EMR version 5.23.0, the only supported placement strategy is SPREAD for the MASTER instance role.

Definition at line 108 of file PlacementGroupConfig.h.

◆ WithInstanceRole() [1/2]

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

Role of the instance in the cluster.

Starting with Amazon EMR version 5.23.0, the only supported instance role is MASTER.

Definition at line 73 of file PlacementGroupConfig.h.

◆ WithInstanceRole() [2/2]

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

Role of the instance in the cluster.

Starting with Amazon EMR version 5.23.0, the only supported instance role is MASTER.

Definition at line 79 of file PlacementGroupConfig.h.

◆ WithPlacementStrategy() [1/2]

PlacementGroupConfig& Aws::EMR::Model::PlacementGroupConfig::WithPlacementStrategy ( const PlacementGroupStrategy value)
inline

EC2 Placement Group strategy associated with instance role.

Starting with Amazon EMR version 5.23.0, the only supported placement strategy is SPREAD for the MASTER instance role.

Definition at line 115 of file PlacementGroupConfig.h.

◆ WithPlacementStrategy() [2/2]

PlacementGroupConfig& Aws::EMR::Model::PlacementGroupConfig::WithPlacementStrategy ( PlacementGroupStrategy &&  value)
inline

EC2 Placement Group strategy associated with instance role.

Starting with Amazon EMR version 5.23.0, the only supported placement strategy is SPREAD for the MASTER instance role.

Definition at line 122 of file PlacementGroupConfig.h.


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