AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchImport.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 BatchImport();
36 AWS_FRAUDDETECTOR_API BatchImport(Aws::Utils::Json::JsonView jsonValue);
37 AWS_FRAUDDETECTOR_API BatchImport& 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 BatchImport& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
51 inline BatchImport& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
52 inline BatchImport& 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 BatchImport& WithStatus(const AsyncJobStatus& value) { SetStatus(value); return *this;}
64 inline BatchImport& 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 BatchImport& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
77 inline BatchImport& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
78 inline BatchImport& 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 BatchImport& WithStartTime(const Aws::String& value) { SetStartTime(value); return *this;}
91 inline BatchImport& WithStartTime(Aws::String&& value) { SetStartTime(std::move(value)); return *this;}
92 inline BatchImport& 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 BatchImport& WithCompletionTime(const Aws::String& value) { SetCompletionTime(value); return *this;}
105 inline BatchImport& WithCompletionTime(Aws::String&& value) { SetCompletionTime(std::move(value)); return *this;}
106 inline BatchImport& WithCompletionTime(const char* value) { SetCompletionTime(value); return *this;}
108
110
113 inline const Aws::String& GetInputPath() const{ return m_inputPath; }
114 inline bool InputPathHasBeenSet() const { return m_inputPathHasBeenSet; }
115 inline void SetInputPath(const Aws::String& value) { m_inputPathHasBeenSet = true; m_inputPath = value; }
116 inline void SetInputPath(Aws::String&& value) { m_inputPathHasBeenSet = true; m_inputPath = std::move(value); }
117 inline void SetInputPath(const char* value) { m_inputPathHasBeenSet = true; m_inputPath.assign(value); }
118 inline BatchImport& WithInputPath(const Aws::String& value) { SetInputPath(value); return *this;}
119 inline BatchImport& WithInputPath(Aws::String&& value) { SetInputPath(std::move(value)); return *this;}
120 inline BatchImport& WithInputPath(const char* value) { SetInputPath(value); return *this;}
122
124
127 inline const Aws::String& GetOutputPath() const{ return m_outputPath; }
128 inline bool OutputPathHasBeenSet() const { return m_outputPathHasBeenSet; }
129 inline void SetOutputPath(const Aws::String& value) { m_outputPathHasBeenSet = true; m_outputPath = value; }
130 inline void SetOutputPath(Aws::String&& value) { m_outputPathHasBeenSet = true; m_outputPath = std::move(value); }
131 inline void SetOutputPath(const char* value) { m_outputPathHasBeenSet = true; m_outputPath.assign(value); }
132 inline BatchImport& WithOutputPath(const Aws::String& value) { SetOutputPath(value); return *this;}
133 inline BatchImport& WithOutputPath(Aws::String&& value) { SetOutputPath(std::move(value)); return *this;}
134 inline BatchImport& WithOutputPath(const char* value) { SetOutputPath(value); return *this;}
136
138
141 inline const Aws::String& GetEventTypeName() const{ return m_eventTypeName; }
142 inline bool EventTypeNameHasBeenSet() const { return m_eventTypeNameHasBeenSet; }
143 inline void SetEventTypeName(const Aws::String& value) { m_eventTypeNameHasBeenSet = true; m_eventTypeName = value; }
144 inline void SetEventTypeName(Aws::String&& value) { m_eventTypeNameHasBeenSet = true; m_eventTypeName = std::move(value); }
145 inline void SetEventTypeName(const char* value) { m_eventTypeNameHasBeenSet = true; m_eventTypeName.assign(value); }
146 inline BatchImport& WithEventTypeName(const Aws::String& value) { SetEventTypeName(value); return *this;}
147 inline BatchImport& WithEventTypeName(Aws::String&& value) { SetEventTypeName(std::move(value)); return *this;}
148 inline BatchImport& WithEventTypeName(const char* value) { SetEventTypeName(value); return *this;}
150
152
155 inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; }
156 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
157 inline void SetIamRoleArn(const Aws::String& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = value; }
158 inline void SetIamRoleArn(Aws::String&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::move(value); }
159 inline void SetIamRoleArn(const char* value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn.assign(value); }
160 inline BatchImport& WithIamRoleArn(const Aws::String& value) { SetIamRoleArn(value); return *this;}
161 inline BatchImport& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;}
162 inline BatchImport& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;}
164
166
169 inline const Aws::String& GetArn() const{ return m_arn; }
170 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
171 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
172 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
173 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
174 inline BatchImport& WithArn(const Aws::String& value) { SetArn(value); return *this;}
175 inline BatchImport& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
176 inline BatchImport& WithArn(const char* value) { SetArn(value); return *this;}
178
180
183 inline int GetProcessedRecordsCount() const{ return m_processedRecordsCount; }
184 inline bool ProcessedRecordsCountHasBeenSet() const { return m_processedRecordsCountHasBeenSet; }
185 inline void SetProcessedRecordsCount(int value) { m_processedRecordsCountHasBeenSet = true; m_processedRecordsCount = value; }
186 inline BatchImport& WithProcessedRecordsCount(int value) { SetProcessedRecordsCount(value); return *this;}
188
190
193 inline int GetFailedRecordsCount() const{ return m_failedRecordsCount; }
194 inline bool FailedRecordsCountHasBeenSet() const { return m_failedRecordsCountHasBeenSet; }
195 inline void SetFailedRecordsCount(int value) { m_failedRecordsCountHasBeenSet = true; m_failedRecordsCount = value; }
196 inline BatchImport& WithFailedRecordsCount(int value) { SetFailedRecordsCount(value); return *this;}
198
200
203 inline int GetTotalRecordsCount() const{ return m_totalRecordsCount; }
204 inline bool TotalRecordsCountHasBeenSet() const { return m_totalRecordsCountHasBeenSet; }
205 inline void SetTotalRecordsCount(int value) { m_totalRecordsCountHasBeenSet = true; m_totalRecordsCount = value; }
206 inline BatchImport& WithTotalRecordsCount(int value) { SetTotalRecordsCount(value); return *this;}
208 private:
209
210 Aws::String m_jobId;
211 bool m_jobIdHasBeenSet = false;
212
213 AsyncJobStatus m_status;
214 bool m_statusHasBeenSet = false;
215
216 Aws::String m_failureReason;
217 bool m_failureReasonHasBeenSet = false;
218
219 Aws::String m_startTime;
220 bool m_startTimeHasBeenSet = false;
221
222 Aws::String m_completionTime;
223 bool m_completionTimeHasBeenSet = false;
224
225 Aws::String m_inputPath;
226 bool m_inputPathHasBeenSet = false;
227
228 Aws::String m_outputPath;
229 bool m_outputPathHasBeenSet = false;
230
231 Aws::String m_eventTypeName;
232 bool m_eventTypeNameHasBeenSet = false;
233
234 Aws::String m_iamRoleArn;
235 bool m_iamRoleArnHasBeenSet = false;
236
237 Aws::String m_arn;
238 bool m_arnHasBeenSet = false;
239
240 int m_processedRecordsCount;
241 bool m_processedRecordsCountHasBeenSet = false;
242
243 int m_failedRecordsCount;
244 bool m_failedRecordsCountHasBeenSet = false;
245
246 int m_totalRecordsCount;
247 bool m_totalRecordsCountHasBeenSet = false;
248 };
249
250} // namespace Model
251} // namespace FraudDetector
252} // namespace Aws
BatchImport & WithInputPath(Aws::String &&value)
BatchImport & WithJobId(const char *value)
Definition BatchImport.h:52
BatchImport & WithFailureReason(const char *value)
Definition BatchImport.h:78
BatchImport & WithEventTypeName(Aws::String &&value)
const Aws::String & GetJobId() const
Definition BatchImport.h:45
void SetInputPath(const char *value)
const Aws::String & GetInputPath() const
const Aws::String & GetFailureReason() const
Definition BatchImport.h:71
BatchImport & WithOutputPath(const Aws::String &value)
BatchImport & WithStatus(const AsyncJobStatus &value)
Definition BatchImport.h:63
void SetJobId(const char *value)
Definition BatchImport.h:49
void SetStatus(AsyncJobStatus &&value)
Definition BatchImport.h:62
BatchImport & WithOutputPath(Aws::String &&value)
const Aws::String & GetEventTypeName() const
void SetOutputPath(Aws::String &&value)
void SetEventTypeName(const char *value)
const Aws::String & GetCompletionTime() const
Definition BatchImport.h:99
void SetJobId(Aws::String &&value)
Definition BatchImport.h:48
void SetInputPath(const Aws::String &value)
AWS_FRAUDDETECTOR_API BatchImport & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchImport & WithCompletionTime(const Aws::String &value)
BatchImport & WithCompletionTime(Aws::String &&value)
BatchImport & WithArn(const char *value)
BatchImport & WithInputPath(const char *value)
void SetArn(const Aws::String &value)
void SetFailureReason(Aws::String &&value)
Definition BatchImport.h:74
BatchImport & WithIamRoleArn(const Aws::String &value)
void SetJobId(const Aws::String &value)
Definition BatchImport.h:47
void SetEventTypeName(Aws::String &&value)
const Aws::String & GetIamRoleArn() const
void SetCompletionTime(const Aws::String &value)
void SetCompletionTime(const char *value)
AWS_FRAUDDETECTOR_API BatchImport(Aws::Utils::Json::JsonView jsonValue)
void SetFailureReason(const Aws::String &value)
Definition BatchImport.h:73
BatchImport & WithArn(const Aws::String &value)
BatchImport & WithInputPath(const Aws::String &value)
const Aws::String & GetArn() const
void SetCompletionTime(Aws::String &&value)
BatchImport & WithEventTypeName(const char *value)
BatchImport & WithFailureReason(Aws::String &&value)
Definition BatchImport.h:77
BatchImport & WithCompletionTime(const char *value)
BatchImport & WithIamRoleArn(Aws::String &&value)
AWS_FRAUDDETECTOR_API BatchImport()
BatchImport & WithStartTime(const Aws::String &value)
Definition BatchImport.h:90
void SetStatus(const AsyncJobStatus &value)
Definition BatchImport.h:61
void SetStartTime(Aws::String &&value)
Definition BatchImport.h:88
void SetFailureReason(const char *value)
Definition BatchImport.h:75
void SetIamRoleArn(const char *value)
void SetOutputPath(const char *value)
void SetIamRoleArn(Aws::String &&value)
void SetIamRoleArn(const Aws::String &value)
void SetOutputPath(const Aws::String &value)
BatchImport & WithStatus(AsyncJobStatus &&value)
Definition BatchImport.h:64
BatchImport & WithTotalRecordsCount(int value)
BatchImport & WithIamRoleArn(const char *value)
BatchImport & WithOutputPath(const char *value)
BatchImport & WithFailureReason(const Aws::String &value)
Definition BatchImport.h:76
BatchImport & WithFailedRecordsCount(int value)
void SetEventTypeName(const Aws::String &value)
const Aws::String & GetOutputPath() const
BatchImport & WithProcessedRecordsCount(int value)
BatchImport & WithEventTypeName(const Aws::String &value)
void SetArn(Aws::String &&value)
BatchImport & WithJobId(const Aws::String &value)
Definition BatchImport.h:50
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStartTime(const Aws::String &value)
Definition BatchImport.h:87
void SetStartTime(const char *value)
Definition BatchImport.h:89
void SetInputPath(Aws::String &&value)
BatchImport & WithStartTime(const char *value)
Definition BatchImport.h:92
BatchImport & WithStartTime(Aws::String &&value)
Definition BatchImport.h:91
BatchImport & WithArn(Aws::String &&value)
BatchImport & WithJobId(Aws::String &&value)
Definition BatchImport.h:51
const AsyncJobStatus & GetStatus() const
Definition BatchImport.h:59
const Aws::String & GetStartTime() const
Definition BatchImport.h:85
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue