AWS SDK for C++  1.8.76
AWS SDK for C++
Public Member Functions | List of all members
Aws::Batch::Model::RetryStrategy Class Reference

#include <RetryStrategy.h>

Public Member Functions

 RetryStrategy ()
 
 RetryStrategy (Aws::Utils::Json::JsonView jsonValue)
 
RetryStrategyoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
int GetAttempts () const
 
bool AttemptsHasBeenSet () const
 
void SetAttempts (int value)
 
RetryStrategyWithAttempts (int value)
 
const Aws::Vector< EvaluateOnExit > & GetEvaluateOnExit () const
 
bool EvaluateOnExitHasBeenSet () const
 
void SetEvaluateOnExit (const Aws::Vector< EvaluateOnExit > &value)
 
void SetEvaluateOnExit (Aws::Vector< EvaluateOnExit > &&value)
 
RetryStrategyWithEvaluateOnExit (const Aws::Vector< EvaluateOnExit > &value)
 
RetryStrategyWithEvaluateOnExit (Aws::Vector< EvaluateOnExit > &&value)
 
RetryStrategyAddEvaluateOnExit (const EvaluateOnExit &value)
 
RetryStrategyAddEvaluateOnExit (EvaluateOnExit &&value)
 

Detailed Description

The retry strategy associated with a job.

See Also:

AWS API Reference

Definition at line 32 of file RetryStrategy.h.

Constructor & Destructor Documentation

◆ RetryStrategy() [1/2]

Aws::Batch::Model::RetryStrategy::RetryStrategy ( )

◆ RetryStrategy() [2/2]

Aws::Batch::Model::RetryStrategy::RetryStrategy ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AddEvaluateOnExit() [1/2]

RetryStrategy& Aws::Batch::Model::RetryStrategy::AddEvaluateOnExit ( const EvaluateOnExit value)
inline

Array of up to 5 objects that specify conditions under which the job should be retried or failed. If this parameter is specified, then the attempts parameter must also be specified.

Definition at line 121 of file RetryStrategy.h.

◆ AddEvaluateOnExit() [2/2]

RetryStrategy& Aws::Batch::Model::RetryStrategy::AddEvaluateOnExit ( EvaluateOnExit &&  value)
inline

Array of up to 5 objects that specify conditions under which the job should be retried or failed. If this parameter is specified, then the attempts parameter must also be specified.

Definition at line 128 of file RetryStrategy.h.

◆ AttemptsHasBeenSet()

bool Aws::Batch::Model::RetryStrategy::AttemptsHasBeenSet ( ) const
inline

The number of times to move a job to the RUNNABLE status. You may specify between 1 and 10 attempts. If the value of attempts is greater than one, the job is retried on failure the same number of attempts as the value.

Definition at line 55 of file RetryStrategy.h.

◆ EvaluateOnExitHasBeenSet()

bool Aws::Batch::Model::RetryStrategy::EvaluateOnExitHasBeenSet ( ) const
inline

Array of up to 5 objects that specify conditions under which the job should be retried or failed. If this parameter is specified, then the attempts parameter must also be specified.

Definition at line 86 of file RetryStrategy.h.

◆ GetAttempts()

int Aws::Batch::Model::RetryStrategy::GetAttempts ( ) const
inline

The number of times to move a job to the RUNNABLE status. You may specify between 1 and 10 attempts. If the value of attempts is greater than one, the job is retried on failure the same number of attempts as the value.

Definition at line 47 of file RetryStrategy.h.

◆ GetEvaluateOnExit()

const Aws::Vector<EvaluateOnExit>& Aws::Batch::Model::RetryStrategy::GetEvaluateOnExit ( ) const
inline

Array of up to 5 objects that specify conditions under which the job should be retried or failed. If this parameter is specified, then the attempts parameter must also be specified.

Definition at line 79 of file RetryStrategy.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::Batch::Model::RetryStrategy::Jsonize ( ) const

◆ operator=()

RetryStrategy& Aws::Batch::Model::RetryStrategy::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetAttempts()

void Aws::Batch::Model::RetryStrategy::SetAttempts ( int  value)
inline

The number of times to move a job to the RUNNABLE status. You may specify between 1 and 10 attempts. If the value of attempts is greater than one, the job is retried on failure the same number of attempts as the value.

Definition at line 63 of file RetryStrategy.h.

◆ SetEvaluateOnExit() [1/2]

void Aws::Batch::Model::RetryStrategy::SetEvaluateOnExit ( const Aws::Vector< EvaluateOnExit > &  value)
inline

Array of up to 5 objects that specify conditions under which the job should be retried or failed. If this parameter is specified, then the attempts parameter must also be specified.

Definition at line 93 of file RetryStrategy.h.

◆ SetEvaluateOnExit() [2/2]

void Aws::Batch::Model::RetryStrategy::SetEvaluateOnExit ( Aws::Vector< EvaluateOnExit > &&  value)
inline

Array of up to 5 objects that specify conditions under which the job should be retried or failed. If this parameter is specified, then the attempts parameter must also be specified.

Definition at line 100 of file RetryStrategy.h.

◆ WithAttempts()

RetryStrategy& Aws::Batch::Model::RetryStrategy::WithAttempts ( int  value)
inline

The number of times to move a job to the RUNNABLE status. You may specify between 1 and 10 attempts. If the value of attempts is greater than one, the job is retried on failure the same number of attempts as the value.

Definition at line 71 of file RetryStrategy.h.

◆ WithEvaluateOnExit() [1/2]

RetryStrategy& Aws::Batch::Model::RetryStrategy::WithEvaluateOnExit ( const Aws::Vector< EvaluateOnExit > &  value)
inline

Array of up to 5 objects that specify conditions under which the job should be retried or failed. If this parameter is specified, then the attempts parameter must also be specified.

Definition at line 107 of file RetryStrategy.h.

◆ WithEvaluateOnExit() [2/2]

RetryStrategy& Aws::Batch::Model::RetryStrategy::WithEvaluateOnExit ( Aws::Vector< EvaluateOnExit > &&  value)
inline

Array of up to 5 objects that specify conditions under which the job should be retried or failed. If this parameter is specified, then the attempts parameter must also be specified.

Definition at line 114 of file RetryStrategy.h.


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