AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetMLTaskRunResult.h
1
6#pragma once
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>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Glue
27{
28namespace Model
29{
31 {
32 public:
33 AWS_GLUE_API GetMLTaskRunResult() = default;
36
37
39
42 inline const Aws::String& GetTransformId() const { return m_transformId; }
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>
46 GetMLTaskRunResult& WithTransformId(TransformIdT&& value) { SetTransformId(std::forward<TransformIdT>(value)); return *this;}
48
50
53 inline const Aws::String& GetTaskRunId() const { return m_taskRunId; }
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>
57 GetMLTaskRunResult& WithTaskRunId(TaskRunIdT&& value) { SetTaskRunId(std::forward<TaskRunIdT>(value)); return *this;}
59
61
64 inline TaskStatusType GetStatus() const { return m_status; }
65 inline void SetStatus(TaskStatusType value) { m_statusHasBeenSet = true; m_status = value; }
66 inline GetMLTaskRunResult& WithStatus(TaskStatusType value) { SetStatus(value); return *this;}
68
70
73 inline const Aws::String& GetLogGroupName() const { return m_logGroupName; }
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>
77 GetMLTaskRunResult& WithLogGroupName(LogGroupNameT&& value) { SetLogGroupName(std::forward<LogGroupNameT>(value)); return *this;}
79
81
84 inline const TaskRunProperties& GetProperties() const { return m_properties; }
85 template<typename PropertiesT = TaskRunProperties>
86 void SetProperties(PropertiesT&& value) { m_propertiesHasBeenSet = true; m_properties = std::forward<PropertiesT>(value); }
87 template<typename PropertiesT = TaskRunProperties>
88 GetMLTaskRunResult& WithProperties(PropertiesT&& value) { SetProperties(std::forward<PropertiesT>(value)); return *this;}
90
92
95 inline const Aws::String& GetErrorString() const { return m_errorString; }
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>
99 GetMLTaskRunResult& WithErrorString(ErrorStringT&& value) { SetErrorString(std::forward<ErrorStringT>(value)); return *this;}
101
103
106 inline const Aws::Utils::DateTime& GetStartedOn() const { return m_startedOn; }
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>
110 GetMLTaskRunResult& WithStartedOn(StartedOnT&& value) { SetStartedOn(std::forward<StartedOnT>(value)); return *this;}
112
114
117 inline const Aws::Utils::DateTime& GetLastModifiedOn() const { return m_lastModifiedOn; }
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>
121 GetMLTaskRunResult& WithLastModifiedOn(LastModifiedOnT&& value) { SetLastModifiedOn(std::forward<LastModifiedOnT>(value)); return *this;}
123
125
128 inline const Aws::Utils::DateTime& GetCompletedOn() const { return m_completedOn; }
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>
132 GetMLTaskRunResult& WithCompletedOn(CompletedOnT&& value) { SetCompletedOn(std::forward<CompletedOnT>(value)); return *this;}
134
136
139 inline int GetExecutionTime() const { return m_executionTime; }
140 inline void SetExecutionTime(int value) { m_executionTimeHasBeenSet = true; m_executionTime = value; }
141 inline GetMLTaskRunResult& WithExecutionTime(int value) { SetExecutionTime(value); return *this;}
143
145
146 inline const Aws::String& GetRequestId() const { return m_requestId; }
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>
150 GetMLTaskRunResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
152 private:
153
154 Aws::String m_transformId;
155 bool m_transformIdHasBeenSet = false;
156
157 Aws::String m_taskRunId;
158 bool m_taskRunIdHasBeenSet = false;
159
161 bool m_statusHasBeenSet = false;
162
163 Aws::String m_logGroupName;
164 bool m_logGroupNameHasBeenSet = false;
165
166 TaskRunProperties m_properties;
167 bool m_propertiesHasBeenSet = false;
168
169 Aws::String m_errorString;
170 bool m_errorStringHasBeenSet = false;
171
172 Aws::Utils::DateTime m_startedOn{};
173 bool m_startedOnHasBeenSet = false;
174
175 Aws::Utils::DateTime m_lastModifiedOn{};
176 bool m_lastModifiedOnHasBeenSet = false;
177
178 Aws::Utils::DateTime m_completedOn{};
179 bool m_completedOnHasBeenSet = false;
180
181 int m_executionTime{0};
182 bool m_executionTimeHasBeenSet = false;
183
184 Aws::String m_requestId;
185 bool m_requestIdHasBeenSet = false;
186 };
187
188} // namespace Model
189} // namespace Glue
190} // namespace Aws
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)
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 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)
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)
GetMLTaskRunResult & WithCompletedOn(CompletedOnT &&value)
GetMLTaskRunResult & WithProperties(PropertiesT &&value)
const Aws::String & GetLogGroupName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue