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>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
43 template<
typename TransformIdT = Aws::String>
44 void SetTransformId(TransformIdT&& value) { m_transformIdHasBeenSet =
true; m_transformId = std::forward<TransformIdT>(value); }
45 template<
typename TransformIdT = Aws::String>
54 template<
typename TaskRunIdT = Aws::String>
55 void SetTaskRunId(TaskRunIdT&& value) { m_taskRunIdHasBeenSet =
true; m_taskRunId = std::forward<TaskRunIdT>(value); }
56 template<
typename TaskRunIdT = Aws::String>
74 template<
typename LogGroupNameT = Aws::String>
75 void SetLogGroupName(LogGroupNameT&& value) { m_logGroupNameHasBeenSet =
true; m_logGroupName = std::forward<LogGroupNameT>(value); }
76 template<
typename LogGroupNameT = Aws::String>
85 template<
typename PropertiesT = TaskRunProperties>
86 void SetProperties(PropertiesT&& value) { m_propertiesHasBeenSet =
true; m_properties = std::forward<PropertiesT>(value); }
87 template<
typename PropertiesT = TaskRunProperties>
96 template<
typename ErrorStringT = Aws::String>
97 void SetErrorString(ErrorStringT&& value) { m_errorStringHasBeenSet =
true; m_errorString = std::forward<ErrorStringT>(value); }
98 template<
typename ErrorStringT = Aws::String>
107 template<
typename StartedOnT = Aws::Utils::DateTime>
108 void SetStartedOn(StartedOnT&& value) { m_startedOnHasBeenSet =
true; m_startedOn = std::forward<StartedOnT>(value); }
109 template<
typename StartedOnT = Aws::Utils::DateTime>
118 template<
typename LastModifiedOnT = Aws::Utils::DateTime>
119 void SetLastModifiedOn(LastModifiedOnT&& value) { m_lastModifiedOnHasBeenSet =
true; m_lastModifiedOn = std::forward<LastModifiedOnT>(value); }
120 template<
typename LastModifiedOnT = Aws::Utils::DateTime>
129 template<
typename CompletedOnT = Aws::Utils::DateTime>
130 void SetCompletedOn(CompletedOnT&& value) { m_completedOnHasBeenSet =
true; m_completedOn = std::forward<CompletedOnT>(value); }
131 template<
typename CompletedOnT = Aws::Utils::DateTime>
140 inline void SetExecutionTime(
int value) { m_executionTimeHasBeenSet =
true; m_executionTime = value; }
147 template<
typename RequestIdT = Aws::String>
148 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
149 template<
typename RequestIdT = Aws::String>
155 bool m_transformIdHasBeenSet =
false;
158 bool m_taskRunIdHasBeenSet =
false;
161 bool m_statusHasBeenSet =
false;
164 bool m_logGroupNameHasBeenSet =
false;
166 TaskRunProperties m_properties;
167 bool m_propertiesHasBeenSet =
false;
170 bool m_errorStringHasBeenSet =
false;
173 bool m_startedOnHasBeenSet =
false;
176 bool m_lastModifiedOnHasBeenSet =
false;
179 bool m_completedOnHasBeenSet =
false;
181 int m_executionTime{0};
182 bool m_executionTimeHasBeenSet =
false;
185 bool m_requestIdHasBeenSet =
false;
void SetRequestId(RequestIdT &&value)
GetMLTaskRunResult & WithLogGroupName(LogGroupNameT &&value)
GetMLTaskRunResult & WithErrorString(ErrorStringT &&value)
GetMLTaskRunResult & WithStartedOn(StartedOnT &&value)
GetMLTaskRunResult & WithTaskRunId(TaskRunIdT &&value)
const Aws::String & GetTransformId() const
GetMLTaskRunResult & WithRequestId(RequestIdT &&value)
void SetExecutionTime(int value)
const Aws::String & GetErrorString() const
GetMLTaskRunResult & WithExecutionTime(int value)
const Aws::Utils::DateTime & GetCompletedOn() const
const Aws::String & GetRequestId() const
const Aws::String & GetTaskRunId() const
void SetLastModifiedOn(LastModifiedOnT &&value)
AWS_GLUE_API GetMLTaskRunResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_GLUE_API GetMLTaskRunResult()=default
void SetStartedOn(StartedOnT &&value)
void SetLogGroupName(LogGroupNameT &&value)
const TaskRunProperties & GetProperties() const
const Aws::Utils::DateTime & GetLastModifiedOn() const
AWS_GLUE_API GetMLTaskRunResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMLTaskRunResult & WithTransformId(TransformIdT &&value)
TaskStatusType GetStatus() const
void SetProperties(PropertiesT &&value)
const Aws::Utils::DateTime & GetStartedOn() const
void SetErrorString(ErrorStringT &&value)
GetMLTaskRunResult & WithLastModifiedOn(LastModifiedOnT &&value)
void SetCompletedOn(CompletedOnT &&value)
void SetTransformId(TransformIdT &&value)
void SetStatus(TaskStatusType value)
GetMLTaskRunResult & WithStatus(TaskStatusType value)
int GetExecutionTime() const
GetMLTaskRunResult & WithCompletedOn(CompletedOnT &&value)
GetMLTaskRunResult & WithProperties(PropertiesT &&value)
const Aws::String & GetLogGroupName() const
void SetTaskRunId(TaskRunIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue