7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/batch/model/JobStateTimeLimitActionsAction.h>
9#include <aws/batch/model/JobStateTimeLimitActionsState.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
44 template <
typename ReasonT = Aws::String>
46 m_reasonHasBeenSet =
true;
47 m_reason = std::forward<ReasonT>(value);
49 template <
typename ReasonT = Aws::String>
64 m_stateHasBeenSet =
true;
82 m_maxTimeSecondsHasBeenSet =
true;
83 m_maxTimeSeconds = value;
100 m_actionHasBeenSet =
true;
113 int m_maxTimeSeconds{0};
116 bool m_reasonHasBeenSet =
false;
117 bool m_stateHasBeenSet =
false;
118 bool m_maxTimeSecondsHasBeenSet =
false;
119 bool m_actionHasBeenSet =
false;
JobStateTimeLimitAction & WithReason(ReasonT &&value)
void SetReason(ReasonT &&value)
int GetMaxTimeSeconds() const
bool StateHasBeenSet() const
JobStateTimeLimitActionsState GetState() const
JobStateTimeLimitAction & WithState(JobStateTimeLimitActionsState value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAction(JobStateTimeLimitActionsAction value)
bool ReasonHasBeenSet() const
bool MaxTimeSecondsHasBeenSet() const
JobStateTimeLimitAction & WithAction(JobStateTimeLimitActionsAction value)
JobStateTimeLimitAction & WithMaxTimeSeconds(int value)
const Aws::String & GetReason() const
AWS_BATCH_API JobStateTimeLimitAction()=default
AWS_BATCH_API JobStateTimeLimitAction(Aws::Utils::Json::JsonView jsonValue)
AWS_BATCH_API JobStateTimeLimitAction & operator=(Aws::Utils::Json::JsonView jsonValue)
JobStateTimeLimitActionsAction GetAction() const
void SetState(JobStateTimeLimitActionsState value)
bool ActionHasBeenSet() const
void SetMaxTimeSeconds(int value)
JobStateTimeLimitActionsAction
JobStateTimeLimitActionsState
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue