AWS SDK for C++

AWS SDK for C++ Version 1.11.768

Loading...
Searching...
No Matches
FraudsterRegistrationJob.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/voice-id/VoiceID_EXPORTS.h>
10#include <aws/voice-id/model/FailureDetails.h>
11#include <aws/voice-id/model/FraudsterRegistrationJobStatus.h>
12#include <aws/voice-id/model/InputDataConfig.h>
13#include <aws/voice-id/model/JobProgress.h>
14#include <aws/voice-id/model/OutputDataConfig.h>
15#include <aws/voice-id/model/RegistrationConfig.h>
16
17#include <utility>
18
19namespace Aws {
20namespace Utils {
21namespace Json {
22class JsonValue;
23class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace VoiceID {
27namespace Model {
28
36 public:
37 AWS_VOICEID_API FraudsterRegistrationJob() = default;
40 AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
46 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
47 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
48 template <typename CreatedAtT = Aws::Utils::DateTime>
49 void SetCreatedAt(CreatedAtT&& value) {
50 m_createdAtHasBeenSet = true;
51 m_createdAt = std::forward<CreatedAtT>(value);
52 }
53 template <typename CreatedAtT = Aws::Utils::DateTime>
55 SetCreatedAt(std::forward<CreatedAtT>(value));
56 return *this;
57 }
59
61
66 inline const Aws::String& GetDataAccessRoleArn() const { return m_dataAccessRoleArn; }
67 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
68 template <typename DataAccessRoleArnT = Aws::String>
69 void SetDataAccessRoleArn(DataAccessRoleArnT&& value) {
70 m_dataAccessRoleArnHasBeenSet = true;
71 m_dataAccessRoleArn = std::forward<DataAccessRoleArnT>(value);
72 }
73 template <typename DataAccessRoleArnT = Aws::String>
74 FraudsterRegistrationJob& WithDataAccessRoleArn(DataAccessRoleArnT&& value) {
75 SetDataAccessRoleArn(std::forward<DataAccessRoleArnT>(value));
76 return *this;
77 }
79
81
85 inline const Aws::String& GetDomainId() const { return m_domainId; }
86 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
87 template <typename DomainIdT = Aws::String>
88 void SetDomainId(DomainIdT&& value) {
89 m_domainIdHasBeenSet = true;
90 m_domainId = std::forward<DomainIdT>(value);
91 }
92 template <typename DomainIdT = Aws::String>
94 SetDomainId(std::forward<DomainIdT>(value));
95 return *this;
96 }
98
100
103 inline const Aws::Utils::DateTime& GetEndedAt() const { return m_endedAt; }
104 inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; }
105 template <typename EndedAtT = Aws::Utils::DateTime>
106 void SetEndedAt(EndedAtT&& value) {
107 m_endedAtHasBeenSet = true;
108 m_endedAt = std::forward<EndedAtT>(value);
109 }
110 template <typename EndedAtT = Aws::Utils::DateTime>
112 SetEndedAt(std::forward<EndedAtT>(value));
113 return *this;
114 }
116
118
125 inline const FailureDetails& GetFailureDetails() const { return m_failureDetails; }
126 inline bool FailureDetailsHasBeenSet() const { return m_failureDetailsHasBeenSet; }
127 template <typename FailureDetailsT = FailureDetails>
128 void SetFailureDetails(FailureDetailsT&& value) {
129 m_failureDetailsHasBeenSet = true;
130 m_failureDetails = std::forward<FailureDetailsT>(value);
131 }
132 template <typename FailureDetailsT = FailureDetails>
134 SetFailureDetails(std::forward<FailureDetailsT>(value));
135 return *this;
136 }
138
140
144 inline const InputDataConfig& GetInputDataConfig() const { return m_inputDataConfig; }
145 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
146 template <typename InputDataConfigT = InputDataConfig>
147 void SetInputDataConfig(InputDataConfigT&& value) {
148 m_inputDataConfigHasBeenSet = true;
149 m_inputDataConfig = std::forward<InputDataConfigT>(value);
150 }
151 template <typename InputDataConfigT = InputDataConfig>
153 SetInputDataConfig(std::forward<InputDataConfigT>(value));
154 return *this;
155 }
157
159
162 inline const Aws::String& GetJobId() const { return m_jobId; }
163 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
164 template <typename JobIdT = Aws::String>
165 void SetJobId(JobIdT&& value) {
166 m_jobIdHasBeenSet = true;
167 m_jobId = std::forward<JobIdT>(value);
168 }
169 template <typename JobIdT = Aws::String>
171 SetJobId(std::forward<JobIdT>(value));
172 return *this;
173 }
175
177
180 inline const Aws::String& GetJobName() const { return m_jobName; }
181 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
182 template <typename JobNameT = Aws::String>
183 void SetJobName(JobNameT&& value) {
184 m_jobNameHasBeenSet = true;
185 m_jobName = std::forward<JobNameT>(value);
186 }
187 template <typename JobNameT = Aws::String>
189 SetJobName(std::forward<JobNameT>(value));
190 return *this;
191 }
193
195
199 inline const JobProgress& GetJobProgress() const { return m_jobProgress; }
200 inline bool JobProgressHasBeenSet() const { return m_jobProgressHasBeenSet; }
201 template <typename JobProgressT = JobProgress>
202 void SetJobProgress(JobProgressT&& value) {
203 m_jobProgressHasBeenSet = true;
204 m_jobProgress = std::forward<JobProgressT>(value);
205 }
206 template <typename JobProgressT = JobProgress>
208 SetJobProgress(std::forward<JobProgressT>(value));
209 return *this;
210 }
212
214
217 inline FraudsterRegistrationJobStatus GetJobStatus() const { return m_jobStatus; }
218 inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; }
220 m_jobStatusHasBeenSet = true;
221 m_jobStatus = value;
222 }
224 SetJobStatus(value);
225 return *this;
226 }
228
230
235 inline const OutputDataConfig& GetOutputDataConfig() const { return m_outputDataConfig; }
236 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
237 template <typename OutputDataConfigT = OutputDataConfig>
238 void SetOutputDataConfig(OutputDataConfigT&& value) {
239 m_outputDataConfigHasBeenSet = true;
240 m_outputDataConfig = std::forward<OutputDataConfigT>(value);
241 }
242 template <typename OutputDataConfigT = OutputDataConfig>
243 FraudsterRegistrationJob& WithOutputDataConfig(OutputDataConfigT&& value) {
244 SetOutputDataConfig(std::forward<OutputDataConfigT>(value));
245 return *this;
246 }
248
250
255 inline const RegistrationConfig& GetRegistrationConfig() const { return m_registrationConfig; }
256 inline bool RegistrationConfigHasBeenSet() const { return m_registrationConfigHasBeenSet; }
257 template <typename RegistrationConfigT = RegistrationConfig>
258 void SetRegistrationConfig(RegistrationConfigT&& value) {
259 m_registrationConfigHasBeenSet = true;
260 m_registrationConfig = std::forward<RegistrationConfigT>(value);
261 }
262 template <typename RegistrationConfigT = RegistrationConfig>
263 FraudsterRegistrationJob& WithRegistrationConfig(RegistrationConfigT&& value) {
264 SetRegistrationConfig(std::forward<RegistrationConfigT>(value));
265 return *this;
266 }
268 private:
269 Aws::Utils::DateTime m_createdAt{};
270
271 Aws::String m_dataAccessRoleArn;
272
273 Aws::String m_domainId;
274
275 Aws::Utils::DateTime m_endedAt{};
276
277 FailureDetails m_failureDetails;
278
279 InputDataConfig m_inputDataConfig;
280
281 Aws::String m_jobId;
282
283 Aws::String m_jobName;
284
285 JobProgress m_jobProgress;
286
288
289 OutputDataConfig m_outputDataConfig;
290
291 RegistrationConfig m_registrationConfig;
292 bool m_createdAtHasBeenSet = false;
293 bool m_dataAccessRoleArnHasBeenSet = false;
294 bool m_domainIdHasBeenSet = false;
295 bool m_endedAtHasBeenSet = false;
296 bool m_failureDetailsHasBeenSet = false;
297 bool m_inputDataConfigHasBeenSet = false;
298 bool m_jobIdHasBeenSet = false;
299 bool m_jobNameHasBeenSet = false;
300 bool m_jobProgressHasBeenSet = false;
301 bool m_jobStatusHasBeenSet = false;
302 bool m_outputDataConfigHasBeenSet = false;
303 bool m_registrationConfigHasBeenSet = false;
304};
305
306} // namespace Model
307} // namespace VoiceID
308} // namespace Aws
void SetJobStatus(FraudsterRegistrationJobStatus value)
FraudsterRegistrationJobStatus GetJobStatus() const
FraudsterRegistrationJob & WithJobName(JobNameT &&value)
FraudsterRegistrationJob & WithDataAccessRoleArn(DataAccessRoleArnT &&value)
FraudsterRegistrationJob & WithEndedAt(EndedAtT &&value)
FraudsterRegistrationJob & WithOutputDataConfig(OutputDataConfigT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
FraudsterRegistrationJob & WithDomainId(DomainIdT &&value)
AWS_VOICEID_API FraudsterRegistrationJob & operator=(Aws::Utils::Json::JsonView jsonValue)
const RegistrationConfig & GetRegistrationConfig() const
void SetDataAccessRoleArn(DataAccessRoleArnT &&value)
AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const
FraudsterRegistrationJob & WithFailureDetails(FailureDetailsT &&value)
FraudsterRegistrationJob & WithCreatedAt(CreatedAtT &&value)
FraudsterRegistrationJob & WithRegistrationConfig(RegistrationConfigT &&value)
AWS_VOICEID_API FraudsterRegistrationJob()=default
FraudsterRegistrationJob & WithInputDataConfig(InputDataConfigT &&value)
FraudsterRegistrationJob & WithJobStatus(FraudsterRegistrationJobStatus value)
FraudsterRegistrationJob & WithJobId(JobIdT &&value)
AWS_VOICEID_API FraudsterRegistrationJob(Aws::Utils::Json::JsonView jsonValue)
FraudsterRegistrationJob & WithJobProgress(JobProgressT &&value)
void SetRegistrationConfig(RegistrationConfigT &&value)
const Aws::Utils::DateTime & GetEndedAt() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue