7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/batch/model/ServiceJobRetryAction.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
62 template<
typename OnStatusReasonT = Aws::String>
63 void SetOnStatusReason(OnStatusReasonT&& value) { m_onStatusReasonHasBeenSet =
true; m_onStatusReason = std::forward<OnStatusReasonT>(value); }
64 template<
typename OnStatusReasonT = Aws::String>
70 bool m_actionHasBeenSet =
false;
73 bool m_onStatusReasonHasBeenSet =
false;
void SetOnStatusReason(OnStatusReasonT &&value)
AWS_BATCH_API ServiceJobEvaluateOnExit & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BATCH_API ServiceJobEvaluateOnExit()=default
bool ActionHasBeenSet() const
ServiceJobEvaluateOnExit & WithAction(ServiceJobRetryAction value)
ServiceJobRetryAction GetAction() const
bool OnStatusReasonHasBeenSet() const
const Aws::String & GetOnStatusReason() const
void SetAction(ServiceJobRetryAction value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceJobEvaluateOnExit & WithOnStatusReason(OnStatusReasonT &&value)
AWS_BATCH_API ServiceJobEvaluateOnExit(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue