AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 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 BatchImport& 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 BatchImport& 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 BatchImport& 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 BatchImport& 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 BatchImport& WithCompletionTime(CompletionTimeT&& value) { SetCompletionTime(std::forward<CompletionTimeT>(value)); return *this;}
98
100
103 inline const Aws::String& GetInputPath() const { return m_inputPath; }
104 inline bool InputPathHasBeenSet() const { return m_inputPathHasBeenSet; }
105 template<typename InputPathT = Aws::String>
106 void SetInputPath(InputPathT&& value) { m_inputPathHasBeenSet = true; m_inputPath = std::forward<InputPathT>(value); }
107 template<typename InputPathT = Aws::String>
108 BatchImport& WithInputPath(InputPathT&& value) { SetInputPath(std::forward<InputPathT>(value)); return *this;}
110
112
115 inline const Aws::String& GetOutputPath() const { return m_outputPath; }
116 inline bool OutputPathHasBeenSet() const { return m_outputPathHasBeenSet; }
117 template<typename OutputPathT = Aws::String>
118 void SetOutputPath(OutputPathT&& value) { m_outputPathHasBeenSet = true; m_outputPath = std::forward<OutputPathT>(value); }
119 template<typename OutputPathT = Aws::String>
120 BatchImport& WithOutputPath(OutputPathT&& value) { SetOutputPath(std::forward<OutputPathT>(value)); return *this;}
122
124
127 inline const Aws::String& GetEventTypeName() const { return m_eventTypeName; }
128 inline bool EventTypeNameHasBeenSet() const { return m_eventTypeNameHasBeenSet; }
129 template<typename EventTypeNameT = Aws::String>
130 void SetEventTypeName(EventTypeNameT&& value) { m_eventTypeNameHasBeenSet = true; m_eventTypeName = std::forward<EventTypeNameT>(value); }
131 template<typename EventTypeNameT = Aws::String>
132 BatchImport& WithEventTypeName(EventTypeNameT&& value) { SetEventTypeName(std::forward<EventTypeNameT>(value)); return *this;}
134
136
139 inline const Aws::String& GetIamRoleArn() const { return m_iamRoleArn; }
140 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
141 template<typename IamRoleArnT = Aws::String>
142 void SetIamRoleArn(IamRoleArnT&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::forward<IamRoleArnT>(value); }
143 template<typename IamRoleArnT = Aws::String>
144 BatchImport& WithIamRoleArn(IamRoleArnT&& value) { SetIamRoleArn(std::forward<IamRoleArnT>(value)); return *this;}
146
148
151 inline const Aws::String& GetArn() const { return m_arn; }
152 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
153 template<typename ArnT = Aws::String>
154 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
155 template<typename ArnT = Aws::String>
156 BatchImport& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
158
160
163 inline int GetProcessedRecordsCount() const { return m_processedRecordsCount; }
164 inline bool ProcessedRecordsCountHasBeenSet() const { return m_processedRecordsCountHasBeenSet; }
165 inline void SetProcessedRecordsCount(int value) { m_processedRecordsCountHasBeenSet = true; m_processedRecordsCount = value; }
166 inline BatchImport& WithProcessedRecordsCount(int value) { SetProcessedRecordsCount(value); return *this;}
168
170
173 inline int GetFailedRecordsCount() const { return m_failedRecordsCount; }
174 inline bool FailedRecordsCountHasBeenSet() const { return m_failedRecordsCountHasBeenSet; }
175 inline void SetFailedRecordsCount(int value) { m_failedRecordsCountHasBeenSet = true; m_failedRecordsCount = value; }
176 inline BatchImport& WithFailedRecordsCount(int value) { SetFailedRecordsCount(value); return *this;}
178
180
183 inline int GetTotalRecordsCount() const { return m_totalRecordsCount; }
184 inline bool TotalRecordsCountHasBeenSet() const { return m_totalRecordsCountHasBeenSet; }
185 inline void SetTotalRecordsCount(int value) { m_totalRecordsCountHasBeenSet = true; m_totalRecordsCount = value; }
186 inline BatchImport& WithTotalRecordsCount(int value) { SetTotalRecordsCount(value); return *this;}
188 private:
189
190 Aws::String m_jobId;
191 bool m_jobIdHasBeenSet = false;
192
194 bool m_statusHasBeenSet = false;
195
196 Aws::String m_failureReason;
197 bool m_failureReasonHasBeenSet = false;
198
199 Aws::String m_startTime;
200 bool m_startTimeHasBeenSet = false;
201
202 Aws::String m_completionTime;
203 bool m_completionTimeHasBeenSet = false;
204
205 Aws::String m_inputPath;
206 bool m_inputPathHasBeenSet = false;
207
208 Aws::String m_outputPath;
209 bool m_outputPathHasBeenSet = false;
210
211 Aws::String m_eventTypeName;
212 bool m_eventTypeNameHasBeenSet = false;
213
214 Aws::String m_iamRoleArn;
215 bool m_iamRoleArnHasBeenSet = false;
216
217 Aws::String m_arn;
218 bool m_arnHasBeenSet = false;
219
220 int m_processedRecordsCount{0};
221 bool m_processedRecordsCountHasBeenSet = false;
222
223 int m_failedRecordsCount{0};
224 bool m_failedRecordsCountHasBeenSet = false;
225
226 int m_totalRecordsCount{0};
227 bool m_totalRecordsCountHasBeenSet = false;
228 };
229
230} // namespace Model
231} // namespace FraudDetector
232} // namespace Aws
void SetInputPath(InputPathT &&value)
void SetFailureReason(FailureReasonT &&value)
Definition BatchImport.h:70
const Aws::String & GetJobId() const
Definition BatchImport.h:45
void SetStartTime(StartTimeT &&value)
Definition BatchImport.h:82
const Aws::String & GetInputPath() const
const Aws::String & GetFailureReason() const
Definition BatchImport.h:67
void SetOutputPath(OutputPathT &&value)
const Aws::String & GetEventTypeName() const
BatchImport & WithOutputPath(OutputPathT &&value)
const Aws::String & GetCompletionTime() const
Definition BatchImport.h:91
void SetIamRoleArn(IamRoleArnT &&value)
BatchImport & WithIamRoleArn(IamRoleArnT &&value)
AWS_FRAUDDETECTOR_API BatchImport & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchImport & WithEventTypeName(EventTypeNameT &&value)
const Aws::String & GetIamRoleArn() const
void SetCompletionTime(CompletionTimeT &&value)
Definition BatchImport.h:94
AWS_FRAUDDETECTOR_API BatchImport(Aws::Utils::Json::JsonView jsonValue)
BatchImport & WithJobId(JobIdT &&value)
Definition BatchImport.h:50
const Aws::String & GetArn() const
void SetEventTypeName(EventTypeNameT &&value)
BatchImport & WithArn(ArnT &&value)
AWS_FRAUDDETECTOR_API BatchImport()=default
BatchImport & WithTotalRecordsCount(int value)
BatchImport & WithFailedRecordsCount(int value)
const Aws::String & GetOutputPath() const
BatchImport & WithCompletionTime(CompletionTimeT &&value)
Definition BatchImport.h:96
BatchImport & WithProcessedRecordsCount(int value)
BatchImport & WithInputPath(InputPathT &&value)
BatchImport & WithStartTime(StartTimeT &&value)
Definition BatchImport.h:84
void SetStatus(AsyncJobStatus value)
Definition BatchImport.h:59
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
BatchImport & WithFailureReason(FailureReasonT &&value)
Definition BatchImport.h:72
BatchImport & WithStatus(AsyncJobStatus value)
Definition BatchImport.h:60
const Aws::String & GetStartTime() const
Definition BatchImport.h:79
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue