AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchPrediction.h
1
6#pragma once
7#include <aws/machinelearning/MachineLearning_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/machinelearning/model/EntityStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace MachineLearning
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_MACHINELEARNING_API BatchPrediction();
39 AWS_MACHINELEARNING_API BatchPrediction(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MACHINELEARNING_API BatchPrediction& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MACHINELEARNING_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline const Aws::String& GetBatchPredictionId() const{ return m_batchPredictionId; }
51 inline bool BatchPredictionIdHasBeenSet() const { return m_batchPredictionIdHasBeenSet; }
52 inline void SetBatchPredictionId(const Aws::String& value) { m_batchPredictionIdHasBeenSet = true; m_batchPredictionId = value; }
53 inline void SetBatchPredictionId(Aws::String&& value) { m_batchPredictionIdHasBeenSet = true; m_batchPredictionId = std::move(value); }
54 inline void SetBatchPredictionId(const char* value) { m_batchPredictionIdHasBeenSet = true; m_batchPredictionId.assign(value); }
55 inline BatchPrediction& WithBatchPredictionId(const Aws::String& value) { SetBatchPredictionId(value); return *this;}
56 inline BatchPrediction& WithBatchPredictionId(Aws::String&& value) { SetBatchPredictionId(std::move(value)); return *this;}
57 inline BatchPrediction& WithBatchPredictionId(const char* value) { SetBatchPredictionId(value); return *this;}
59
61
65 inline const Aws::String& GetMLModelId() const{ return m_mLModelId; }
66 inline bool MLModelIdHasBeenSet() const { return m_mLModelIdHasBeenSet; }
67 inline void SetMLModelId(const Aws::String& value) { m_mLModelIdHasBeenSet = true; m_mLModelId = value; }
68 inline void SetMLModelId(Aws::String&& value) { m_mLModelIdHasBeenSet = true; m_mLModelId = std::move(value); }
69 inline void SetMLModelId(const char* value) { m_mLModelIdHasBeenSet = true; m_mLModelId.assign(value); }
70 inline BatchPrediction& WithMLModelId(const Aws::String& value) { SetMLModelId(value); return *this;}
71 inline BatchPrediction& WithMLModelId(Aws::String&& value) { SetMLModelId(std::move(value)); return *this;}
72 inline BatchPrediction& WithMLModelId(const char* value) { SetMLModelId(value); return *this;}
74
76
80 inline const Aws::String& GetBatchPredictionDataSourceId() const{ return m_batchPredictionDataSourceId; }
81 inline bool BatchPredictionDataSourceIdHasBeenSet() const { return m_batchPredictionDataSourceIdHasBeenSet; }
82 inline void SetBatchPredictionDataSourceId(const Aws::String& value) { m_batchPredictionDataSourceIdHasBeenSet = true; m_batchPredictionDataSourceId = value; }
83 inline void SetBatchPredictionDataSourceId(Aws::String&& value) { m_batchPredictionDataSourceIdHasBeenSet = true; m_batchPredictionDataSourceId = std::move(value); }
84 inline void SetBatchPredictionDataSourceId(const char* value) { m_batchPredictionDataSourceIdHasBeenSet = true; m_batchPredictionDataSourceId.assign(value); }
87 inline BatchPrediction& WithBatchPredictionDataSourceId(const char* value) { SetBatchPredictionDataSourceId(value); return *this;}
89
91
95 inline const Aws::String& GetInputDataLocationS3() const{ return m_inputDataLocationS3; }
96 inline bool InputDataLocationS3HasBeenSet() const { return m_inputDataLocationS3HasBeenSet; }
97 inline void SetInputDataLocationS3(const Aws::String& value) { m_inputDataLocationS3HasBeenSet = true; m_inputDataLocationS3 = value; }
98 inline void SetInputDataLocationS3(Aws::String&& value) { m_inputDataLocationS3HasBeenSet = true; m_inputDataLocationS3 = std::move(value); }
99 inline void SetInputDataLocationS3(const char* value) { m_inputDataLocationS3HasBeenSet = true; m_inputDataLocationS3.assign(value); }
100 inline BatchPrediction& WithInputDataLocationS3(const Aws::String& value) { SetInputDataLocationS3(value); return *this;}
101 inline BatchPrediction& WithInputDataLocationS3(Aws::String&& value) { SetInputDataLocationS3(std::move(value)); return *this;}
102 inline BatchPrediction& WithInputDataLocationS3(const char* value) { SetInputDataLocationS3(value); return *this;}
104
106
111 inline const Aws::String& GetCreatedByIamUser() const{ return m_createdByIamUser; }
112 inline bool CreatedByIamUserHasBeenSet() const { return m_createdByIamUserHasBeenSet; }
113 inline void SetCreatedByIamUser(const Aws::String& value) { m_createdByIamUserHasBeenSet = true; m_createdByIamUser = value; }
114 inline void SetCreatedByIamUser(Aws::String&& value) { m_createdByIamUserHasBeenSet = true; m_createdByIamUser = std::move(value); }
115 inline void SetCreatedByIamUser(const char* value) { m_createdByIamUserHasBeenSet = true; m_createdByIamUser.assign(value); }
116 inline BatchPrediction& WithCreatedByIamUser(const Aws::String& value) { SetCreatedByIamUser(value); return *this;}
117 inline BatchPrediction& WithCreatedByIamUser(Aws::String&& value) { SetCreatedByIamUser(std::move(value)); return *this;}
118 inline BatchPrediction& WithCreatedByIamUser(const char* value) { SetCreatedByIamUser(value); return *this;}
120
122
126 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
127 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
128 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
129 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
130 inline BatchPrediction& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
131 inline BatchPrediction& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
133
135
139 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
140 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
141 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; }
142 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); }
143 inline BatchPrediction& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
144 inline BatchPrediction& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
146
148
151 inline const Aws::String& GetName() const{ return m_name; }
152 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
153 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
154 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
155 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
156 inline BatchPrediction& WithName(const Aws::String& value) { SetName(value); return *this;}
157 inline BatchPrediction& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
158 inline BatchPrediction& WithName(const char* value) { SetName(value); return *this;}
160
162
174 inline const EntityStatus& GetStatus() const{ return m_status; }
175 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
176 inline void SetStatus(const EntityStatus& value) { m_statusHasBeenSet = true; m_status = value; }
177 inline void SetStatus(EntityStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
178 inline BatchPrediction& WithStatus(const EntityStatus& value) { SetStatus(value); return *this;}
179 inline BatchPrediction& WithStatus(EntityStatus&& value) { SetStatus(std::move(value)); return *this;}
181
183
188 inline const Aws::String& GetOutputUri() const{ return m_outputUri; }
189 inline bool OutputUriHasBeenSet() const { return m_outputUriHasBeenSet; }
190 inline void SetOutputUri(const Aws::String& value) { m_outputUriHasBeenSet = true; m_outputUri = value; }
191 inline void SetOutputUri(Aws::String&& value) { m_outputUriHasBeenSet = true; m_outputUri = std::move(value); }
192 inline void SetOutputUri(const char* value) { m_outputUriHasBeenSet = true; m_outputUri.assign(value); }
193 inline BatchPrediction& WithOutputUri(const Aws::String& value) { SetOutputUri(value); return *this;}
194 inline BatchPrediction& WithOutputUri(Aws::String&& value) { SetOutputUri(std::move(value)); return *this;}
195 inline BatchPrediction& WithOutputUri(const char* value) { SetOutputUri(value); return *this;}
197
199
203 inline const Aws::String& GetMessage() const{ return m_message; }
204 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
205 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
206 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
207 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
208 inline BatchPrediction& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
209 inline BatchPrediction& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
210 inline BatchPrediction& WithMessage(const char* value) { SetMessage(value); return *this;}
212
214
215 inline long long GetComputeTime() const{ return m_computeTime; }
216 inline bool ComputeTimeHasBeenSet() const { return m_computeTimeHasBeenSet; }
217 inline void SetComputeTime(long long value) { m_computeTimeHasBeenSet = true; m_computeTime = value; }
218 inline BatchPrediction& WithComputeTime(long long value) { SetComputeTime(value); return *this;}
220
222
223 inline const Aws::Utils::DateTime& GetFinishedAt() const{ return m_finishedAt; }
224 inline bool FinishedAtHasBeenSet() const { return m_finishedAtHasBeenSet; }
225 inline void SetFinishedAt(const Aws::Utils::DateTime& value) { m_finishedAtHasBeenSet = true; m_finishedAt = value; }
226 inline void SetFinishedAt(Aws::Utils::DateTime&& value) { m_finishedAtHasBeenSet = true; m_finishedAt = std::move(value); }
227 inline BatchPrediction& WithFinishedAt(const Aws::Utils::DateTime& value) { SetFinishedAt(value); return *this;}
228 inline BatchPrediction& WithFinishedAt(Aws::Utils::DateTime&& value) { SetFinishedAt(std::move(value)); return *this;}
230
232
233 inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; }
234 inline bool StartedAtHasBeenSet() const { return m_startedAtHasBeenSet; }
235 inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAtHasBeenSet = true; m_startedAt = value; }
236 inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAtHasBeenSet = true; m_startedAt = std::move(value); }
237 inline BatchPrediction& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;}
238 inline BatchPrediction& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;}
240
242
243 inline long long GetTotalRecordCount() const{ return m_totalRecordCount; }
244 inline bool TotalRecordCountHasBeenSet() const { return m_totalRecordCountHasBeenSet; }
245 inline void SetTotalRecordCount(long long value) { m_totalRecordCountHasBeenSet = true; m_totalRecordCount = value; }
246 inline BatchPrediction& WithTotalRecordCount(long long value) { SetTotalRecordCount(value); return *this;}
248
250
251 inline long long GetInvalidRecordCount() const{ return m_invalidRecordCount; }
252 inline bool InvalidRecordCountHasBeenSet() const { return m_invalidRecordCountHasBeenSet; }
253 inline void SetInvalidRecordCount(long long value) { m_invalidRecordCountHasBeenSet = true; m_invalidRecordCount = value; }
254 inline BatchPrediction& WithInvalidRecordCount(long long value) { SetInvalidRecordCount(value); return *this;}
256 private:
257
258 Aws::String m_batchPredictionId;
259 bool m_batchPredictionIdHasBeenSet = false;
260
261 Aws::String m_mLModelId;
262 bool m_mLModelIdHasBeenSet = false;
263
264 Aws::String m_batchPredictionDataSourceId;
265 bool m_batchPredictionDataSourceIdHasBeenSet = false;
266
267 Aws::String m_inputDataLocationS3;
268 bool m_inputDataLocationS3HasBeenSet = false;
269
270 Aws::String m_createdByIamUser;
271 bool m_createdByIamUserHasBeenSet = false;
272
273 Aws::Utils::DateTime m_createdAt;
274 bool m_createdAtHasBeenSet = false;
275
276 Aws::Utils::DateTime m_lastUpdatedAt;
277 bool m_lastUpdatedAtHasBeenSet = false;
278
279 Aws::String m_name;
280 bool m_nameHasBeenSet = false;
281
282 EntityStatus m_status;
283 bool m_statusHasBeenSet = false;
284
285 Aws::String m_outputUri;
286 bool m_outputUriHasBeenSet = false;
287
288 Aws::String m_message;
289 bool m_messageHasBeenSet = false;
290
291 long long m_computeTime;
292 bool m_computeTimeHasBeenSet = false;
293
294 Aws::Utils::DateTime m_finishedAt;
295 bool m_finishedAtHasBeenSet = false;
296
297 Aws::Utils::DateTime m_startedAt;
298 bool m_startedAtHasBeenSet = false;
299
300 long long m_totalRecordCount;
301 bool m_totalRecordCountHasBeenSet = false;
302
303 long long m_invalidRecordCount;
304 bool m_invalidRecordCountHasBeenSet = false;
305 };
306
307} // namespace Model
308} // namespace MachineLearning
309} // namespace Aws
BatchPrediction & WithName(Aws::String &&value)
BatchPrediction & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
BatchPrediction & WithOutputUri(const Aws::String &value)
AWS_MACHINELEARNING_API BatchPrediction(Aws::Utils::Json::JsonView jsonValue)
BatchPrediction & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
void SetFinishedAt(const Aws::Utils::DateTime &value)
BatchPrediction & WithBatchPredictionDataSourceId(Aws::String &&value)
BatchPrediction & WithOutputUri(const char *value)
void SetBatchPredictionDataSourceId(const char *value)
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_MACHINELEARNING_API BatchPrediction & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchPrediction & WithBatchPredictionDataSourceId(const Aws::String &value)
BatchPrediction & WithMLModelId(const Aws::String &value)
const Aws::Utils::DateTime & GetStartedAt() const
BatchPrediction & WithName(const char *value)
void SetInputDataLocationS3(Aws::String &&value)
const Aws::String & GetBatchPredictionId() const
BatchPrediction & WithCreatedByIamUser(const char *value)
BatchPrediction & WithBatchPredictionId(Aws::String &&value)
BatchPrediction & WithCreatedByIamUser(Aws::String &&value)
BatchPrediction & WithStartedAt(Aws::Utils::DateTime &&value)
void SetOutputUri(const Aws::String &value)
const Aws::String & GetBatchPredictionDataSourceId() const
BatchPrediction & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetStartedAt(const Aws::Utils::DateTime &value)
BatchPrediction & WithStatus(const EntityStatus &value)
BatchPrediction & WithFinishedAt(const Aws::Utils::DateTime &value)
BatchPrediction & WithCreatedByIamUser(const Aws::String &value)
void SetBatchPredictionDataSourceId(Aws::String &&value)
BatchPrediction & WithMLModelId(const char *value)
void SetStartedAt(Aws::Utils::DateTime &&value)
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
void SetMessage(const Aws::String &value)
BatchPrediction & WithInvalidRecordCount(long long value)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
BatchPrediction & WithStatus(EntityStatus &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
AWS_MACHINELEARNING_API Aws::Utils::Json::JsonValue Jsonize() const
BatchPrediction & WithInputDataLocationS3(const Aws::String &value)
BatchPrediction & WithTotalRecordCount(long long value)
BatchPrediction & WithBatchPredictionId(const Aws::String &value)
const Aws::String & GetInputDataLocationS3() const
BatchPrediction & WithMessage(Aws::String &&value)
void SetBatchPredictionDataSourceId(const Aws::String &value)
BatchPrediction & WithFinishedAt(Aws::Utils::DateTime &&value)
BatchPrediction & WithName(const Aws::String &value)
BatchPrediction & WithMLModelId(Aws::String &&value)
void SetBatchPredictionId(const Aws::String &value)
const Aws::Utils::DateTime & GetFinishedAt() const
BatchPrediction & WithMessage(const char *value)
void SetMLModelId(const Aws::String &value)
const Aws::String & GetCreatedByIamUser() const
void SetCreatedByIamUser(const Aws::String &value)
BatchPrediction & WithBatchPredictionDataSourceId(const char *value)
BatchPrediction & WithInputDataLocationS3(Aws::String &&value)
BatchPrediction & WithStartedAt(const Aws::Utils::DateTime &value)
void SetFinishedAt(Aws::Utils::DateTime &&value)
BatchPrediction & WithOutputUri(Aws::String &&value)
void SetInputDataLocationS3(const Aws::String &value)
BatchPrediction & WithComputeTime(long long value)
void SetStatus(const EntityStatus &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
BatchPrediction & WithMessage(const Aws::String &value)
BatchPrediction & WithBatchPredictionId(const char *value)
AWS_MACHINELEARNING_API BatchPrediction()
BatchPrediction & WithInputDataLocationS3(const char *value)
BatchPrediction & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue