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

#include <ScalingRule.h>

Public Member Functions

 ScalingRule ()
 
 ScalingRule (Aws::Utils::Json::JsonView jsonValue)
 
ScalingRuleoperator= (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)
 
ScalingRuleWithName (const Aws::String &value)
 
ScalingRuleWithName (Aws::String &&value)
 
ScalingRuleWithName (const char *value)
 
const Aws::StringGetDescription () const
 
bool DescriptionHasBeenSet () const
 
void SetDescription (const Aws::String &value)
 
void SetDescription (Aws::String &&value)
 
void SetDescription (const char *value)
 
ScalingRuleWithDescription (const Aws::String &value)
 
ScalingRuleWithDescription (Aws::String &&value)
 
ScalingRuleWithDescription (const char *value)
 
const ScalingActionGetAction () const
 
bool ActionHasBeenSet () const
 
void SetAction (const ScalingAction &value)
 
void SetAction (ScalingAction &&value)
 
ScalingRuleWithAction (const ScalingAction &value)
 
ScalingRuleWithAction (ScalingAction &&value)
 
const ScalingTriggerGetTrigger () const
 
bool TriggerHasBeenSet () const
 
void SetTrigger (const ScalingTrigger &value)
 
void SetTrigger (ScalingTrigger &&value)
 
ScalingRuleWithTrigger (const ScalingTrigger &value)
 
ScalingRuleWithTrigger (ScalingTrigger &&value)
 

Detailed Description

A scale-in or scale-out rule that defines scaling activity, including the CloudWatch metric alarm that triggers activity, how EC2 instances are added or removed, and the periodicity of adjustments. The automatic scaling policy for an instance group can comprise one or more automatic scaling rules.

See Also:

AWS API Reference

Definition at line 37 of file ScalingRule.h.

Constructor & Destructor Documentation

◆ ScalingRule() [1/2]

Aws::EMR::Model::ScalingRule::ScalingRule ( )

◆ ScalingRule() [2/2]

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

Member Function Documentation

◆ ActionHasBeenSet()

bool Aws::EMR::Model::ScalingRule::ActionHasBeenSet ( ) const
inline

The conditions that trigger an automatic scaling activity.

Definition at line 144 of file ScalingRule.h.

◆ DescriptionHasBeenSet()

bool Aws::EMR::Model::ScalingRule::DescriptionHasBeenSet ( ) const
inline

A friendly, more verbose description of the automatic scaling rule.

Definition at line 103 of file ScalingRule.h.

◆ GetAction()

const ScalingAction& Aws::EMR::Model::ScalingRule::GetAction ( ) const
inline

The conditions that trigger an automatic scaling activity.

Definition at line 139 of file ScalingRule.h.

◆ GetDescription()

const Aws::String& Aws::EMR::Model::ScalingRule::GetDescription ( ) const
inline

A friendly, more verbose description of the automatic scaling rule.

Definition at line 98 of file ScalingRule.h.

◆ GetName()

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

The name used to identify an automatic scaling rule. Rule names must be unique within a scaling policy.

Definition at line 50 of file ScalingRule.h.

◆ GetTrigger()

const ScalingTrigger& Aws::EMR::Model::ScalingRule::GetTrigger ( ) const
inline

The CloudWatch alarm definition that determines when automatic scaling activity is triggered.

Definition at line 171 of file ScalingRule.h.

◆ Jsonize()

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

◆ NameHasBeenSet()

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

The name used to identify an automatic scaling rule. Rule names must be unique within a scaling policy.

Definition at line 56 of file ScalingRule.h.

◆ operator=()

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

◆ SetAction() [1/2]

void Aws::EMR::Model::ScalingRule::SetAction ( const ScalingAction value)
inline

The conditions that trigger an automatic scaling activity.

Definition at line 149 of file ScalingRule.h.

◆ SetAction() [2/2]

void Aws::EMR::Model::ScalingRule::SetAction ( ScalingAction &&  value)
inline

The conditions that trigger an automatic scaling activity.

Definition at line 154 of file ScalingRule.h.

◆ SetDescription() [1/3]

void Aws::EMR::Model::ScalingRule::SetDescription ( const Aws::String value)
inline

A friendly, more verbose description of the automatic scaling rule.

Definition at line 108 of file ScalingRule.h.

◆ SetDescription() [2/3]

void Aws::EMR::Model::ScalingRule::SetDescription ( Aws::String &&  value)
inline

A friendly, more verbose description of the automatic scaling rule.

Definition at line 113 of file ScalingRule.h.

◆ SetDescription() [3/3]

void Aws::EMR::Model::ScalingRule::SetDescription ( const char *  value)
inline

A friendly, more verbose description of the automatic scaling rule.

Definition at line 118 of file ScalingRule.h.

◆ SetName() [1/3]

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

The name used to identify an automatic scaling rule. Rule names must be unique within a scaling policy.

Definition at line 62 of file ScalingRule.h.

◆ SetName() [2/3]

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

The name used to identify an automatic scaling rule. Rule names must be unique within a scaling policy.

Definition at line 68 of file ScalingRule.h.

◆ SetName() [3/3]

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

The name used to identify an automatic scaling rule. Rule names must be unique within a scaling policy.

Definition at line 74 of file ScalingRule.h.

◆ SetTrigger() [1/2]

void Aws::EMR::Model::ScalingRule::SetTrigger ( const ScalingTrigger value)
inline

The CloudWatch alarm definition that determines when automatic scaling activity is triggered.

Definition at line 183 of file ScalingRule.h.

◆ SetTrigger() [2/2]

void Aws::EMR::Model::ScalingRule::SetTrigger ( ScalingTrigger &&  value)
inline

The CloudWatch alarm definition that determines when automatic scaling activity is triggered.

Definition at line 189 of file ScalingRule.h.

◆ TriggerHasBeenSet()

bool Aws::EMR::Model::ScalingRule::TriggerHasBeenSet ( ) const
inline

The CloudWatch alarm definition that determines when automatic scaling activity is triggered.

Definition at line 177 of file ScalingRule.h.

◆ WithAction() [1/2]

ScalingRule& Aws::EMR::Model::ScalingRule::WithAction ( const ScalingAction value)
inline

The conditions that trigger an automatic scaling activity.

Definition at line 159 of file ScalingRule.h.

◆ WithAction() [2/2]

ScalingRule& Aws::EMR::Model::ScalingRule::WithAction ( ScalingAction &&  value)
inline

The conditions that trigger an automatic scaling activity.

Definition at line 164 of file ScalingRule.h.

◆ WithDescription() [1/3]

ScalingRule& Aws::EMR::Model::ScalingRule::WithDescription ( const Aws::String value)
inline

A friendly, more verbose description of the automatic scaling rule.

Definition at line 123 of file ScalingRule.h.

◆ WithDescription() [2/3]

ScalingRule& Aws::EMR::Model::ScalingRule::WithDescription ( Aws::String &&  value)
inline

A friendly, more verbose description of the automatic scaling rule.

Definition at line 128 of file ScalingRule.h.

◆ WithDescription() [3/3]

ScalingRule& Aws::EMR::Model::ScalingRule::WithDescription ( const char *  value)
inline

A friendly, more verbose description of the automatic scaling rule.

Definition at line 133 of file ScalingRule.h.

◆ WithName() [1/3]

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

The name used to identify an automatic scaling rule. Rule names must be unique within a scaling policy.

Definition at line 80 of file ScalingRule.h.

◆ WithName() [2/3]

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

The name used to identify an automatic scaling rule. Rule names must be unique within a scaling policy.

Definition at line 86 of file ScalingRule.h.

◆ WithName() [3/3]

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

The name used to identify an automatic scaling rule. Rule names must be unique within a scaling policy.

Definition at line 92 of file ScalingRule.h.

◆ WithTrigger() [1/2]

ScalingRule& Aws::EMR::Model::ScalingRule::WithTrigger ( const ScalingTrigger value)
inline

The CloudWatch alarm definition that determines when automatic scaling activity is triggered.

Definition at line 195 of file ScalingRule.h.

◆ WithTrigger() [2/2]

ScalingRule& Aws::EMR::Model::ScalingRule::WithTrigger ( ScalingTrigger &&  value)
inline

The CloudWatch alarm definition that determines when automatic scaling activity is triggered.

Definition at line 201 of file ScalingRule.h.


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