7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/model/TaskStatusType.h>
10#include <aws/glue/model/TaskRunProperties.h>
11#include <aws/core/utils/DateTime.h>
50 template<
typename TransformIdT = Aws::String>
51 void SetTransformId(TransformIdT&& value) { m_transformIdHasBeenSet =
true; m_transformId = std::forward<TransformIdT>(value); }
52 template<
typename TransformIdT = Aws::String>
62 template<
typename TaskRunIdT = Aws::String>
63 void SetTaskRunId(TaskRunIdT&& value) { m_taskRunIdHasBeenSet =
true; m_taskRunId = std::forward<TaskRunIdT>(value); }
64 template<
typename TaskRunIdT = Aws::String>
85 template<
typename LogGroupNameT = Aws::String>
86 void SetLogGroupName(LogGroupNameT&& value) { m_logGroupNameHasBeenSet =
true; m_logGroupName = std::forward<LogGroupNameT>(value); }
87 template<
typename LogGroupNameT = Aws::String>
97 template<
typename PropertiesT = TaskRunProperties>
98 void SetProperties(PropertiesT&& value) { m_propertiesHasBeenSet =
true; m_properties = std::forward<PropertiesT>(value); }
99 template<
typename PropertiesT = TaskRunProperties>
109 template<
typename ErrorStringT = Aws::String>
110 void SetErrorString(ErrorStringT&& value) { m_errorStringHasBeenSet =
true; m_errorString = std::forward<ErrorStringT>(value); }
111 template<
typename ErrorStringT = Aws::String>
121 template<
typename StartedOnT = Aws::Utils::DateTime>
122 void SetStartedOn(StartedOnT&& value) { m_startedOnHasBeenSet =
true; m_startedOn = std::forward<StartedOnT>(value); }
123 template<
typename StartedOnT = Aws::Utils::DateTime>
133 template<
typename LastModifiedOnT = Aws::Utils::DateTime>
134 void SetLastModifiedOn(LastModifiedOnT&& value) { m_lastModifiedOnHasBeenSet =
true; m_lastModifiedOn = std::forward<LastModifiedOnT>(value); }
135 template<
typename LastModifiedOnT = Aws::Utils::DateTime>
145 template<
typename CompletedOnT = Aws::Utils::DateTime>
146 void SetCompletedOn(CompletedOnT&& value) { m_completedOnHasBeenSet =
true; m_completedOn = std::forward<CompletedOnT>(value); }
147 template<
typename CompletedOnT = Aws::Utils::DateTime>
157 inline void SetExecutionTime(
int value) { m_executionTimeHasBeenSet =
true; m_executionTime = value; }
163 bool m_transformIdHasBeenSet =
false;
166 bool m_taskRunIdHasBeenSet =
false;
169 bool m_statusHasBeenSet =
false;
172 bool m_logGroupNameHasBeenSet =
false;
174 TaskRunProperties m_properties;
175 bool m_propertiesHasBeenSet =
false;
178 bool m_errorStringHasBeenSet =
false;
181 bool m_startedOnHasBeenSet =
false;
184 bool m_lastModifiedOnHasBeenSet =
false;
187 bool m_completedOnHasBeenSet =
false;
189 int m_executionTime{0};
190 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