7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/batch/model/RetryAction.h>
56 inline void SetOnStatusReason(
const char* value) { m_onStatusReasonHasBeenSet =
true; m_onStatusReason.assign(value); }
74 inline void SetOnReason(
const char* value) { m_onReasonHasBeenSet =
true; m_onReason.assign(value); }
92 inline void SetOnExitCode(
const char* value) { m_onExitCodeHasBeenSet =
true; m_onExitCode.assign(value); }
114 bool m_onStatusReasonHasBeenSet =
false;
117 bool m_onReasonHasBeenSet =
false;
120 bool m_onExitCodeHasBeenSet =
false;
123 bool m_actionHasBeenSet =
false;
EvaluateOnExit & WithOnExitCode(const Aws::String &value)
EvaluateOnExit & WithOnStatusReason(const Aws::String &value)
EvaluateOnExit & WithOnExitCode(Aws::String &&value)
EvaluateOnExit & WithOnReason(Aws::String &&value)
void SetOnReason(Aws::String &&value)
bool OnExitCodeHasBeenSet() const
const RetryAction & GetAction() const
EvaluateOnExit & WithAction(RetryAction &&value)
void SetOnStatusReason(Aws::String &&value)
EvaluateOnExit & WithAction(const RetryAction &value)
void SetOnStatusReason(const Aws::String &value)
bool OnStatusReasonHasBeenSet() const
void SetOnExitCode(const char *value)
AWS_BATCH_API EvaluateOnExit(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetOnStatusReason() const
EvaluateOnExit & WithOnStatusReason(const char *value)
void SetAction(const RetryAction &value)
void SetOnReason(const Aws::String &value)
bool ActionHasBeenSet() const
void SetOnReason(const char *value)
EvaluateOnExit & WithOnStatusReason(Aws::String &&value)
const Aws::String & GetOnExitCode() const
EvaluateOnExit & WithOnExitCode(const char *value)
bool OnReasonHasBeenSet() const
const Aws::String & GetOnReason() const
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAction(RetryAction &&value)
void SetOnExitCode(const Aws::String &value)
void SetOnStatusReason(const char *value)
EvaluateOnExit & WithOnReason(const char *value)
AWS_BATCH_API EvaluateOnExit()
AWS_BATCH_API EvaluateOnExit & operator=(Aws::Utils::Json::JsonView jsonValue)
EvaluateOnExit & WithOnReason(const Aws::String &value)
void SetOnExitCode(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue