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

#include <AutoScalingPolicy.h>

Public Member Functions

 AutoScalingPolicy ()
 
 AutoScalingPolicy (Aws::Utils::Json::JsonView jsonValue)
 
AutoScalingPolicyoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const ScalingConstraintsGetConstraints () const
 
bool ConstraintsHasBeenSet () const
 
void SetConstraints (const ScalingConstraints &value)
 
void SetConstraints (ScalingConstraints &&value)
 
AutoScalingPolicyWithConstraints (const ScalingConstraints &value)
 
AutoScalingPolicyWithConstraints (ScalingConstraints &&value)
 
const Aws::Vector< ScalingRule > & GetRules () const
 
bool RulesHasBeenSet () const
 
void SetRules (const Aws::Vector< ScalingRule > &value)
 
void SetRules (Aws::Vector< ScalingRule > &&value)
 
AutoScalingPolicyWithRules (const Aws::Vector< ScalingRule > &value)
 
AutoScalingPolicyWithRules (Aws::Vector< ScalingRule > &&value)
 
AutoScalingPolicyAddRules (const ScalingRule &value)
 
AutoScalingPolicyAddRules (ScalingRule &&value)
 

Detailed Description

An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. An 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.

See Also:

AWS API Reference

Definition at line 37 of file AutoScalingPolicy.h.

Constructor & Destructor Documentation

◆ AutoScalingPolicy() [1/2]

Aws::EMR::Model::AutoScalingPolicy::AutoScalingPolicy ( )

◆ AutoScalingPolicy() [2/2]

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

Member Function Documentation

◆ AddRules() [1/2]

AutoScalingPolicy& Aws::EMR::Model::AutoScalingPolicy::AddRules ( const ScalingRule value)
inline

The scale-in and scale-out rules that comprise the automatic scaling policy.

Definition at line 129 of file AutoScalingPolicy.h.

◆ AddRules() [2/2]

AutoScalingPolicy& Aws::EMR::Model::AutoScalingPolicy::AddRules ( ScalingRule &&  value)
inline

The scale-in and scale-out rules that comprise the automatic scaling policy.

Definition at line 135 of file AutoScalingPolicy.h.

◆ ConstraintsHasBeenSet()

bool Aws::EMR::Model::AutoScalingPolicy::ConstraintsHasBeenSet ( ) const
inline

The upper and lower EC2 instance limits for an automatic scaling policy. Automatic scaling activity will not cause an instance group to grow above or below these limits.

Definition at line 58 of file AutoScalingPolicy.h.

◆ GetConstraints()

const ScalingConstraints& Aws::EMR::Model::AutoScalingPolicy::GetConstraints ( ) const
inline

The upper and lower EC2 instance limits for an automatic scaling policy. Automatic scaling activity will not cause an instance group to grow above or below these limits.

Definition at line 51 of file AutoScalingPolicy.h.

◆ GetRules()

const Aws::Vector<ScalingRule>& Aws::EMR::Model::AutoScalingPolicy::GetRules ( ) const
inline

The scale-in and scale-out rules that comprise the automatic scaling policy.

Definition at line 93 of file AutoScalingPolicy.h.

◆ Jsonize()

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

◆ operator=()

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

◆ RulesHasBeenSet()

bool Aws::EMR::Model::AutoScalingPolicy::RulesHasBeenSet ( ) const
inline

The scale-in and scale-out rules that comprise the automatic scaling policy.

Definition at line 99 of file AutoScalingPolicy.h.

◆ SetConstraints() [1/2]

void Aws::EMR::Model::AutoScalingPolicy::SetConstraints ( const ScalingConstraints value)
inline

The upper and lower EC2 instance limits for an automatic scaling policy. Automatic scaling activity will not cause an instance group to grow above or below these limits.

Definition at line 65 of file AutoScalingPolicy.h.

◆ SetConstraints() [2/2]

void Aws::EMR::Model::AutoScalingPolicy::SetConstraints ( ScalingConstraints &&  value)
inline

The upper and lower EC2 instance limits for an automatic scaling policy. Automatic scaling activity will not cause an instance group to grow above or below these limits.

Definition at line 72 of file AutoScalingPolicy.h.

◆ SetRules() [1/2]

void Aws::EMR::Model::AutoScalingPolicy::SetRules ( const Aws::Vector< ScalingRule > &  value)
inline

The scale-in and scale-out rules that comprise the automatic scaling policy.

Definition at line 105 of file AutoScalingPolicy.h.

◆ SetRules() [2/2]

void Aws::EMR::Model::AutoScalingPolicy::SetRules ( Aws::Vector< ScalingRule > &&  value)
inline

The scale-in and scale-out rules that comprise the automatic scaling policy.

Definition at line 111 of file AutoScalingPolicy.h.

◆ WithConstraints() [1/2]

AutoScalingPolicy& Aws::EMR::Model::AutoScalingPolicy::WithConstraints ( const ScalingConstraints value)
inline

The upper and lower EC2 instance limits for an automatic scaling policy. Automatic scaling activity will not cause an instance group to grow above or below these limits.

Definition at line 79 of file AutoScalingPolicy.h.

◆ WithConstraints() [2/2]

AutoScalingPolicy& Aws::EMR::Model::AutoScalingPolicy::WithConstraints ( ScalingConstraints &&  value)
inline

The upper and lower EC2 instance limits for an automatic scaling policy. Automatic scaling activity will not cause an instance group to grow above or below these limits.

Definition at line 86 of file AutoScalingPolicy.h.

◆ WithRules() [1/2]

AutoScalingPolicy& Aws::EMR::Model::AutoScalingPolicy::WithRules ( const Aws::Vector< ScalingRule > &  value)
inline

The scale-in and scale-out rules that comprise the automatic scaling policy.

Definition at line 117 of file AutoScalingPolicy.h.

◆ WithRules() [2/2]

AutoScalingPolicy& Aws::EMR::Model::AutoScalingPolicy::WithRules ( Aws::Vector< ScalingRule > &&  value)
inline

The scale-in and scale-out rules that comprise the automatic scaling policy.

Definition at line 123 of file AutoScalingPolicy.h.


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