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

#include <InstanceResizePolicy.h>

Public Member Functions

 InstanceResizePolicy ()
 
 InstanceResizePolicy (Aws::Utils::Json::JsonView jsonValue)
 
InstanceResizePolicyoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::Vector< Aws::String > & GetInstancesToTerminate () const
 
bool InstancesToTerminateHasBeenSet () const
 
void SetInstancesToTerminate (const Aws::Vector< Aws::String > &value)
 
void SetInstancesToTerminate (Aws::Vector< Aws::String > &&value)
 
InstanceResizePolicyWithInstancesToTerminate (const Aws::Vector< Aws::String > &value)
 
InstanceResizePolicyWithInstancesToTerminate (Aws::Vector< Aws::String > &&value)
 
InstanceResizePolicyAddInstancesToTerminate (const Aws::String &value)
 
InstanceResizePolicyAddInstancesToTerminate (Aws::String &&value)
 
InstanceResizePolicyAddInstancesToTerminate (const char *value)
 
const Aws::Vector< Aws::String > & GetInstancesToProtect () const
 
bool InstancesToProtectHasBeenSet () const
 
void SetInstancesToProtect (const Aws::Vector< Aws::String > &value)
 
void SetInstancesToProtect (Aws::Vector< Aws::String > &&value)
 
InstanceResizePolicyWithInstancesToProtect (const Aws::Vector< Aws::String > &value)
 
InstanceResizePolicyWithInstancesToProtect (Aws::Vector< Aws::String > &&value)
 
InstanceResizePolicyAddInstancesToProtect (const Aws::String &value)
 
InstanceResizePolicyAddInstancesToProtect (Aws::String &&value)
 
InstanceResizePolicyAddInstancesToProtect (const char *value)
 
int GetInstanceTerminationTimeout () const
 
bool InstanceTerminationTimeoutHasBeenSet () const
 
void SetInstanceTerminationTimeout (int value)
 
InstanceResizePolicyWithInstanceTerminationTimeout (int value)
 

Detailed Description

Custom policy for requesting termination protection or termination of specific instances when shrinking an instance group.

See Also:

AWS API Reference

Definition at line 34 of file InstanceResizePolicy.h.

Constructor & Destructor Documentation

◆ InstanceResizePolicy() [1/2]

Aws::EMR::Model::InstanceResizePolicy::InstanceResizePolicy ( )

◆ InstanceResizePolicy() [2/2]

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

Member Function Documentation

◆ AddInstancesToProtect() [1/3]

InstanceResizePolicy& Aws::EMR::Model::InstanceResizePolicy::AddInstancesToProtect ( const Aws::String value)
inline

Specific list of instances to be protected when shrinking an instance group.

Definition at line 138 of file InstanceResizePolicy.h.

◆ AddInstancesToProtect() [2/3]

InstanceResizePolicy& Aws::EMR::Model::InstanceResizePolicy::AddInstancesToProtect ( Aws::String &&  value)
inline

Specific list of instances to be protected when shrinking an instance group.

Definition at line 144 of file InstanceResizePolicy.h.

◆ AddInstancesToProtect() [3/3]

InstanceResizePolicy& Aws::EMR::Model::InstanceResizePolicy::AddInstancesToProtect ( const char *  value)
inline

Specific list of instances to be protected when shrinking an instance group.

Definition at line 150 of file InstanceResizePolicy.h.

◆ AddInstancesToTerminate() [1/3]

InstanceResizePolicy& Aws::EMR::Model::InstanceResizePolicy::AddInstancesToTerminate ( const Aws::String value)
inline

Specific list of instances to be terminated when shrinking an instance group.

Definition at line 83 of file InstanceResizePolicy.h.

◆ AddInstancesToTerminate() [2/3]

InstanceResizePolicy& Aws::EMR::Model::InstanceResizePolicy::AddInstancesToTerminate ( Aws::String &&  value)
inline

Specific list of instances to be terminated when shrinking an instance group.

Definition at line 89 of file InstanceResizePolicy.h.

◆ AddInstancesToTerminate() [3/3]

InstanceResizePolicy& Aws::EMR::Model::InstanceResizePolicy::AddInstancesToTerminate ( const char *  value)
inline

Specific list of instances to be terminated when shrinking an instance group.

Definition at line 95 of file InstanceResizePolicy.h.

◆ GetInstancesToProtect()

const Aws::Vector<Aws::String>& Aws::EMR::Model::InstanceResizePolicy::GetInstancesToProtect ( ) const
inline

Specific list of instances to be protected when shrinking an instance group.

Definition at line 102 of file InstanceResizePolicy.h.

◆ GetInstancesToTerminate()

const Aws::Vector<Aws::String>& Aws::EMR::Model::InstanceResizePolicy::GetInstancesToTerminate ( ) const
inline

Specific list of instances to be terminated when shrinking an instance group.

Definition at line 47 of file InstanceResizePolicy.h.

◆ GetInstanceTerminationTimeout()

int Aws::EMR::Model::InstanceResizePolicy::GetInstanceTerminationTimeout ( ) const
inline

Decommissioning timeout override for the specific list of instances to be terminated.

Definition at line 157 of file InstanceResizePolicy.h.

◆ InstancesToProtectHasBeenSet()

bool Aws::EMR::Model::InstanceResizePolicy::InstancesToProtectHasBeenSet ( ) const
inline

Specific list of instances to be protected when shrinking an instance group.

Definition at line 108 of file InstanceResizePolicy.h.

◆ InstancesToTerminateHasBeenSet()

bool Aws::EMR::Model::InstanceResizePolicy::InstancesToTerminateHasBeenSet ( ) const
inline

Specific list of instances to be terminated when shrinking an instance group.

Definition at line 53 of file InstanceResizePolicy.h.

◆ InstanceTerminationTimeoutHasBeenSet()

bool Aws::EMR::Model::InstanceResizePolicy::InstanceTerminationTimeoutHasBeenSet ( ) const
inline

Decommissioning timeout override for the specific list of instances to be terminated.

Definition at line 163 of file InstanceResizePolicy.h.

◆ Jsonize()

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

◆ operator=()

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

◆ SetInstancesToProtect() [1/2]

void Aws::EMR::Model::InstanceResizePolicy::SetInstancesToProtect ( const Aws::Vector< Aws::String > &  value)
inline

Specific list of instances to be protected when shrinking an instance group.

Definition at line 114 of file InstanceResizePolicy.h.

◆ SetInstancesToProtect() [2/2]

void Aws::EMR::Model::InstanceResizePolicy::SetInstancesToProtect ( Aws::Vector< Aws::String > &&  value)
inline

Specific list of instances to be protected when shrinking an instance group.

Definition at line 120 of file InstanceResizePolicy.h.

◆ SetInstancesToTerminate() [1/2]

void Aws::EMR::Model::InstanceResizePolicy::SetInstancesToTerminate ( const Aws::Vector< Aws::String > &  value)
inline

Specific list of instances to be terminated when shrinking an instance group.

Definition at line 59 of file InstanceResizePolicy.h.

◆ SetInstancesToTerminate() [2/2]

void Aws::EMR::Model::InstanceResizePolicy::SetInstancesToTerminate ( Aws::Vector< Aws::String > &&  value)
inline

Specific list of instances to be terminated when shrinking an instance group.

Definition at line 65 of file InstanceResizePolicy.h.

◆ SetInstanceTerminationTimeout()

void Aws::EMR::Model::InstanceResizePolicy::SetInstanceTerminationTimeout ( int  value)
inline

Decommissioning timeout override for the specific list of instances to be terminated.

Definition at line 169 of file InstanceResizePolicy.h.

◆ WithInstancesToProtect() [1/2]

InstanceResizePolicy& Aws::EMR::Model::InstanceResizePolicy::WithInstancesToProtect ( const Aws::Vector< Aws::String > &  value)
inline

Specific list of instances to be protected when shrinking an instance group.

Definition at line 126 of file InstanceResizePolicy.h.

◆ WithInstancesToProtect() [2/2]

InstanceResizePolicy& Aws::EMR::Model::InstanceResizePolicy::WithInstancesToProtect ( Aws::Vector< Aws::String > &&  value)
inline

Specific list of instances to be protected when shrinking an instance group.

Definition at line 132 of file InstanceResizePolicy.h.

◆ WithInstancesToTerminate() [1/2]

InstanceResizePolicy& Aws::EMR::Model::InstanceResizePolicy::WithInstancesToTerminate ( const Aws::Vector< Aws::String > &  value)
inline

Specific list of instances to be terminated when shrinking an instance group.

Definition at line 71 of file InstanceResizePolicy.h.

◆ WithInstancesToTerminate() [2/2]

InstanceResizePolicy& Aws::EMR::Model::InstanceResizePolicy::WithInstancesToTerminate ( Aws::Vector< Aws::String > &&  value)
inline

Specific list of instances to be terminated when shrinking an instance group.

Definition at line 77 of file InstanceResizePolicy.h.

◆ WithInstanceTerminationTimeout()

InstanceResizePolicy& Aws::EMR::Model::InstanceResizePolicy::WithInstanceTerminationTimeout ( int  value)
inline

Decommissioning timeout override for the specific list of instances to be terminated.

Definition at line 175 of file InstanceResizePolicy.h.


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