7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/batch/model/JobStateTimeLimitActionsState.h>
10#include <aws/batch/model/JobStateTimeLimitActionsAction.h>
52 inline void SetReason(
const char* value) { m_reasonHasBeenSet =
true; m_reason.assign(value); }
79 inline void SetMaxTimeSeconds(
int value) { m_maxTimeSecondsHasBeenSet =
true; m_maxTimeSeconds = value; }
99 bool m_reasonHasBeenSet =
false;
102 bool m_stateHasBeenSet =
false;
104 int m_maxTimeSeconds;
105 bool m_maxTimeSecondsHasBeenSet =
false;
108 bool m_actionHasBeenSet =
false;
JobStateTimeLimitAction & WithReason(const char *value)
int GetMaxTimeSeconds() const
bool StateHasBeenSet() const
void SetReason(const char *value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAction(JobStateTimeLimitActionsAction &&value)
const JobStateTimeLimitActionsState & GetState() const
bool ReasonHasBeenSet() const
bool MaxTimeSecondsHasBeenSet() const
JobStateTimeLimitAction & WithMaxTimeSeconds(int value)
const JobStateTimeLimitActionsAction & GetAction() const
const Aws::String & GetReason() const
AWS_BATCH_API JobStateTimeLimitAction(Aws::Utils::Json::JsonView jsonValue)
AWS_BATCH_API JobStateTimeLimitAction & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetReason(const Aws::String &value)
void SetState(const JobStateTimeLimitActionsState &value)
JobStateTimeLimitAction & WithAction(JobStateTimeLimitActionsAction &&value)
JobStateTimeLimitAction & WithState(JobStateTimeLimitActionsState &&value)
JobStateTimeLimitAction & WithReason(const Aws::String &value)
void SetAction(const JobStateTimeLimitActionsAction &value)
JobStateTimeLimitAction & WithState(const JobStateTimeLimitActionsState &value)
void SetReason(Aws::String &&value)
AWS_BATCH_API JobStateTimeLimitAction()
void SetState(JobStateTimeLimitActionsState &&value)
bool ActionHasBeenSet() const
void SetMaxTimeSeconds(int value)
JobStateTimeLimitAction & WithReason(Aws::String &&value)
JobStateTimeLimitAction & WithAction(const JobStateTimeLimitActionsAction &value)
JobStateTimeLimitActionsAction
JobStateTimeLimitActionsState
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue