AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename BatchPredictionIdT = Aws::String>
53 void SetBatchPredictionId(BatchPredictionIdT&& value) { m_batchPredictionIdHasBeenSet = true; m_batchPredictionId = std::forward<BatchPredictionIdT>(value); }
54 template<typename BatchPredictionIdT = Aws::String>
55 BatchPrediction& WithBatchPredictionId(BatchPredictionIdT&& value) { SetBatchPredictionId(std::forward<BatchPredictionIdT>(value)); return *this;}
57
59
63 inline const Aws::String& GetMLModelId() const { return m_mLModelId; }
64 inline bool MLModelIdHasBeenSet() const { return m_mLModelIdHasBeenSet; }
65 template<typename MLModelIdT = Aws::String>
66 void SetMLModelId(MLModelIdT&& value) { m_mLModelIdHasBeenSet = true; m_mLModelId = std::forward<MLModelIdT>(value); }
67 template<typename MLModelIdT = Aws::String>
68 BatchPrediction& WithMLModelId(MLModelIdT&& value) { SetMLModelId(std::forward<MLModelIdT>(value)); return *this;}
70
72
76 inline const Aws::String& GetBatchPredictionDataSourceId() const { return m_batchPredictionDataSourceId; }
77 inline bool BatchPredictionDataSourceIdHasBeenSet() const { return m_batchPredictionDataSourceIdHasBeenSet; }
78 template<typename BatchPredictionDataSourceIdT = Aws::String>
79 void SetBatchPredictionDataSourceId(BatchPredictionDataSourceIdT&& value) { m_batchPredictionDataSourceIdHasBeenSet = true; m_batchPredictionDataSourceId = std::forward<BatchPredictionDataSourceIdT>(value); }
80 template<typename BatchPredictionDataSourceIdT = Aws::String>
81 BatchPrediction& WithBatchPredictionDataSourceId(BatchPredictionDataSourceIdT&& value) { SetBatchPredictionDataSourceId(std::forward<BatchPredictionDataSourceIdT>(value)); return *this;}
83
85
89 inline const Aws::String& GetInputDataLocationS3() const { return m_inputDataLocationS3; }
90 inline bool InputDataLocationS3HasBeenSet() const { return m_inputDataLocationS3HasBeenSet; }
91 template<typename InputDataLocationS3T = Aws::String>
92 void SetInputDataLocationS3(InputDataLocationS3T&& value) { m_inputDataLocationS3HasBeenSet = true; m_inputDataLocationS3 = std::forward<InputDataLocationS3T>(value); }
93 template<typename InputDataLocationS3T = Aws::String>
94 BatchPrediction& WithInputDataLocationS3(InputDataLocationS3T&& value) { SetInputDataLocationS3(std::forward<InputDataLocationS3T>(value)); return *this;}
96
98
103 inline const Aws::String& GetCreatedByIamUser() const { return m_createdByIamUser; }
104 inline bool CreatedByIamUserHasBeenSet() const { return m_createdByIamUserHasBeenSet; }
105 template<typename CreatedByIamUserT = Aws::String>
106 void SetCreatedByIamUser(CreatedByIamUserT&& value) { m_createdByIamUserHasBeenSet = true; m_createdByIamUser = std::forward<CreatedByIamUserT>(value); }
107 template<typename CreatedByIamUserT = Aws::String>
108 BatchPrediction& WithCreatedByIamUser(CreatedByIamUserT&& value) { SetCreatedByIamUser(std::forward<CreatedByIamUserT>(value)); return *this;}
110
112
116 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
117 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
118 template<typename CreatedAtT = Aws::Utils::DateTime>
119 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
120 template<typename CreatedAtT = Aws::Utils::DateTime>
121 BatchPrediction& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
123
125
129 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
130 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
131 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
132 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
133 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
134 BatchPrediction& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
136
138
141 inline const Aws::String& GetName() const { return m_name; }
142 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
143 template<typename NameT = Aws::String>
144 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
145 template<typename NameT = Aws::String>
146 BatchPrediction& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
148
150
162 inline EntityStatus GetStatus() const { return m_status; }
163 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
164 inline void SetStatus(EntityStatus value) { m_statusHasBeenSet = true; m_status = value; }
165 inline BatchPrediction& WithStatus(EntityStatus value) { SetStatus(value); return *this;}
167
169
174 inline const Aws::String& GetOutputUri() const { return m_outputUri; }
175 inline bool OutputUriHasBeenSet() const { return m_outputUriHasBeenSet; }
176 template<typename OutputUriT = Aws::String>
177 void SetOutputUri(OutputUriT&& value) { m_outputUriHasBeenSet = true; m_outputUri = std::forward<OutputUriT>(value); }
178 template<typename OutputUriT = Aws::String>
179 BatchPrediction& WithOutputUri(OutputUriT&& value) { SetOutputUri(std::forward<OutputUriT>(value)); return *this;}
181
183
187 inline const Aws::String& GetMessage() const { return m_message; }
188 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
189 template<typename MessageT = Aws::String>
190 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
191 template<typename MessageT = Aws::String>
192 BatchPrediction& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
194
196
197 inline long long GetComputeTime() const { return m_computeTime; }
198 inline bool ComputeTimeHasBeenSet() const { return m_computeTimeHasBeenSet; }
199 inline void SetComputeTime(long long value) { m_computeTimeHasBeenSet = true; m_computeTime = value; }
200 inline BatchPrediction& WithComputeTime(long long value) { SetComputeTime(value); return *this;}
202
204
205 inline const Aws::Utils::DateTime& GetFinishedAt() const { return m_finishedAt; }
206 inline bool FinishedAtHasBeenSet() const { return m_finishedAtHasBeenSet; }
207 template<typename FinishedAtT = Aws::Utils::DateTime>
208 void SetFinishedAt(FinishedAtT&& value) { m_finishedAtHasBeenSet = true; m_finishedAt = std::forward<FinishedAtT>(value); }
209 template<typename FinishedAtT = Aws::Utils::DateTime>
210 BatchPrediction& WithFinishedAt(FinishedAtT&& value) { SetFinishedAt(std::forward<FinishedAtT>(value)); return *this;}
212
214
215 inline const Aws::Utils::DateTime& GetStartedAt() const { return m_startedAt; }
216 inline bool StartedAtHasBeenSet() const { return m_startedAtHasBeenSet; }
217 template<typename StartedAtT = Aws::Utils::DateTime>
218 void SetStartedAt(StartedAtT&& value) { m_startedAtHasBeenSet = true; m_startedAt = std::forward<StartedAtT>(value); }
219 template<typename StartedAtT = Aws::Utils::DateTime>
220 BatchPrediction& WithStartedAt(StartedAtT&& value) { SetStartedAt(std::forward<StartedAtT>(value)); return *this;}
222
224
225 inline long long GetTotalRecordCount() const { return m_totalRecordCount; }
226 inline bool TotalRecordCountHasBeenSet() const { return m_totalRecordCountHasBeenSet; }
227 inline void SetTotalRecordCount(long long value) { m_totalRecordCountHasBeenSet = true; m_totalRecordCount = value; }
228 inline BatchPrediction& WithTotalRecordCount(long long value) { SetTotalRecordCount(value); return *this;}
230
232
233 inline long long GetInvalidRecordCount() const { return m_invalidRecordCount; }
234 inline bool InvalidRecordCountHasBeenSet() const { return m_invalidRecordCountHasBeenSet; }
235 inline void SetInvalidRecordCount(long long value) { m_invalidRecordCountHasBeenSet = true; m_invalidRecordCount = value; }
236 inline BatchPrediction& WithInvalidRecordCount(long long value) { SetInvalidRecordCount(value); return *this;}
238 private:
239
240 Aws::String m_batchPredictionId;
241 bool m_batchPredictionIdHasBeenSet = false;
242
243 Aws::String m_mLModelId;
244 bool m_mLModelIdHasBeenSet = false;
245
246 Aws::String m_batchPredictionDataSourceId;
247 bool m_batchPredictionDataSourceIdHasBeenSet = false;
248
249 Aws::String m_inputDataLocationS3;
250 bool m_inputDataLocationS3HasBeenSet = false;
251
252 Aws::String m_createdByIamUser;
253 bool m_createdByIamUserHasBeenSet = false;
254
255 Aws::Utils::DateTime m_createdAt{};
256 bool m_createdAtHasBeenSet = false;
257
258 Aws::Utils::DateTime m_lastUpdatedAt{};
259 bool m_lastUpdatedAtHasBeenSet = false;
260
261 Aws::String m_name;
262 bool m_nameHasBeenSet = false;
263
265 bool m_statusHasBeenSet = false;
266
267 Aws::String m_outputUri;
268 bool m_outputUriHasBeenSet = false;
269
270 Aws::String m_message;
271 bool m_messageHasBeenSet = false;
272
273 long long m_computeTime{0};
274 bool m_computeTimeHasBeenSet = false;
275
276 Aws::Utils::DateTime m_finishedAt{};
277 bool m_finishedAtHasBeenSet = false;
278
279 Aws::Utils::DateTime m_startedAt{};
280 bool m_startedAtHasBeenSet = false;
281
282 long long m_totalRecordCount{0};
283 bool m_totalRecordCountHasBeenSet = false;
284
285 long long m_invalidRecordCount{0};
286 bool m_invalidRecordCountHasBeenSet = false;
287 };
288
289} // namespace Model
290} // namespace MachineLearning
291} // namespace Aws
AWS_MACHINELEARNING_API BatchPrediction(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_MACHINELEARNING_API BatchPrediction & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBatchPredictionId(BatchPredictionIdT &&value)
const Aws::Utils::DateTime & GetStartedAt() const
const Aws::String & GetBatchPredictionId() const
BatchPrediction & WithCreatedByIamUser(CreatedByIamUserT &&value)
BatchPrediction & WithInputDataLocationS3(InputDataLocationS3T &&value)
BatchPrediction & WithMLModelId(MLModelIdT &&value)
const Aws::String & GetBatchPredictionDataSourceId() const
BatchPrediction & WithMessage(MessageT &&value)
BatchPrediction & WithName(NameT &&value)
AWS_MACHINELEARNING_API BatchPrediction()=default
BatchPrediction & WithFinishedAt(FinishedAtT &&value)
BatchPrediction & WithInvalidRecordCount(long long value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
AWS_MACHINELEARNING_API Aws::Utils::Json::JsonValue Jsonize() const
BatchPrediction & WithTotalRecordCount(long long value)
const Aws::String & GetInputDataLocationS3() const
BatchPrediction & WithLastUpdatedAt(LastUpdatedAtT &&value)
void SetBatchPredictionDataSourceId(BatchPredictionDataSourceIdT &&value)
const Aws::Utils::DateTime & GetFinishedAt() const
BatchPrediction & WithOutputUri(OutputUriT &&value)
BatchPrediction & WithBatchPredictionId(BatchPredictionIdT &&value)
BatchPrediction & WithCreatedAt(CreatedAtT &&value)
void SetLastUpdatedAt(LastUpdatedAtT &&value)
BatchPrediction & WithStatus(EntityStatus value)
const Aws::String & GetCreatedByIamUser() const
void SetInputDataLocationS3(InputDataLocationS3T &&value)
BatchPrediction & WithStartedAt(StartedAtT &&value)
BatchPrediction & WithComputeTime(long long value)
void SetCreatedByIamUser(CreatedByIamUserT &&value)
BatchPrediction & WithBatchPredictionDataSourceId(BatchPredictionDataSourceIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue