7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/batch/model/ServiceJobEvaluateOnExit.h>
52 inline void SetAttempts(
int value) { m_attemptsHasBeenSet =
true; m_attempts = value; }
63 template<
typename EvaluateOnExitT = Aws::Vector<ServiceJobEvaluateOnExit>>
64 void SetEvaluateOnExit(EvaluateOnExitT&& value) { m_evaluateOnExitHasBeenSet =
true; m_evaluateOnExit = std::forward<EvaluateOnExitT>(value); }
65 template<
typename EvaluateOnExitT = Aws::Vector<ServiceJobEvaluateOnExit>>
67 template<
typename EvaluateOnExitT = ServiceJobEvaluateOnExit>
73 bool m_attemptsHasBeenSet =
false;
76 bool m_evaluateOnExitHasBeenSet =
false;
const Aws::Vector< ServiceJobEvaluateOnExit > & GetEvaluateOnExit() const
bool AttemptsHasBeenSet() const
void SetEvaluateOnExit(EvaluateOnExitT &&value)
AWS_BATCH_API ServiceJobRetryStrategy & operator=(Aws::Utils::Json::JsonView jsonValue)
bool EvaluateOnExitHasBeenSet() const
AWS_BATCH_API ServiceJobRetryStrategy(Aws::Utils::Json::JsonView jsonValue)
ServiceJobRetryStrategy & WithEvaluateOnExit(EvaluateOnExitT &&value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceJobRetryStrategy & AddEvaluateOnExit(EvaluateOnExitT &&value)
ServiceJobRetryStrategy & WithAttempts(int value)
AWS_BATCH_API ServiceJobRetryStrategy()=default
void SetAttempts(int value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue