7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/Glue_EXPORTS.h>
10#include <aws/glue/model/TaskRunProperties.h>
11#include <aws/glue/model/TaskStatusType.h>
44 template <
typename TransformIdT = Aws::String>
46 m_transformIdHasBeenSet =
true;
47 m_transformId = std::forward<TransformIdT>(value);
49 template <
typename TransformIdT = Aws::String>
62 template <
typename TaskRunIdT = Aws::String>
64 m_taskRunIdHasBeenSet =
true;
65 m_taskRunId = std::forward<TaskRunIdT>(value);
67 template <
typename TaskRunIdT = Aws::String>
81 m_statusHasBeenSet =
true;
97 template <
typename LogGroupNameT = Aws::String>
99 m_logGroupNameHasBeenSet =
true;
100 m_logGroupName = std::forward<LogGroupNameT>(value);
102 template <
typename LogGroupNameT = Aws::String>
115 template <
typename PropertiesT = TaskRunProperties>
117 m_propertiesHasBeenSet =
true;
118 m_properties = std::forward<PropertiesT>(value);
120 template <
typename PropertiesT = TaskRunProperties>
133 template <
typename ErrorStringT = Aws::String>
135 m_errorStringHasBeenSet =
true;
136 m_errorString = std::forward<ErrorStringT>(value);
138 template <
typename ErrorStringT = Aws::String>
151 template <
typename StartedOnT = Aws::Utils::DateTime>
153 m_startedOnHasBeenSet =
true;
154 m_startedOn = std::forward<StartedOnT>(value);
156 template <
typename StartedOnT = Aws::Utils::DateTime>
169 template <
typename LastModifiedOnT = Aws::Utils::DateTime>
171 m_lastModifiedOnHasBeenSet =
true;
172 m_lastModifiedOn = std::forward<LastModifiedOnT>(value);
174 template <
typename LastModifiedOnT = Aws::Utils::DateTime>
187 template <
typename CompletedOnT = Aws::Utils::DateTime>
189 m_completedOnHasBeenSet =
true;
190 m_completedOn = std::forward<CompletedOnT>(value);
192 template <
typename CompletedOnT = Aws::Utils::DateTime>
206 m_executionTimeHasBeenSet =
true;
207 m_executionTime = value;
223 TaskRunProperties m_properties;
233 int m_executionTime{0};
234 bool m_transformIdHasBeenSet =
false;
235 bool m_taskRunIdHasBeenSet =
false;
236 bool m_statusHasBeenSet =
false;
237 bool m_logGroupNameHasBeenSet =
false;
238 bool m_propertiesHasBeenSet =
false;
239 bool m_errorStringHasBeenSet =
false;
240 bool m_startedOnHasBeenSet =
false;
241 bool m_lastModifiedOnHasBeenSet =
false;
242 bool m_completedOnHasBeenSet =
false;
243 bool m_executionTimeHasBeenSet =
false;
const Aws::String & GetErrorString() const
TaskRun & WithLogGroupName(LogGroupNameT &&value)
bool ExecutionTimeHasBeenSet() const
AWS_GLUE_API TaskRun()=default
bool CompletedOnHasBeenSet() const
TaskRun & WithTransformId(TransformIdT &&value)
void SetStatus(TaskStatusType value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLogGroupName(LogGroupNameT &&value)
bool ErrorStringHasBeenSet() const
bool LogGroupNameHasBeenSet() const
const Aws::String & GetTaskRunId() const
const Aws::Utils::DateTime & GetLastModifiedOn() const
bool LastModifiedOnHasBeenSet() const
void SetTransformId(TransformIdT &&value)
bool StartedOnHasBeenSet() const
const Aws::String & GetTransformId() const
TaskRun & WithStartedOn(StartedOnT &&value)
AWS_GLUE_API TaskRun(Aws::Utils::Json::JsonView jsonValue)
bool TransformIdHasBeenSet() const
bool StatusHasBeenSet() const
void SetStartedOn(StartedOnT &&value)
void SetErrorString(ErrorStringT &&value)
const Aws::Utils::DateTime & GetStartedOn() const
void SetTaskRunId(TaskRunIdT &&value)
bool PropertiesHasBeenSet() const
int GetExecutionTime() const
const Aws::Utils::DateTime & GetCompletedOn() const
TaskRun & WithTaskRunId(TaskRunIdT &&value)
void SetExecutionTime(int value)
void SetLastModifiedOn(LastModifiedOnT &&value)
AWS_GLUE_API TaskRun & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TaskRunIdHasBeenSet() const
TaskRun & WithProperties(PropertiesT &&value)
TaskStatusType GetStatus() const
void SetCompletedOn(CompletedOnT &&value)
TaskRun & WithLastModifiedOn(LastModifiedOnT &&value)
TaskRun & WithErrorString(ErrorStringT &&value)
TaskRun & WithCompletedOn(CompletedOnT &&value)
TaskRun & WithExecutionTime(int value)
const TaskRunProperties & GetProperties() const
TaskRun & WithStatus(TaskStatusType value)
void SetProperties(PropertiesT &&value)
const Aws::String & GetLogGroupName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue