7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/deadline/model/TaskRunStatus.h>
11#include <aws/deadline/model/TaskTargetRunStatus.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/deadline/model/TaskParameterValue.h>
53 inline void SetTaskId(
const char* value) { m_taskIdHasBeenSet =
true; m_taskId.assign(value); }
79 inline void SetCreatedBy(
const char* value) { m_createdByHasBeenSet =
true; m_createdBy.assign(value); }
115 inline void SetFailureRetryCount(
int value) { m_failureRetryCountHasBeenSet =
true; m_failureRetryCount = value; }
181 inline void SetUpdatedBy(
const char* value) { m_updatedByHasBeenSet =
true; m_updatedBy.assign(value); }
195 inline void SetLatestSessionActionId(
const char* value) { m_latestSessionActionIdHasBeenSet =
true; m_latestSessionActionId.assign(value); }
203 bool m_taskIdHasBeenSet =
false;
206 bool m_createdAtHasBeenSet =
false;
209 bool m_createdByHasBeenSet =
false;
212 bool m_runStatusHasBeenSet =
false;
215 bool m_targetRunStatusHasBeenSet =
false;
217 int m_failureRetryCount;
218 bool m_failureRetryCountHasBeenSet =
false;
221 bool m_parametersHasBeenSet =
false;
224 bool m_startedAtHasBeenSet =
false;
227 bool m_endedAtHasBeenSet =
false;
230 bool m_updatedAtHasBeenSet =
false;
233 bool m_updatedByHasBeenSet =
false;
236 bool m_latestSessionActionIdHasBeenSet =
false;
const Aws::String & GetCreatedBy() const
bool UpdatedAtHasBeenSet() const
void SetParameters(const Aws::Map< Aws::String, TaskParameterValue > &value)
TaskSummary & WithEndedAt(Aws::Utils::DateTime &&value)
void SetRunStatus(TaskRunStatus &&value)
void SetLatestSessionActionId(const char *value)
int GetFailureRetryCount() const
TaskSummary & AddParameters(Aws::String &&key, const TaskParameterValue &value)
void SetUpdatedBy(const Aws::String &value)
TaskSummary & WithTargetRunStatus(const TaskTargetRunStatus &value)
void SetParameters(Aws::Map< Aws::String, TaskParameterValue > &&value)
void SetLatestSessionActionId(Aws::String &&value)
TaskSummary & WithLatestSessionActionId(Aws::String &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
TaskSummary & WithUpdatedAt(const Aws::Utils::DateTime &value)
void SetUpdatedBy(const char *value)
void SetStartedAt(Aws::Utils::DateTime &&value)
bool TargetRunStatusHasBeenSet() const
TaskSummary & WithUpdatedBy(Aws::String &&value)
AWS_DEADLINE_API TaskSummary(Aws::Utils::Json::JsonView jsonValue)
TaskSummary & WithRunStatus(TaskRunStatus &&value)
void SetLatestSessionActionId(const Aws::String &value)
TaskSummary & WithFailureRetryCount(int value)
TaskSummary & AddParameters(Aws::String &&key, TaskParameterValue &&value)
bool LatestSessionActionIdHasBeenSet() const
AWS_DEADLINE_API TaskSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUpdatedBy(Aws::String &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetFailureRetryCount(int value)
const Aws::Map< Aws::String, TaskParameterValue > & GetParameters() const
TaskSummary & WithLatestSessionActionId(const Aws::String &value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
void SetTaskId(Aws::String &&value)
void SetEndedAt(const Aws::Utils::DateTime &value)
TaskSummary & WithCreatedBy(const Aws::String &value)
AWS_DEADLINE_API TaskSummary()
void SetTargetRunStatus(const TaskTargetRunStatus &value)
TaskSummary & WithParameters(Aws::Map< Aws::String, TaskParameterValue > &&value)
bool UpdatedByHasBeenSet() const
TaskSummary & WithUpdatedAt(Aws::Utils::DateTime &&value)
TaskSummary & WithParameters(const Aws::Map< Aws::String, TaskParameterValue > &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetStartedAt() const
void SetCreatedBy(const Aws::String &value)
TaskSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetCreatedBy(Aws::String &&value)
TaskSummary & AddParameters(const Aws::String &key, const TaskParameterValue &value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEndedAt(Aws::Utils::DateTime &&value)
TaskSummary & AddParameters(const char *key, const TaskParameterValue &value)
TaskSummary & AddParameters(const Aws::String &key, TaskParameterValue &&value)
void SetCreatedBy(const char *value)
TaskSummary & WithLatestSessionActionId(const char *value)
TaskSummary & WithUpdatedBy(const char *value)
TaskSummary & WithEndedAt(const Aws::Utils::DateTime &value)
bool FailureRetryCountHasBeenSet() const
void SetTaskId(const char *value)
bool StartedAtHasBeenSet() const
void SetRunStatus(const TaskRunStatus &value)
bool ParametersHasBeenSet() const
const Aws::String & GetLatestSessionActionId() const
TaskSummary & AddParameters(const char *key, TaskParameterValue &&value)
TaskSummary & WithStartedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreatedAt() const
const TaskRunStatus & GetRunStatus() const
TaskSummary & WithTaskId(const Aws::String &value)
const Aws::Utils::DateTime & GetEndedAt() const
const Aws::Utils::DateTime & GetUpdatedAt() const
bool RunStatusHasBeenSet() const
TaskSummary & WithTaskId(Aws::String &&value)
bool TaskIdHasBeenSet() const
bool CreatedAtHasBeenSet() const
void SetStartedAt(const Aws::Utils::DateTime &value)
TaskSummary & WithUpdatedBy(const Aws::String &value)
void SetTaskId(const Aws::String &value)
TaskSummary & WithCreatedBy(Aws::String &&value)
bool CreatedByHasBeenSet() const
TaskSummary & WithCreatedBy(const char *value)
TaskSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
const TaskTargetRunStatus & GetTargetRunStatus() const
const Aws::String & GetTaskId() const
const Aws::String & GetUpdatedBy() const
TaskSummary & WithTaskId(const char *value)
TaskSummary & WithTargetRunStatus(TaskTargetRunStatus &&value)
TaskSummary & WithStartedAt(Aws::Utils::DateTime &&value)
TaskSummary & WithRunStatus(const TaskRunStatus &value)
bool EndedAtHasBeenSet() const
void SetTargetRunStatus(TaskTargetRunStatus &&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