AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename JobIdT = Aws::String>
48 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet = true; m_jobId = std::forward<JobIdT>(value); }
49 template<typename JobIdT = Aws::String>
50 BatchPrediction& WithJobId(JobIdT&& value) { SetJobId(std::forward<JobIdT>(value)); return *this;}
52
54
57 inline AsyncJobStatus GetStatus() const { return m_status; }
58 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
59 inline void SetStatus(AsyncJobStatus value) { m_statusHasBeenSet = true; m_status = value; }
60 inline BatchPrediction& WithStatus(AsyncJobStatus value) { SetStatus(value); return *this;}
62
64
67 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
68 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
69 template<typename FailureReasonT = Aws::String>
70 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::forward<FailureReasonT>(value); }
71 template<typename FailureReasonT = Aws::String>
72 BatchPrediction& WithFailureReason(FailureReasonT&& value) { SetFailureReason(std::forward<FailureReasonT>(value)); return *this;}
74
76
79 inline const Aws::String& GetStartTime() const { return m_startTime; }
80 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
81 template<typename StartTimeT = Aws::String>
82 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
83 template<typename StartTimeT = Aws::String>
84 BatchPrediction& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
86
88
91 inline const Aws::String& GetCompletionTime() const { return m_completionTime; }
92 inline bool CompletionTimeHasBeenSet() const { return m_completionTimeHasBeenSet; }
93 template<typename CompletionTimeT = Aws::String>
94 void SetCompletionTime(CompletionTimeT&& value) { m_completionTimeHasBeenSet = true; m_completionTime = std::forward<CompletionTimeT>(value); }
95 template<typename CompletionTimeT = Aws::String>
96 BatchPrediction& WithCompletionTime(CompletionTimeT&& value) { SetCompletionTime(std::forward<CompletionTimeT>(value)); return *this;}
98
100
104 inline const Aws::String& GetLastHeartbeatTime() const { return m_lastHeartbeatTime; }
105 inline bool LastHeartbeatTimeHasBeenSet() const { return m_lastHeartbeatTimeHasBeenSet; }
106 template<typename LastHeartbeatTimeT = Aws::String>
107 void SetLastHeartbeatTime(LastHeartbeatTimeT&& value) { m_lastHeartbeatTimeHasBeenSet = true; m_lastHeartbeatTime = std::forward<LastHeartbeatTimeT>(value); }
108 template<typename LastHeartbeatTimeT = Aws::String>
109 BatchPrediction& WithLastHeartbeatTime(LastHeartbeatTimeT&& value) { SetLastHeartbeatTime(std::forward<LastHeartbeatTimeT>(value)); return *this;}
111
113
116 inline const Aws::String& GetInputPath() const { return m_inputPath; }
117 inline bool InputPathHasBeenSet() const { return m_inputPathHasBeenSet; }
118 template<typename InputPathT = Aws::String>
119 void SetInputPath(InputPathT&& value) { m_inputPathHasBeenSet = true; m_inputPath = std::forward<InputPathT>(value); }
120 template<typename InputPathT = Aws::String>
121 BatchPrediction& WithInputPath(InputPathT&& value) { SetInputPath(std::forward<InputPathT>(value)); return *this;}
123
125
128 inline const Aws::String& GetOutputPath() const { return m_outputPath; }
129 inline bool OutputPathHasBeenSet() const { return m_outputPathHasBeenSet; }
130 template<typename OutputPathT = Aws::String>
131 void SetOutputPath(OutputPathT&& value) { m_outputPathHasBeenSet = true; m_outputPath = std::forward<OutputPathT>(value); }
132 template<typename OutputPathT = Aws::String>
133 BatchPrediction& WithOutputPath(OutputPathT&& value) { SetOutputPath(std::forward<OutputPathT>(value)); return *this;}
135
137
140 inline const Aws::String& GetEventTypeName() const { return m_eventTypeName; }
141 inline bool EventTypeNameHasBeenSet() const { return m_eventTypeNameHasBeenSet; }
142 template<typename EventTypeNameT = Aws::String>
143 void SetEventTypeName(EventTypeNameT&& value) { m_eventTypeNameHasBeenSet = true; m_eventTypeName = std::forward<EventTypeNameT>(value); }
144 template<typename EventTypeNameT = Aws::String>
145 BatchPrediction& WithEventTypeName(EventTypeNameT&& value) { SetEventTypeName(std::forward<EventTypeNameT>(value)); return *this;}
147
149
152 inline const Aws::String& GetDetectorName() const { return m_detectorName; }
153 inline bool DetectorNameHasBeenSet() const { return m_detectorNameHasBeenSet; }
154 template<typename DetectorNameT = Aws::String>
155 void SetDetectorName(DetectorNameT&& value) { m_detectorNameHasBeenSet = true; m_detectorName = std::forward<DetectorNameT>(value); }
156 template<typename DetectorNameT = Aws::String>
157 BatchPrediction& WithDetectorName(DetectorNameT&& value) { SetDetectorName(std::forward<DetectorNameT>(value)); return *this;}
159
161
164 inline const Aws::String& GetDetectorVersion() const { return m_detectorVersion; }
165 inline bool DetectorVersionHasBeenSet() const { return m_detectorVersionHasBeenSet; }
166 template<typename DetectorVersionT = Aws::String>
167 void SetDetectorVersion(DetectorVersionT&& value) { m_detectorVersionHasBeenSet = true; m_detectorVersion = std::forward<DetectorVersionT>(value); }
168 template<typename DetectorVersionT = Aws::String>
169 BatchPrediction& WithDetectorVersion(DetectorVersionT&& value) { SetDetectorVersion(std::forward<DetectorVersionT>(value)); return *this;}
171
173
176 inline const Aws::String& GetIamRoleArn() const { return m_iamRoleArn; }
177 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
178 template<typename IamRoleArnT = Aws::String>
179 void SetIamRoleArn(IamRoleArnT&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::forward<IamRoleArnT>(value); }
180 template<typename IamRoleArnT = Aws::String>
181 BatchPrediction& WithIamRoleArn(IamRoleArnT&& value) { SetIamRoleArn(std::forward<IamRoleArnT>(value)); return *this;}
183
185
188 inline const Aws::String& GetArn() const { return m_arn; }
189 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
190 template<typename ArnT = Aws::String>
191 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
192 template<typename ArnT = Aws::String>
193 BatchPrediction& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
195
197
200 inline int GetProcessedRecordsCount() const { return m_processedRecordsCount; }
201 inline bool ProcessedRecordsCountHasBeenSet() const { return m_processedRecordsCountHasBeenSet; }
202 inline void SetProcessedRecordsCount(int value) { m_processedRecordsCountHasBeenSet = true; m_processedRecordsCount = value; }
203 inline BatchPrediction& WithProcessedRecordsCount(int value) { SetProcessedRecordsCount(value); return *this;}
205
207
210 inline int GetTotalRecordsCount() const { return m_totalRecordsCount; }
211 inline bool TotalRecordsCountHasBeenSet() const { return m_totalRecordsCountHasBeenSet; }
212 inline void SetTotalRecordsCount(int value) { m_totalRecordsCountHasBeenSet = true; m_totalRecordsCount = value; }
213 inline BatchPrediction& WithTotalRecordsCount(int value) { SetTotalRecordsCount(value); return *this;}
215 private:
216
217 Aws::String m_jobId;
218 bool m_jobIdHasBeenSet = false;
219
221 bool m_statusHasBeenSet = false;
222
223 Aws::String m_failureReason;
224 bool m_failureReasonHasBeenSet = false;
225
226 Aws::String m_startTime;
227 bool m_startTimeHasBeenSet = false;
228
229 Aws::String m_completionTime;
230 bool m_completionTimeHasBeenSet = false;
231
232 Aws::String m_lastHeartbeatTime;
233 bool m_lastHeartbeatTimeHasBeenSet = false;
234
235 Aws::String m_inputPath;
236 bool m_inputPathHasBeenSet = false;
237
238 Aws::String m_outputPath;
239 bool m_outputPathHasBeenSet = false;
240
241 Aws::String m_eventTypeName;
242 bool m_eventTypeNameHasBeenSet = false;
243
244 Aws::String m_detectorName;
245 bool m_detectorNameHasBeenSet = false;
246
247 Aws::String m_detectorVersion;
248 bool m_detectorVersionHasBeenSet = false;
249
250 Aws::String m_iamRoleArn;
251 bool m_iamRoleArnHasBeenSet = false;
252
253 Aws::String m_arn;
254 bool m_arnHasBeenSet = false;
255
256 int m_processedRecordsCount{0};
257 bool m_processedRecordsCountHasBeenSet = false;
258
259 int m_totalRecordsCount{0};
260 bool m_totalRecordsCountHasBeenSet = false;
261 };
262
263} // namespace Model
264} // namespace FraudDetector
265} // namespace Aws
const Aws::String & GetOutputPath() const
BatchPrediction & WithOutputPath(OutputPathT &&value)
BatchPrediction & WithArn(ArnT &&value)
void SetDetectorVersion(DetectorVersionT &&value)
BatchPrediction & WithEventTypeName(EventTypeNameT &&value)
BatchPrediction & WithInputPath(InputPathT &&value)
BatchPrediction & WithCompletionTime(CompletionTimeT &&value)
const Aws::String & GetIamRoleArn() const
BatchPrediction & WithLastHeartbeatTime(LastHeartbeatTimeT &&value)
BatchPrediction & WithFailureReason(FailureReasonT &&value)
void SetDetectorName(DetectorNameT &&value)
const Aws::String & GetDetectorVersion() const
const Aws::String & GetEventTypeName() const
void SetEventTypeName(EventTypeNameT &&value)
AWS_FRAUDDETECTOR_API BatchPrediction & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastHeartbeatTime(LastHeartbeatTimeT &&value)
const Aws::String & GetDetectorName() const
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFailureReason(FailureReasonT &&value)
BatchPrediction & WithStatus(AsyncJobStatus value)
const Aws::String & GetFailureReason() const
BatchPrediction & WithDetectorVersion(DetectorVersionT &&value)
BatchPrediction & WithJobId(JobIdT &&value)
const Aws::String & GetLastHeartbeatTime() const
BatchPrediction & WithIamRoleArn(IamRoleArnT &&value)
BatchPrediction & WithProcessedRecordsCount(int value)
AWS_FRAUDDETECTOR_API BatchPrediction(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetStartTime() const
AWS_FRAUDDETECTOR_API BatchPrediction()=default
BatchPrediction & WithTotalRecordsCount(int value)
void SetCompletionTime(CompletionTimeT &&value)
const Aws::String & GetCompletionTime() const
BatchPrediction & WithDetectorName(DetectorNameT &&value)
BatchPrediction & WithStartTime(StartTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue