7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/deadline/model/TaskRunStatus.h>
10#include <aws/deadline/model/TaskTargetRunStatus.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/deadline/model/TaskParameterValue.h>
53 inline void SetTaskId(
const char* value) { m_taskIdHasBeenSet =
true; m_taskId.assign(value); }
67 inline void SetStepId(
const char* value) { m_stepIdHasBeenSet =
true; m_stepId.assign(value); }
81 inline void SetJobId(
const char* value) { m_jobIdHasBeenSet =
true; m_jobId.assign(value); }
95 inline void SetQueueId(
const char* value) { m_queueIdHasBeenSet =
true; m_queueId.assign(value); }
149 inline void SetFailureRetryCount(
int value) { m_failureRetryCountHasBeenSet =
true; m_failureRetryCount = value; }
179 bool m_taskIdHasBeenSet =
false;
182 bool m_stepIdHasBeenSet =
false;
185 bool m_jobIdHasBeenSet =
false;
188 bool m_queueIdHasBeenSet =
false;
191 bool m_runStatusHasBeenSet =
false;
194 bool m_targetRunStatusHasBeenSet =
false;
197 bool m_parametersHasBeenSet =
false;
199 int m_failureRetryCount;
200 bool m_failureRetryCountHasBeenSet =
false;
203 bool m_startedAtHasBeenSet =
false;
206 bool m_endedAtHasBeenSet =
false;
TaskSearchSummary & WithQueueId(Aws::String &&value)
TaskSearchSummary & WithRunStatus(const TaskRunStatus &value)
TaskSearchSummary & WithTaskId(const char *value)
TaskSearchSummary & WithTaskId(Aws::String &&value)
AWS_DEADLINE_API TaskSearchSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
TaskSearchSummary & WithParameters(Aws::Map< Aws::String, TaskParameterValue > &&value)
void SetRunStatus(const TaskRunStatus &value)
AWS_DEADLINE_API TaskSearchSummary(Aws::Utils::Json::JsonView jsonValue)
void SetTargetRunStatus(const TaskTargetRunStatus &value)
TaskSearchSummary & WithEndedAt(const Aws::Utils::DateTime &value)
void SetQueueId(const Aws::String &value)
void SetTaskId(const Aws::String &value)
bool TaskIdHasBeenSet() const
bool StartedAtHasBeenSet() const
void SetRunStatus(TaskRunStatus &&value)
TaskSearchSummary & AddParameters(const Aws::String &key, TaskParameterValue &&value)
TaskSearchSummary & WithStartedAt(const Aws::Utils::DateTime &value)
int GetFailureRetryCount() const
TaskSearchSummary & AddParameters(const char *key, TaskParameterValue &&value)
void SetTaskId(const char *value)
TaskSearchSummary & WithStepId(Aws::String &&value)
TaskSearchSummary & AddParameters(Aws::String &&key, const TaskParameterValue &value)
TaskSearchSummary & WithJobId(Aws::String &&value)
void SetQueueId(const char *value)
void SetQueueId(Aws::String &&value)
bool StepIdHasBeenSet() const
void SetFailureRetryCount(int value)
const Aws::String & GetQueueId() const
TaskSearchSummary & WithTargetRunStatus(const TaskTargetRunStatus &value)
void SetTargetRunStatus(TaskTargetRunStatus &&value)
TaskSearchSummary & WithQueueId(const Aws::String &value)
const TaskRunStatus & GetRunStatus() const
bool TargetRunStatusHasBeenSet() const
void SetJobId(Aws::String &&value)
const Aws::String & GetStepId() const
TaskSearchSummary & WithStepId(const Aws::String &value)
TaskSearchSummary & WithStartedAt(Aws::Utils::DateTime &&value)
TaskSearchSummary & AddParameters(const Aws::String &key, const TaskParameterValue &value)
const TaskTargetRunStatus & GetTargetRunStatus() const
bool JobIdHasBeenSet() const
const Aws::Utils::DateTime & GetEndedAt() const
const Aws::Map< Aws::String, TaskParameterValue > & GetParameters() const
void SetStepId(const char *value)
TaskSearchSummary & WithTargetRunStatus(TaskTargetRunStatus &&value)
TaskSearchSummary & WithParameters(const Aws::Map< Aws::String, TaskParameterValue > &value)
void SetEndedAt(const Aws::Utils::DateTime &value)
void SetJobId(const Aws::String &value)
const Aws::Utils::DateTime & GetStartedAt() const
TaskSearchSummary & WithQueueId(const char *value)
TaskSearchSummary & AddParameters(Aws::String &&key, TaskParameterValue &&value)
TaskSearchSummary & WithTaskId(const Aws::String &value)
AWS_DEADLINE_API TaskSearchSummary()
void SetStepId(const Aws::String &value)
void SetParameters(const Aws::Map< Aws::String, TaskParameterValue > &value)
void SetStartedAt(Aws::Utils::DateTime &&value)
void SetStepId(Aws::String &&value)
bool RunStatusHasBeenSet() const
TaskSearchSummary & WithJobId(const char *value)
const Aws::String & GetJobId() const
void SetEndedAt(Aws::Utils::DateTime &&value)
bool EndedAtHasBeenSet() const
bool FailureRetryCountHasBeenSet() const
TaskSearchSummary & WithStepId(const char *value)
bool ParametersHasBeenSet() const
TaskSearchSummary & WithRunStatus(TaskRunStatus &&value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTaskId(Aws::String &&value)
TaskSearchSummary & AddParameters(const char *key, const TaskParameterValue &value)
TaskSearchSummary & WithEndedAt(Aws::Utils::DateTime &&value)
void SetParameters(Aws::Map< Aws::String, TaskParameterValue > &&value)
bool QueueIdHasBeenSet() const
void SetJobId(const char *value)
void SetStartedAt(const Aws::Utils::DateTime &value)
TaskSearchSummary & WithFailureRetryCount(int value)
const Aws::String & GetTaskId() const
TaskSearchSummary & WithJobId(const Aws::String &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue