AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
36
37
39
42 inline const Aws::String& GetTransformId() const{ return m_transformId; }
43 inline void SetTransformId(const Aws::String& value) { m_transformId = value; }
44 inline void SetTransformId(Aws::String&& value) { m_transformId = std::move(value); }
45 inline void SetTransformId(const char* value) { m_transformId.assign(value); }
46 inline GetMLTaskRunResult& WithTransformId(const Aws::String& value) { SetTransformId(value); return *this;}
47 inline GetMLTaskRunResult& WithTransformId(Aws::String&& value) { SetTransformId(std::move(value)); return *this;}
48 inline GetMLTaskRunResult& WithTransformId(const char* value) { SetTransformId(value); return *this;}
50
52
55 inline const Aws::String& GetTaskRunId() const{ return m_taskRunId; }
56 inline void SetTaskRunId(const Aws::String& value) { m_taskRunId = value; }
57 inline void SetTaskRunId(Aws::String&& value) { m_taskRunId = std::move(value); }
58 inline void SetTaskRunId(const char* value) { m_taskRunId.assign(value); }
59 inline GetMLTaskRunResult& WithTaskRunId(const Aws::String& value) { SetTaskRunId(value); return *this;}
60 inline GetMLTaskRunResult& WithTaskRunId(Aws::String&& value) { SetTaskRunId(std::move(value)); return *this;}
61 inline GetMLTaskRunResult& WithTaskRunId(const char* value) { SetTaskRunId(value); return *this;}
63
65
68 inline const TaskStatusType& GetStatus() const{ return m_status; }
69 inline void SetStatus(const TaskStatusType& value) { m_status = value; }
70 inline void SetStatus(TaskStatusType&& value) { m_status = std::move(value); }
71 inline GetMLTaskRunResult& WithStatus(const TaskStatusType& value) { SetStatus(value); return *this;}
72 inline GetMLTaskRunResult& WithStatus(TaskStatusType&& value) { SetStatus(std::move(value)); return *this;}
74
76
79 inline const Aws::String& GetLogGroupName() const{ return m_logGroupName; }
80 inline void SetLogGroupName(const Aws::String& value) { m_logGroupName = value; }
81 inline void SetLogGroupName(Aws::String&& value) { m_logGroupName = std::move(value); }
82 inline void SetLogGroupName(const char* value) { m_logGroupName.assign(value); }
83 inline GetMLTaskRunResult& WithLogGroupName(const Aws::String& value) { SetLogGroupName(value); return *this;}
84 inline GetMLTaskRunResult& WithLogGroupName(Aws::String&& value) { SetLogGroupName(std::move(value)); return *this;}
85 inline GetMLTaskRunResult& WithLogGroupName(const char* value) { SetLogGroupName(value); return *this;}
87
89
92 inline const TaskRunProperties& GetProperties() const{ return m_properties; }
93 inline void SetProperties(const TaskRunProperties& value) { m_properties = value; }
94 inline void SetProperties(TaskRunProperties&& value) { m_properties = std::move(value); }
95 inline GetMLTaskRunResult& WithProperties(const TaskRunProperties& value) { SetProperties(value); return *this;}
96 inline GetMLTaskRunResult& WithProperties(TaskRunProperties&& value) { SetProperties(std::move(value)); return *this;}
98
100
103 inline const Aws::String& GetErrorString() const{ return m_errorString; }
104 inline void SetErrorString(const Aws::String& value) { m_errorString = value; }
105 inline void SetErrorString(Aws::String&& value) { m_errorString = std::move(value); }
106 inline void SetErrorString(const char* value) { m_errorString.assign(value); }
107 inline GetMLTaskRunResult& WithErrorString(const Aws::String& value) { SetErrorString(value); return *this;}
108 inline GetMLTaskRunResult& WithErrorString(Aws::String&& value) { SetErrorString(std::move(value)); return *this;}
109 inline GetMLTaskRunResult& WithErrorString(const char* value) { SetErrorString(value); return *this;}
111
113
116 inline const Aws::Utils::DateTime& GetStartedOn() const{ return m_startedOn; }
117 inline void SetStartedOn(const Aws::Utils::DateTime& value) { m_startedOn = value; }
118 inline void SetStartedOn(Aws::Utils::DateTime&& value) { m_startedOn = std::move(value); }
119 inline GetMLTaskRunResult& WithStartedOn(const Aws::Utils::DateTime& value) { SetStartedOn(value); return *this;}
120 inline GetMLTaskRunResult& WithStartedOn(Aws::Utils::DateTime&& value) { SetStartedOn(std::move(value)); return *this;}
122
124
127 inline const Aws::Utils::DateTime& GetLastModifiedOn() const{ return m_lastModifiedOn; }
128 inline void SetLastModifiedOn(const Aws::Utils::DateTime& value) { m_lastModifiedOn = value; }
129 inline void SetLastModifiedOn(Aws::Utils::DateTime&& value) { m_lastModifiedOn = std::move(value); }
131 inline GetMLTaskRunResult& WithLastModifiedOn(Aws::Utils::DateTime&& value) { SetLastModifiedOn(std::move(value)); return *this;}
133
135
138 inline const Aws::Utils::DateTime& GetCompletedOn() const{ return m_completedOn; }
139 inline void SetCompletedOn(const Aws::Utils::DateTime& value) { m_completedOn = value; }
140 inline void SetCompletedOn(Aws::Utils::DateTime&& value) { m_completedOn = std::move(value); }
141 inline GetMLTaskRunResult& WithCompletedOn(const Aws::Utils::DateTime& value) { SetCompletedOn(value); return *this;}
142 inline GetMLTaskRunResult& WithCompletedOn(Aws::Utils::DateTime&& value) { SetCompletedOn(std::move(value)); return *this;}
144
146
149 inline int GetExecutionTime() const{ return m_executionTime; }
150 inline void SetExecutionTime(int value) { m_executionTime = value; }
151 inline GetMLTaskRunResult& WithExecutionTime(int value) { SetExecutionTime(value); return *this;}
153
155
156 inline const Aws::String& GetRequestId() const{ return m_requestId; }
157 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
158 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
159 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
160 inline GetMLTaskRunResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
161 inline GetMLTaskRunResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
162 inline GetMLTaskRunResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
164 private:
165
166 Aws::String m_transformId;
167
168 Aws::String m_taskRunId;
169
170 TaskStatusType m_status;
171
172 Aws::String m_logGroupName;
173
174 TaskRunProperties m_properties;
175
176 Aws::String m_errorString;
177
178 Aws::Utils::DateTime m_startedOn;
179
180 Aws::Utils::DateTime m_lastModifiedOn;
181
182 Aws::Utils::DateTime m_completedOn;
183
184 int m_executionTime;
185
186 Aws::String m_requestId;
187 };
188
189} // namespace Model
190} // namespace Glue
191} // namespace Aws
GetMLTaskRunResult & WithStatus(const TaskStatusType &value)
void SetStatus(TaskStatusType &&value)
GetMLTaskRunResult & WithCompletedOn(const Aws::Utils::DateTime &value)
GetMLTaskRunResult & WithCompletedOn(Aws::Utils::DateTime &&value)
GetMLTaskRunResult & WithTaskRunId(const Aws::String &value)
GetMLTaskRunResult & WithLogGroupName(Aws::String &&value)
void SetCompletedOn(const Aws::Utils::DateTime &value)
GetMLTaskRunResult & WithTaskRunId(Aws::String &&value)
void SetErrorString(Aws::String &&value)
GetMLTaskRunResult & WithLogGroupName(const char *value)
GetMLTaskRunResult & WithProperties(const TaskRunProperties &value)
GetMLTaskRunResult & WithRequestId(const Aws::String &value)
void SetTaskRunId(const Aws::String &value)
GetMLTaskRunResult & WithErrorString(Aws::String &&value)
void SetStatus(const TaskStatusType &value)
GetMLTaskRunResult & WithLogGroupName(const Aws::String &value)
GetMLTaskRunResult & WithProperties(TaskRunProperties &&value)
const Aws::String & GetTransformId() const
void SetStartedOn(Aws::Utils::DateTime &&value)
void SetStartedOn(const Aws::Utils::DateTime &value)
void SetCompletedOn(Aws::Utils::DateTime &&value)
const Aws::String & GetErrorString() const
void SetLogGroupName(const Aws::String &value)
GetMLTaskRunResult & WithExecutionTime(int value)
void SetLastModifiedOn(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCompletedOn() const
GetMLTaskRunResult & WithRequestId(const char *value)
const Aws::String & GetRequestId() const
void SetProperties(TaskRunProperties &&value)
void SetLastModifiedOn(Aws::Utils::DateTime &&value)
const Aws::String & GetTaskRunId() const
AWS_GLUE_API GetMLTaskRunResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMLTaskRunResult & WithTransformId(const Aws::String &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(Aws::String &&value)
const TaskStatusType & GetStatus() const
const Aws::Utils::DateTime & GetStartedOn() const
void SetRequestId(const Aws::String &value)
GetMLTaskRunResult & WithLastModifiedOn(const Aws::Utils::DateTime &value)
GetMLTaskRunResult & WithErrorString(const Aws::String &value)
GetMLTaskRunResult & WithStatus(TaskStatusType &&value)
void SetErrorString(const Aws::String &value)
void SetTaskRunId(Aws::String &&value)
GetMLTaskRunResult & WithStartedOn(Aws::Utils::DateTime &&value)
void SetTransformId(const Aws::String &value)
GetMLTaskRunResult & WithStartedOn(const Aws::Utils::DateTime &value)
GetMLTaskRunResult & WithTransformId(const char *value)
void SetProperties(const TaskRunProperties &value)
GetMLTaskRunResult & WithRequestId(Aws::String &&value)
GetMLTaskRunResult & WithErrorString(const char *value)
void SetLogGroupName(Aws::String &&value)
const Aws::String & GetLogGroupName() const
GetMLTaskRunResult & WithLastModifiedOn(Aws::Utils::DateTime &&value)
GetMLTaskRunResult & WithTaskRunId(const char *value)
void SetTransformId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue