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/frauddetector/FraudDetector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/frauddetector/model/AsyncJobStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace FraudDetector
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_FRAUDDETECTOR_API BatchPrediction();
36 AWS_FRAUDDETECTOR_API BatchPrediction(Aws::Utils::Json::JsonView jsonValue);
37 AWS_FRAUDDETECTOR_API BatchPrediction& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetJobId() const{ return m_jobId; }
46 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
47 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
48 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
49 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
50 inline BatchPrediction& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
51 inline BatchPrediction& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
52 inline BatchPrediction& WithJobId(const char* value) { SetJobId(value); return *this;}
54
56
59 inline const AsyncJobStatus& GetStatus() const{ return m_status; }
60 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
61 inline void SetStatus(const AsyncJobStatus& value) { m_statusHasBeenSet = true; m_status = value; }
62 inline void SetStatus(AsyncJobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
63 inline BatchPrediction& WithStatus(const AsyncJobStatus& value) { SetStatus(value); return *this;}
64 inline BatchPrediction& WithStatus(AsyncJobStatus&& value) { SetStatus(std::move(value)); return *this;}
66
68
71 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
72 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
73 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
74 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
75 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
76 inline BatchPrediction& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
77 inline BatchPrediction& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
78 inline BatchPrediction& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
80
82
85 inline const Aws::String& GetStartTime() const{ return m_startTime; }
86 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
87 inline void SetStartTime(const Aws::String& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
88 inline void SetStartTime(Aws::String&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
89 inline void SetStartTime(const char* value) { m_startTimeHasBeenSet = true; m_startTime.assign(value); }
90 inline BatchPrediction& WithStartTime(const Aws::String& value) { SetStartTime(value); return *this;}
91 inline BatchPrediction& WithStartTime(Aws::String&& value) { SetStartTime(std::move(value)); return *this;}
92 inline BatchPrediction& WithStartTime(const char* value) { SetStartTime(value); return *this;}
94
96
99 inline const Aws::String& GetCompletionTime() const{ return m_completionTime; }
100 inline bool CompletionTimeHasBeenSet() const { return m_completionTimeHasBeenSet; }
101 inline void SetCompletionTime(const Aws::String& value) { m_completionTimeHasBeenSet = true; m_completionTime = value; }
102 inline void SetCompletionTime(Aws::String&& value) { m_completionTimeHasBeenSet = true; m_completionTime = std::move(value); }
103 inline void SetCompletionTime(const char* value) { m_completionTimeHasBeenSet = true; m_completionTime.assign(value); }
104 inline BatchPrediction& WithCompletionTime(const Aws::String& value) { SetCompletionTime(value); return *this;}
105 inline BatchPrediction& WithCompletionTime(Aws::String&& value) { SetCompletionTime(std::move(value)); return *this;}
106 inline BatchPrediction& WithCompletionTime(const char* value) { SetCompletionTime(value); return *this;}
108
110
114 inline const Aws::String& GetLastHeartbeatTime() const{ return m_lastHeartbeatTime; }
115 inline bool LastHeartbeatTimeHasBeenSet() const { return m_lastHeartbeatTimeHasBeenSet; }
116 inline void SetLastHeartbeatTime(const Aws::String& value) { m_lastHeartbeatTimeHasBeenSet = true; m_lastHeartbeatTime = value; }
117 inline void SetLastHeartbeatTime(Aws::String&& value) { m_lastHeartbeatTimeHasBeenSet = true; m_lastHeartbeatTime = std::move(value); }
118 inline void SetLastHeartbeatTime(const char* value) { m_lastHeartbeatTimeHasBeenSet = true; m_lastHeartbeatTime.assign(value); }
119 inline BatchPrediction& WithLastHeartbeatTime(const Aws::String& value) { SetLastHeartbeatTime(value); return *this;}
120 inline BatchPrediction& WithLastHeartbeatTime(Aws::String&& value) { SetLastHeartbeatTime(std::move(value)); return *this;}
121 inline BatchPrediction& WithLastHeartbeatTime(const char* value) { SetLastHeartbeatTime(value); return *this;}
123
125
128 inline const Aws::String& GetInputPath() const{ return m_inputPath; }
129 inline bool InputPathHasBeenSet() const { return m_inputPathHasBeenSet; }
130 inline void SetInputPath(const Aws::String& value) { m_inputPathHasBeenSet = true; m_inputPath = value; }
131 inline void SetInputPath(Aws::String&& value) { m_inputPathHasBeenSet = true; m_inputPath = std::move(value); }
132 inline void SetInputPath(const char* value) { m_inputPathHasBeenSet = true; m_inputPath.assign(value); }
133 inline BatchPrediction& WithInputPath(const Aws::String& value) { SetInputPath(value); return *this;}
134 inline BatchPrediction& WithInputPath(Aws::String&& value) { SetInputPath(std::move(value)); return *this;}
135 inline BatchPrediction& WithInputPath(const char* value) { SetInputPath(value); return *this;}
137
139
142 inline const Aws::String& GetOutputPath() const{ return m_outputPath; }
143 inline bool OutputPathHasBeenSet() const { return m_outputPathHasBeenSet; }
144 inline void SetOutputPath(const Aws::String& value) { m_outputPathHasBeenSet = true; m_outputPath = value; }
145 inline void SetOutputPath(Aws::String&& value) { m_outputPathHasBeenSet = true; m_outputPath = std::move(value); }
146 inline void SetOutputPath(const char* value) { m_outputPathHasBeenSet = true; m_outputPath.assign(value); }
147 inline BatchPrediction& WithOutputPath(const Aws::String& value) { SetOutputPath(value); return *this;}
148 inline BatchPrediction& WithOutputPath(Aws::String&& value) { SetOutputPath(std::move(value)); return *this;}
149 inline BatchPrediction& WithOutputPath(const char* value) { SetOutputPath(value); return *this;}
151
153
156 inline const Aws::String& GetEventTypeName() const{ return m_eventTypeName; }
157 inline bool EventTypeNameHasBeenSet() const { return m_eventTypeNameHasBeenSet; }
158 inline void SetEventTypeName(const Aws::String& value) { m_eventTypeNameHasBeenSet = true; m_eventTypeName = value; }
159 inline void SetEventTypeName(Aws::String&& value) { m_eventTypeNameHasBeenSet = true; m_eventTypeName = std::move(value); }
160 inline void SetEventTypeName(const char* value) { m_eventTypeNameHasBeenSet = true; m_eventTypeName.assign(value); }
161 inline BatchPrediction& WithEventTypeName(const Aws::String& value) { SetEventTypeName(value); return *this;}
162 inline BatchPrediction& WithEventTypeName(Aws::String&& value) { SetEventTypeName(std::move(value)); return *this;}
163 inline BatchPrediction& WithEventTypeName(const char* value) { SetEventTypeName(value); return *this;}
165
167
170 inline const Aws::String& GetDetectorName() const{ return m_detectorName; }
171 inline bool DetectorNameHasBeenSet() const { return m_detectorNameHasBeenSet; }
172 inline void SetDetectorName(const Aws::String& value) { m_detectorNameHasBeenSet = true; m_detectorName = value; }
173 inline void SetDetectorName(Aws::String&& value) { m_detectorNameHasBeenSet = true; m_detectorName = std::move(value); }
174 inline void SetDetectorName(const char* value) { m_detectorNameHasBeenSet = true; m_detectorName.assign(value); }
175 inline BatchPrediction& WithDetectorName(const Aws::String& value) { SetDetectorName(value); return *this;}
176 inline BatchPrediction& WithDetectorName(Aws::String&& value) { SetDetectorName(std::move(value)); return *this;}
177 inline BatchPrediction& WithDetectorName(const char* value) { SetDetectorName(value); return *this;}
179
181
184 inline const Aws::String& GetDetectorVersion() const{ return m_detectorVersion; }
185 inline bool DetectorVersionHasBeenSet() const { return m_detectorVersionHasBeenSet; }
186 inline void SetDetectorVersion(const Aws::String& value) { m_detectorVersionHasBeenSet = true; m_detectorVersion = value; }
187 inline void SetDetectorVersion(Aws::String&& value) { m_detectorVersionHasBeenSet = true; m_detectorVersion = std::move(value); }
188 inline void SetDetectorVersion(const char* value) { m_detectorVersionHasBeenSet = true; m_detectorVersion.assign(value); }
189 inline BatchPrediction& WithDetectorVersion(const Aws::String& value) { SetDetectorVersion(value); return *this;}
190 inline BatchPrediction& WithDetectorVersion(Aws::String&& value) { SetDetectorVersion(std::move(value)); return *this;}
191 inline BatchPrediction& WithDetectorVersion(const char* value) { SetDetectorVersion(value); return *this;}
193
195
198 inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; }
199 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
200 inline void SetIamRoleArn(const Aws::String& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = value; }
201 inline void SetIamRoleArn(Aws::String&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::move(value); }
202 inline void SetIamRoleArn(const char* value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn.assign(value); }
203 inline BatchPrediction& WithIamRoleArn(const Aws::String& value) { SetIamRoleArn(value); return *this;}
204 inline BatchPrediction& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;}
205 inline BatchPrediction& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;}
207
209
212 inline const Aws::String& GetArn() const{ return m_arn; }
213 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
214 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
215 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
216 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
217 inline BatchPrediction& WithArn(const Aws::String& value) { SetArn(value); return *this;}
218 inline BatchPrediction& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
219 inline BatchPrediction& WithArn(const char* value) { SetArn(value); return *this;}
221
223
226 inline int GetProcessedRecordsCount() const{ return m_processedRecordsCount; }
227 inline bool ProcessedRecordsCountHasBeenSet() const { return m_processedRecordsCountHasBeenSet; }
228 inline void SetProcessedRecordsCount(int value) { m_processedRecordsCountHasBeenSet = true; m_processedRecordsCount = value; }
229 inline BatchPrediction& WithProcessedRecordsCount(int value) { SetProcessedRecordsCount(value); return *this;}
231
233
236 inline int GetTotalRecordsCount() const{ return m_totalRecordsCount; }
237 inline bool TotalRecordsCountHasBeenSet() const { return m_totalRecordsCountHasBeenSet; }
238 inline void SetTotalRecordsCount(int value) { m_totalRecordsCountHasBeenSet = true; m_totalRecordsCount = value; }
239 inline BatchPrediction& WithTotalRecordsCount(int value) { SetTotalRecordsCount(value); return *this;}
241 private:
242
243 Aws::String m_jobId;
244 bool m_jobIdHasBeenSet = false;
245
246 AsyncJobStatus m_status;
247 bool m_statusHasBeenSet = false;
248
249 Aws::String m_failureReason;
250 bool m_failureReasonHasBeenSet = false;
251
252 Aws::String m_startTime;
253 bool m_startTimeHasBeenSet = false;
254
255 Aws::String m_completionTime;
256 bool m_completionTimeHasBeenSet = false;
257
258 Aws::String m_lastHeartbeatTime;
259 bool m_lastHeartbeatTimeHasBeenSet = false;
260
261 Aws::String m_inputPath;
262 bool m_inputPathHasBeenSet = false;
263
264 Aws::String m_outputPath;
265 bool m_outputPathHasBeenSet = false;
266
267 Aws::String m_eventTypeName;
268 bool m_eventTypeNameHasBeenSet = false;
269
270 Aws::String m_detectorName;
271 bool m_detectorNameHasBeenSet = false;
272
273 Aws::String m_detectorVersion;
274 bool m_detectorVersionHasBeenSet = false;
275
276 Aws::String m_iamRoleArn;
277 bool m_iamRoleArnHasBeenSet = false;
278
279 Aws::String m_arn;
280 bool m_arnHasBeenSet = false;
281
282 int m_processedRecordsCount;
283 bool m_processedRecordsCountHasBeenSet = false;
284
285 int m_totalRecordsCount;
286 bool m_totalRecordsCountHasBeenSet = false;
287 };
288
289} // namespace Model
290} // namespace FraudDetector
291} // namespace Aws
const Aws::String & GetOutputPath() const
void SetLastHeartbeatTime(const Aws::String &value)
void SetFailureReason(const Aws::String &value)
BatchPrediction & WithOutputPath(const char *value)
void SetStartTime(const Aws::String &value)
BatchPrediction & WithEventTypeName(Aws::String &&value)
BatchPrediction & WithEventTypeName(const Aws::String &value)
const Aws::String & GetIamRoleArn() const
BatchPrediction & WithDetectorVersion(const Aws::String &value)
BatchPrediction & WithFailureReason(Aws::String &&value)
void SetEventTypeName(const Aws::String &value)
const AsyncJobStatus & GetStatus() const
BatchPrediction & WithArn(const char *value)
void SetStatus(AsyncJobStatus &&value)
BatchPrediction & WithDetectorName(const Aws::String &value)
void SetCompletionTime(const Aws::String &value)
BatchPrediction & WithLastHeartbeatTime(Aws::String &&value)
const Aws::String & GetDetectorVersion() const
BatchPrediction & WithInputPath(Aws::String &&value)
const Aws::String & GetEventTypeName() const
BatchPrediction & WithArn(const Aws::String &value)
BatchPrediction & WithEventTypeName(const char *value)
BatchPrediction & WithLastHeartbeatTime(const char *value)
BatchPrediction & WithIamRoleArn(const Aws::String &value)
BatchPrediction & WithDetectorName(const char *value)
void SetJobId(const Aws::String &value)
AWS_FRAUDDETECTOR_API BatchPrediction & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDetectorVersion(const Aws::String &value)
const Aws::String & GetDetectorName() const
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOutputPath(const Aws::String &value)
BatchPrediction & WithLastHeartbeatTime(const Aws::String &value)
const Aws::String & GetFailureReason() const
BatchPrediction & WithJobId(const char *value)
BatchPrediction & WithJobId(Aws::String &&value)
BatchPrediction & WithDetectorVersion(const char *value)
void SetInputPath(const Aws::String &value)
const Aws::String & GetLastHeartbeatTime() const
BatchPrediction & WithProcessedRecordsCount(int value)
BatchPrediction & WithStartTime(const char *value)
BatchPrediction & WithFailureReason(const Aws::String &value)
BatchPrediction & WithIamRoleArn(const char *value)
void SetLastHeartbeatTime(Aws::String &&value)
BatchPrediction & WithStatus(const AsyncJobStatus &value)
BatchPrediction & WithInputPath(const char *value)
AWS_FRAUDDETECTOR_API BatchPrediction(Aws::Utils::Json::JsonView jsonValue)
BatchPrediction & WithStartTime(Aws::String &&value)
BatchPrediction & WithCompletionTime(const Aws::String &value)
BatchPrediction & WithDetectorName(Aws::String &&value)
const Aws::String & GetStartTime() const
BatchPrediction & WithOutputPath(const Aws::String &value)
BatchPrediction & WithIamRoleArn(Aws::String &&value)
BatchPrediction & WithTotalRecordsCount(int value)
BatchPrediction & WithDetectorVersion(Aws::String &&value)
BatchPrediction & WithJobId(const Aws::String &value)
BatchPrediction & WithInputPath(const Aws::String &value)
void SetArn(const Aws::String &value)
BatchPrediction & WithCompletionTime(const char *value)
void SetDetectorName(const Aws::String &value)
const Aws::String & GetCompletionTime() const
BatchPrediction & WithStatus(AsyncJobStatus &&value)
BatchPrediction & WithStartTime(const Aws::String &value)
void SetStatus(const AsyncJobStatus &value)
BatchPrediction & WithArn(Aws::String &&value)
BatchPrediction & WithFailureReason(const char *value)
BatchPrediction & WithCompletionTime(Aws::String &&value)
void SetIamRoleArn(const Aws::String &value)
BatchPrediction & WithOutputPath(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue