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>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
47 inline void SetTaskId(
const char* value) { m_taskId.assign(value); }
71 inline void SetCreatedBy(
const char* value) { m_createdBy.assign(value); }
165 inline void SetUpdatedBy(
const char* value) { m_updatedBy.assign(value); }
189 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
206 int m_failureRetryCount;
void SetEndedAt(const Aws::Utils::DateTime &value)
GetTaskResult & WithLatestSessionActionId(const char *value)
GetTaskResult & WithRequestId(const Aws::String &value)
GetTaskResult & AddParameters(const Aws::String &key, const TaskParameterValue &value)
void SetCreatedBy(Aws::String &&value)
GetTaskResult & WithEndedAt(Aws::Utils::DateTime &&value)
void SetParameters(Aws::Map< Aws::String, TaskParameterValue > &&value)
const Aws::Map< Aws::String, TaskParameterValue > & GetParameters() const
void SetTaskId(const Aws::String &value)
GetTaskResult & WithParameters(const Aws::Map< Aws::String, TaskParameterValue > &value)
GetTaskResult & WithCreatedBy(const char *value)
GetTaskResult & WithRunStatus(TaskRunStatus &&value)
void SetRequestId(const Aws::String &value)
GetTaskResult & WithTargetRunStatus(const TaskTargetRunStatus &value)
const Aws::String & GetLatestSessionActionId() const
const Aws::Utils::DateTime & GetCreatedAt() const
GetTaskResult & WithRequestId(const char *value)
GetTaskResult & WithRequestId(Aws::String &&value)
GetTaskResult & WithTaskId(const Aws::String &value)
GetTaskResult & WithLatestSessionActionId(const Aws::String &value)
void SetParameters(const Aws::Map< Aws::String, TaskParameterValue > &value)
void SetRunStatus(const TaskRunStatus &value)
AWS_DEADLINE_API GetTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRunStatus(TaskRunStatus &&value)
void SetUpdatedBy(Aws::String &&value)
const Aws::String & GetUpdatedBy() const
void SetUpdatedAt(const Aws::Utils::DateTime &value)
const TaskTargetRunStatus & GetTargetRunStatus() const
const Aws::String & GetRequestId() const
GetTaskResult & AddParameters(Aws::String &&key, TaskParameterValue &&value)
const Aws::String & GetTaskId() const
void SetCreatedBy(const Aws::String &value)
GetTaskResult & WithParameters(Aws::Map< Aws::String, TaskParameterValue > &&value)
void SetCreatedBy(const char *value)
GetTaskResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
GetTaskResult & WithUpdatedBy(const char *value)
void SetUpdatedBy(const Aws::String &value)
void SetTargetRunStatus(TaskTargetRunStatus &&value)
GetTaskResult & WithTaskId(Aws::String &&value)
void SetLatestSessionActionId(const char *value)
GetTaskResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
void SetTaskId(Aws::String &&value)
GetTaskResult & WithCreatedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetCreatedBy() const
void SetTargetRunStatus(const TaskTargetRunStatus &value)
GetTaskResult & WithStartedAt(const Aws::Utils::DateTime &value)
GetTaskResult & WithUpdatedBy(const Aws::String &value)
const TaskRunStatus & GetRunStatus() const
AWS_DEADLINE_API GetTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetTaskResult & WithStartedAt(Aws::Utils::DateTime &&value)
GetTaskResult & AddParameters(Aws::String &&key, const TaskParameterValue &value)
void SetFailureRetryCount(int value)
GetTaskResult & AddParameters(const Aws::String &key, TaskParameterValue &&value)
GetTaskResult & AddParameters(const char *key, const TaskParameterValue &value)
GetTaskResult & WithEndedAt(const Aws::Utils::DateTime &value)
int GetFailureRetryCount() const
GetTaskResult & WithTargetRunStatus(TaskTargetRunStatus &&value)
GetTaskResult & WithUpdatedBy(Aws::String &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
GetTaskResult & WithTaskId(const char *value)
GetTaskResult & WithCreatedBy(const Aws::String &value)
const Aws::Utils::DateTime & GetStartedAt() const
AWS_DEADLINE_API GetTaskResult()
void SetEndedAt(Aws::Utils::DateTime &&value)
GetTaskResult & WithRunStatus(const TaskRunStatus &value)
GetTaskResult & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetRequestId(Aws::String &&value)
const Aws::Utils::DateTime & GetEndedAt() const
GetTaskResult & WithLatestSessionActionId(Aws::String &&value)
void SetStartedAt(Aws::Utils::DateTime &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetLatestSessionActionId(Aws::String &&value)
GetTaskResult & WithFailureRetryCount(int value)
GetTaskResult & WithCreatedBy(Aws::String &&value)
void SetStartedAt(const Aws::Utils::DateTime &value)
void SetRequestId(const char *value)
void SetUpdatedBy(const char *value)
GetTaskResult & AddParameters(const char *key, TaskParameterValue &&value)
void SetLatestSessionActionId(const Aws::String &value)
void SetTaskId(const char *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