AWS SDK for C++  1.8.126
AWS SDK for C++
GetMLTaskRunResult.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Json
22 {
23  class JsonValue;
24 } // namespace Json
25 } // namespace Utils
26 namespace Glue
27 {
28 namespace Model
29 {
31  {
32  public:
36 
37 
41  inline const Aws::String& GetTransformId() const{ return m_transformId; }
42 
46  inline void SetTransformId(const Aws::String& value) { m_transformId = value; }
47 
51  inline void SetTransformId(Aws::String&& value) { m_transformId = std::move(value); }
52 
56  inline void SetTransformId(const char* value) { m_transformId.assign(value); }
57 
61  inline GetMLTaskRunResult& WithTransformId(const Aws::String& value) { SetTransformId(value); return *this;}
62 
66  inline GetMLTaskRunResult& WithTransformId(Aws::String&& value) { SetTransformId(std::move(value)); return *this;}
67 
71  inline GetMLTaskRunResult& WithTransformId(const char* value) { SetTransformId(value); return *this;}
72 
73 
77  inline const Aws::String& GetTaskRunId() const{ return m_taskRunId; }
78 
82  inline void SetTaskRunId(const Aws::String& value) { m_taskRunId = value; }
83 
87  inline void SetTaskRunId(Aws::String&& value) { m_taskRunId = std::move(value); }
88 
92  inline void SetTaskRunId(const char* value) { m_taskRunId.assign(value); }
93 
97  inline GetMLTaskRunResult& WithTaskRunId(const Aws::String& value) { SetTaskRunId(value); return *this;}
98 
102  inline GetMLTaskRunResult& WithTaskRunId(Aws::String&& value) { SetTaskRunId(std::move(value)); return *this;}
103 
107  inline GetMLTaskRunResult& WithTaskRunId(const char* value) { SetTaskRunId(value); return *this;}
108 
109 
113  inline const TaskStatusType& GetStatus() const{ return m_status; }
114 
118  inline void SetStatus(const TaskStatusType& value) { m_status = value; }
119 
123  inline void SetStatus(TaskStatusType&& value) { m_status = std::move(value); }
124 
128  inline GetMLTaskRunResult& WithStatus(const TaskStatusType& value) { SetStatus(value); return *this;}
129 
133  inline GetMLTaskRunResult& WithStatus(TaskStatusType&& value) { SetStatus(std::move(value)); return *this;}
134 
135 
139  inline const Aws::String& GetLogGroupName() const{ return m_logGroupName; }
140 
144  inline void SetLogGroupName(const Aws::String& value) { m_logGroupName = value; }
145 
149  inline void SetLogGroupName(Aws::String&& value) { m_logGroupName = std::move(value); }
150 
154  inline void SetLogGroupName(const char* value) { m_logGroupName.assign(value); }
155 
159  inline GetMLTaskRunResult& WithLogGroupName(const Aws::String& value) { SetLogGroupName(value); return *this;}
160 
164  inline GetMLTaskRunResult& WithLogGroupName(Aws::String&& value) { SetLogGroupName(std::move(value)); return *this;}
165 
169  inline GetMLTaskRunResult& WithLogGroupName(const char* value) { SetLogGroupName(value); return *this;}
170 
171 
175  inline const TaskRunProperties& GetProperties() const{ return m_properties; }
176 
180  inline void SetProperties(const TaskRunProperties& value) { m_properties = value; }
181 
185  inline void SetProperties(TaskRunProperties&& value) { m_properties = std::move(value); }
186 
190  inline GetMLTaskRunResult& WithProperties(const TaskRunProperties& value) { SetProperties(value); return *this;}
191 
195  inline GetMLTaskRunResult& WithProperties(TaskRunProperties&& value) { SetProperties(std::move(value)); return *this;}
196 
197 
201  inline const Aws::String& GetErrorString() const{ return m_errorString; }
202 
206  inline void SetErrorString(const Aws::String& value) { m_errorString = value; }
207 
211  inline void SetErrorString(Aws::String&& value) { m_errorString = std::move(value); }
212 
216  inline void SetErrorString(const char* value) { m_errorString.assign(value); }
217 
221  inline GetMLTaskRunResult& WithErrorString(const Aws::String& value) { SetErrorString(value); return *this;}
222 
226  inline GetMLTaskRunResult& WithErrorString(Aws::String&& value) { SetErrorString(std::move(value)); return *this;}
227 
231  inline GetMLTaskRunResult& WithErrorString(const char* value) { SetErrorString(value); return *this;}
232 
233 
237  inline const Aws::Utils::DateTime& GetStartedOn() const{ return m_startedOn; }
238 
242  inline void SetStartedOn(const Aws::Utils::DateTime& value) { m_startedOn = value; }
243 
247  inline void SetStartedOn(Aws::Utils::DateTime&& value) { m_startedOn = std::move(value); }
248 
252  inline GetMLTaskRunResult& WithStartedOn(const Aws::Utils::DateTime& value) { SetStartedOn(value); return *this;}
253 
257  inline GetMLTaskRunResult& WithStartedOn(Aws::Utils::DateTime&& value) { SetStartedOn(std::move(value)); return *this;}
258 
259 
263  inline const Aws::Utils::DateTime& GetLastModifiedOn() const{ return m_lastModifiedOn; }
264 
268  inline void SetLastModifiedOn(const Aws::Utils::DateTime& value) { m_lastModifiedOn = value; }
269 
273  inline void SetLastModifiedOn(Aws::Utils::DateTime&& value) { m_lastModifiedOn = std::move(value); }
274 
278  inline GetMLTaskRunResult& WithLastModifiedOn(const Aws::Utils::DateTime& value) { SetLastModifiedOn(value); return *this;}
279 
283  inline GetMLTaskRunResult& WithLastModifiedOn(Aws::Utils::DateTime&& value) { SetLastModifiedOn(std::move(value)); return *this;}
284 
285 
289  inline const Aws::Utils::DateTime& GetCompletedOn() const{ return m_completedOn; }
290 
294  inline void SetCompletedOn(const Aws::Utils::DateTime& value) { m_completedOn = value; }
295 
299  inline void SetCompletedOn(Aws::Utils::DateTime&& value) { m_completedOn = std::move(value); }
300 
304  inline GetMLTaskRunResult& WithCompletedOn(const Aws::Utils::DateTime& value) { SetCompletedOn(value); return *this;}
305 
309  inline GetMLTaskRunResult& WithCompletedOn(Aws::Utils::DateTime&& value) { SetCompletedOn(std::move(value)); return *this;}
310 
311 
315  inline int GetExecutionTime() const{ return m_executionTime; }
316 
320  inline void SetExecutionTime(int value) { m_executionTime = value; }
321 
325  inline GetMLTaskRunResult& WithExecutionTime(int value) { SetExecutionTime(value); return *this;}
326 
327  private:
328 
329  Aws::String m_transformId;
330 
331  Aws::String m_taskRunId;
332 
333  TaskStatusType m_status;
334 
335  Aws::String m_logGroupName;
336 
337  TaskRunProperties m_properties;
338 
339  Aws::String m_errorString;
340 
341  Aws::Utils::DateTime m_startedOn;
342 
343  Aws::Utils::DateTime m_lastModifiedOn;
344 
345  Aws::Utils::DateTime m_completedOn;
346 
347  int m_executionTime;
348  };
349 
350 } // namespace Model
351 } // namespace Glue
352 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
TaskStatusType.h
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Glue::Model::GetMLTaskRunResult::GetCompletedOn
const Aws::Utils::DateTime & GetCompletedOn() const
Definition: GetMLTaskRunResult.h:289
Aws::Glue::Model::GetMLTaskRunResult::SetStatus
void SetStatus(const TaskStatusType &value)
Definition: GetMLTaskRunResult.h:118
Aws::Glue::Model::GetMLTaskRunResult::WithExecutionTime
GetMLTaskRunResult & WithExecutionTime(int value)
Definition: GetMLTaskRunResult.h:325
Aws::Glue::Model::GetMLTaskRunResult::SetErrorString
void SetErrorString(Aws::String &&value)
Definition: GetMLTaskRunResult.h:211
Aws::Glue::Model::GetMLTaskRunResult
Definition: GetMLTaskRunResult.h:31
Aws::Glue::Model::GetMLTaskRunResult::WithStatus
GetMLTaskRunResult & WithStatus(const TaskStatusType &value)
Definition: GetMLTaskRunResult.h:128
Aws::Glue::Model::GetMLTaskRunResult::GetTransformId
const Aws::String & GetTransformId() const
Definition: GetMLTaskRunResult.h:41
Aws::Glue::Model::GetMLTaskRunResult::SetExecutionTime
void SetExecutionTime(int value)
Definition: GetMLTaskRunResult.h:320
Aws::Glue::Model::GetMLTaskRunResult::SetLastModifiedOn
void SetLastModifiedOn(const Aws::Utils::DateTime &value)
Definition: GetMLTaskRunResult.h:268
Aws::Glue::Model::GetMLTaskRunResult::SetCompletedOn
void SetCompletedOn(const Aws::Utils::DateTime &value)
Definition: GetMLTaskRunResult.h:294
Glue_EXPORTS.h
Aws::Glue::Model::GetMLTaskRunResult::WithTaskRunId
GetMLTaskRunResult & WithTaskRunId(const Aws::String &value)
Definition: GetMLTaskRunResult.h:97
DateTime.h
Aws::Glue::Model::GetMLTaskRunResult::SetLogGroupName
void SetLogGroupName(const char *value)
Definition: GetMLTaskRunResult.h:154
Aws::Glue::Model::GetMLTaskRunResult::WithLogGroupName
GetMLTaskRunResult & WithLogGroupName(Aws::String &&value)
Definition: GetMLTaskRunResult.h:164
Aws::Glue::Model::GetMLTaskRunResult::GetMLTaskRunResult
GetMLTaskRunResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Glue::Model::GetMLTaskRunResult::WithLastModifiedOn
GetMLTaskRunResult & WithLastModifiedOn(Aws::Utils::DateTime &&value)
Definition: GetMLTaskRunResult.h:283
Aws::Glue::Model::GetMLTaskRunResult::GetTaskRunId
const Aws::String & GetTaskRunId() const
Definition: GetMLTaskRunResult.h:77
Aws::Glue::Model::GetMLTaskRunResult::WithStartedOn
GetMLTaskRunResult & WithStartedOn(const Aws::Utils::DateTime &value)
Definition: GetMLTaskRunResult.h:252
Aws::Glue::Model::GetMLTaskRunResult::WithErrorString
GetMLTaskRunResult & WithErrorString(Aws::String &&value)
Definition: GetMLTaskRunResult.h:226
Aws::Glue::Model::GetMLTaskRunResult::GetErrorString
const Aws::String & GetErrorString() const
Definition: GetMLTaskRunResult.h:201
Aws::Glue::Model::GetMLTaskRunResult::WithLastModifiedOn
GetMLTaskRunResult & WithLastModifiedOn(const Aws::Utils::DateTime &value)
Definition: GetMLTaskRunResult.h:278
Aws::Glue::Model::GetMLTaskRunResult::SetStartedOn
void SetStartedOn(Aws::Utils::DateTime &&value)
Definition: GetMLTaskRunResult.h:247
Aws::Glue::Model::GetMLTaskRunResult::SetErrorString
void SetErrorString(const char *value)
Definition: GetMLTaskRunResult.h:216
Aws::Glue::Model::GetMLTaskRunResult::SetProperties
void SetProperties(const TaskRunProperties &value)
Definition: GetMLTaskRunResult.h:180
AWS_GLUE_API
#define AWS_GLUE_API
Definition: Glue_EXPORTS.h:28
Aws::Glue::Model::TaskStatusType
TaskStatusType
Definition: TaskStatusType.h:17
Aws::Glue::Model::GetMLTaskRunResult::WithLogGroupName
GetMLTaskRunResult & WithLogGroupName(const char *value)
Definition: GetMLTaskRunResult.h:169
Aws::Glue::Model::GetMLTaskRunResult::WithTransformId
GetMLTaskRunResult & WithTransformId(Aws::String &&value)
Definition: GetMLTaskRunResult.h:66
AWSString.h
Aws::Glue::Model::GetMLTaskRunResult::SetTaskRunId
void SetTaskRunId(const char *value)
Definition: GetMLTaskRunResult.h:92
Aws::Glue::Model::GetMLTaskRunResult::GetExecutionTime
int GetExecutionTime() const
Definition: GetMLTaskRunResult.h:315
TaskRunProperties.h
Aws::Glue::Model::GetMLTaskRunResult::GetLogGroupName
const Aws::String & GetLogGroupName() const
Definition: GetMLTaskRunResult.h:139
Aws::Glue::Model::GetMLTaskRunResult::SetStatus
void SetStatus(TaskStatusType &&value)
Definition: GetMLTaskRunResult.h:123
Aws::Glue::Model::GetMLTaskRunResult::SetErrorString
void SetErrorString(const Aws::String &value)
Definition: GetMLTaskRunResult.h:206
Aws::Glue::Model::GetMLTaskRunResult::SetCompletedOn
void SetCompletedOn(Aws::Utils::DateTime &&value)
Definition: GetMLTaskRunResult.h:299
Aws::Glue::Model::GetMLTaskRunResult::SetTaskRunId
void SetTaskRunId(Aws::String &&value)
Definition: GetMLTaskRunResult.h:87
Aws::Glue::Model::GetMLTaskRunResult::WithTaskRunId
GetMLTaskRunResult & WithTaskRunId(Aws::String &&value)
Definition: GetMLTaskRunResult.h:102
Aws::Glue::Model::GetMLTaskRunResult::GetLastModifiedOn
const Aws::Utils::DateTime & GetLastModifiedOn() const
Definition: GetMLTaskRunResult.h:263
Aws::Glue::Model::GetMLTaskRunResult::WithTaskRunId
GetMLTaskRunResult & WithTaskRunId(const char *value)
Definition: GetMLTaskRunResult.h:107
Aws::Glue::Model::GetMLTaskRunResult::SetTransformId
void SetTransformId(Aws::String &&value)
Definition: GetMLTaskRunResult.h:51
Aws::Glue::Model::GetMLTaskRunResult::GetProperties
const TaskRunProperties & GetProperties() const
Definition: GetMLTaskRunResult.h:175
Aws::Glue::Model::GetMLTaskRunResult::WithProperties
GetMLTaskRunResult & WithProperties(TaskRunProperties &&value)
Definition: GetMLTaskRunResult.h:195
Aws::Glue::Model::TaskRunProperties
Definition: TaskRunProperties.h:36
Aws::Glue::Model::GetMLTaskRunResult::WithTransformId
GetMLTaskRunResult & WithTransformId(const Aws::String &value)
Definition: GetMLTaskRunResult.h:61
Aws::Glue::Model::GetMLTaskRunResult::WithErrorString
GetMLTaskRunResult & WithErrorString(const Aws::String &value)
Definition: GetMLTaskRunResult.h:221
Aws::Glue::Model::GetMLTaskRunResult::WithStatus
GetMLTaskRunResult & WithStatus(TaskStatusType &&value)
Definition: GetMLTaskRunResult.h:133
Aws::Glue::Model::GetMLTaskRunResult::WithProperties
GetMLTaskRunResult & WithProperties(const TaskRunProperties &value)
Definition: GetMLTaskRunResult.h:190
Aws::Glue::Model::GetMLTaskRunResult::WithCompletedOn
GetMLTaskRunResult & WithCompletedOn(Aws::Utils::DateTime &&value)
Definition: GetMLTaskRunResult.h:309
Aws::Glue::Model::GetMLTaskRunResult::GetMLTaskRunResult
GetMLTaskRunResult()
Aws
Definition: AccessManagementClient.h:15
Aws::Glue::Model::GetMLTaskRunResult::WithLogGroupName
GetMLTaskRunResult & WithLogGroupName(const Aws::String &value)
Definition: GetMLTaskRunResult.h:159
Aws::Glue::Model::GetMLTaskRunResult::WithErrorString
GetMLTaskRunResult & WithErrorString(const char *value)
Definition: GetMLTaskRunResult.h:231
Aws::Glue::Model::GetMLTaskRunResult::GetStatus
const TaskStatusType & GetStatus() const
Definition: GetMLTaskRunResult.h:113
Aws::Glue::Model::GetMLTaskRunResult::SetTransformId
void SetTransformId(const char *value)
Definition: GetMLTaskRunResult.h:56
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Glue::Model::GetMLTaskRunResult::SetTransformId
void SetTransformId(const Aws::String &value)
Definition: GetMLTaskRunResult.h:46
Aws::Glue::Model::GetMLTaskRunResult::SetTaskRunId
void SetTaskRunId(const Aws::String &value)
Definition: GetMLTaskRunResult.h:82
Aws::Glue::Model::GetMLTaskRunResult::WithTransformId
GetMLTaskRunResult & WithTransformId(const char *value)
Definition: GetMLTaskRunResult.h:71
Aws::Glue::Model::GetMLTaskRunResult::SetStartedOn
void SetStartedOn(const Aws::Utils::DateTime &value)
Definition: GetMLTaskRunResult.h:242
Aws::Glue::Model::GetMLTaskRunResult::SetLogGroupName
void SetLogGroupName(const Aws::String &value)
Definition: GetMLTaskRunResult.h:144
Aws::Glue::Model::GetMLTaskRunResult::WithStartedOn
GetMLTaskRunResult & WithStartedOn(Aws::Utils::DateTime &&value)
Definition: GetMLTaskRunResult.h:257
Aws::Glue::Model::GetMLTaskRunResult::SetProperties
void SetProperties(TaskRunProperties &&value)
Definition: GetMLTaskRunResult.h:185
Aws::Glue::Model::GetMLTaskRunResult::operator=
GetMLTaskRunResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Glue::Model::GetMLTaskRunResult::WithCompletedOn
GetMLTaskRunResult & WithCompletedOn(const Aws::Utils::DateTime &value)
Definition: GetMLTaskRunResult.h:304
Aws::Glue::Model::GetMLTaskRunResult::SetLastModifiedOn
void SetLastModifiedOn(Aws::Utils::DateTime &&value)
Definition: GetMLTaskRunResult.h:273
Aws::Glue::Model::GetMLTaskRunResult::GetStartedOn
const Aws::Utils::DateTime & GetStartedOn() const
Definition: GetMLTaskRunResult.h:237
Aws::Glue::Model::GetMLTaskRunResult::SetLogGroupName
void SetLogGroupName(Aws::String &&value)
Definition: GetMLTaskRunResult.h:149