AWS SDK for C++

AWS SDK for C++ Version 1.11.767

Loading...
Searching...
No Matches
SpeakerEnrollmentJob.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/EnrollmentConfig.h>
11#include <aws/voice-id/model/FailureDetails.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/SpeakerEnrollmentJobStatus.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 SpeakerEnrollmentJob() = 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>
54 SpeakerEnrollmentJob& WithCreatedAt(CreatedAtT&& value) {
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 SpeakerEnrollmentJob& WithDataAccessRoleArn(DataAccessRoleArnT&& value) {
75 SetDataAccessRoleArn(std::forward<DataAccessRoleArnT>(value));
76 return *this;
77 }
79
81
84 inline const Aws::String& GetDomainId() const { return m_domainId; }
85 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
86 template <typename DomainIdT = Aws::String>
87 void SetDomainId(DomainIdT&& value) {
88 m_domainIdHasBeenSet = true;
89 m_domainId = std::forward<DomainIdT>(value);
90 }
91 template <typename DomainIdT = Aws::String>
92 SpeakerEnrollmentJob& WithDomainId(DomainIdT&& value) {
93 SetDomainId(std::forward<DomainIdT>(value));
94 return *this;
95 }
97
99
102 inline const Aws::Utils::DateTime& GetEndedAt() const { return m_endedAt; }
103 inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; }
104 template <typename EndedAtT = Aws::Utils::DateTime>
105 void SetEndedAt(EndedAtT&& value) {
106 m_endedAtHasBeenSet = true;
107 m_endedAt = std::forward<EndedAtT>(value);
108 }
109 template <typename EndedAtT = Aws::Utils::DateTime>
111 SetEndedAt(std::forward<EndedAtT>(value));
112 return *this;
113 }
115
117
121 inline const EnrollmentConfig& GetEnrollmentConfig() const { return m_enrollmentConfig; }
122 inline bool EnrollmentConfigHasBeenSet() const { return m_enrollmentConfigHasBeenSet; }
123 template <typename EnrollmentConfigT = EnrollmentConfig>
124 void SetEnrollmentConfig(EnrollmentConfigT&& value) {
125 m_enrollmentConfigHasBeenSet = true;
126 m_enrollmentConfig = std::forward<EnrollmentConfigT>(value);
127 }
128 template <typename EnrollmentConfigT = EnrollmentConfig>
129 SpeakerEnrollmentJob& WithEnrollmentConfig(EnrollmentConfigT&& value) {
130 SetEnrollmentConfig(std::forward<EnrollmentConfigT>(value));
131 return *this;
132 }
134
136
143 inline const FailureDetails& GetFailureDetails() const { return m_failureDetails; }
144 inline bool FailureDetailsHasBeenSet() const { return m_failureDetailsHasBeenSet; }
145 template <typename FailureDetailsT = FailureDetails>
146 void SetFailureDetails(FailureDetailsT&& value) {
147 m_failureDetailsHasBeenSet = true;
148 m_failureDetails = std::forward<FailureDetailsT>(value);
149 }
150 template <typename FailureDetailsT = FailureDetails>
151 SpeakerEnrollmentJob& WithFailureDetails(FailureDetailsT&& value) {
152 SetFailureDetails(std::forward<FailureDetailsT>(value));
153 return *this;
154 }
156
158
162 inline const InputDataConfig& GetInputDataConfig() const { return m_inputDataConfig; }
163 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
164 template <typename InputDataConfigT = InputDataConfig>
165 void SetInputDataConfig(InputDataConfigT&& value) {
166 m_inputDataConfigHasBeenSet = true;
167 m_inputDataConfig = std::forward<InputDataConfigT>(value);
168 }
169 template <typename InputDataConfigT = InputDataConfig>
170 SpeakerEnrollmentJob& WithInputDataConfig(InputDataConfigT&& value) {
171 SetInputDataConfig(std::forward<InputDataConfigT>(value));
172 return *this;
173 }
175
177
180 inline const Aws::String& GetJobId() const { return m_jobId; }
181 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
182 template <typename JobIdT = Aws::String>
183 void SetJobId(JobIdT&& value) {
184 m_jobIdHasBeenSet = true;
185 m_jobId = std::forward<JobIdT>(value);
186 }
187 template <typename JobIdT = Aws::String>
189 SetJobId(std::forward<JobIdT>(value));
190 return *this;
191 }
193
195
198 inline const Aws::String& GetJobName() const { return m_jobName; }
199 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
200 template <typename JobNameT = Aws::String>
201 void SetJobName(JobNameT&& value) {
202 m_jobNameHasBeenSet = true;
203 m_jobName = std::forward<JobNameT>(value);
204 }
205 template <typename JobNameT = Aws::String>
207 SetJobName(std::forward<JobNameT>(value));
208 return *this;
209 }
211
213
217 inline const JobProgress& GetJobProgress() const { return m_jobProgress; }
218 inline bool JobProgressHasBeenSet() const { return m_jobProgressHasBeenSet; }
219 template <typename JobProgressT = JobProgress>
220 void SetJobProgress(JobProgressT&& value) {
221 m_jobProgressHasBeenSet = true;
222 m_jobProgress = std::forward<JobProgressT>(value);
223 }
224 template <typename JobProgressT = JobProgress>
225 SpeakerEnrollmentJob& WithJobProgress(JobProgressT&& value) {
226 SetJobProgress(std::forward<JobProgressT>(value));
227 return *this;
228 }
230
232
235 inline SpeakerEnrollmentJobStatus GetJobStatus() const { return m_jobStatus; }
236 inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; }
238 m_jobStatusHasBeenSet = true;
239 m_jobStatus = value;
240 }
242 SetJobStatus(value);
243 return *this;
244 }
246
248
252 inline const OutputDataConfig& GetOutputDataConfig() const { return m_outputDataConfig; }
253 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
254 template <typename OutputDataConfigT = OutputDataConfig>
255 void SetOutputDataConfig(OutputDataConfigT&& value) {
256 m_outputDataConfigHasBeenSet = true;
257 m_outputDataConfig = std::forward<OutputDataConfigT>(value);
258 }
259 template <typename OutputDataConfigT = OutputDataConfig>
260 SpeakerEnrollmentJob& WithOutputDataConfig(OutputDataConfigT&& value) {
261 SetOutputDataConfig(std::forward<OutputDataConfigT>(value));
262 return *this;
263 }
265 private:
266 Aws::Utils::DateTime m_createdAt{};
267
268 Aws::String m_dataAccessRoleArn;
269
270 Aws::String m_domainId;
271
272 Aws::Utils::DateTime m_endedAt{};
273
274 EnrollmentConfig m_enrollmentConfig;
275
276 FailureDetails m_failureDetails;
277
278 InputDataConfig m_inputDataConfig;
279
280 Aws::String m_jobId;
281
282 Aws::String m_jobName;
283
284 JobProgress m_jobProgress;
285
287
288 OutputDataConfig m_outputDataConfig;
289 bool m_createdAtHasBeenSet = false;
290 bool m_dataAccessRoleArnHasBeenSet = false;
291 bool m_domainIdHasBeenSet = false;
292 bool m_endedAtHasBeenSet = false;
293 bool m_enrollmentConfigHasBeenSet = false;
294 bool m_failureDetailsHasBeenSet = false;
295 bool m_inputDataConfigHasBeenSet = false;
296 bool m_jobIdHasBeenSet = false;
297 bool m_jobNameHasBeenSet = false;
298 bool m_jobProgressHasBeenSet = false;
299 bool m_jobStatusHasBeenSet = false;
300 bool m_outputDataConfigHasBeenSet = false;
301};
302
303} // namespace Model
304} // namespace VoiceID
305} // namespace Aws
const EnrollmentConfig & GetEnrollmentConfig() const
SpeakerEnrollmentJob & WithFailureDetails(FailureDetailsT &&value)
const InputDataConfig & GetInputDataConfig() const
SpeakerEnrollmentJob & WithEnrollmentConfig(EnrollmentConfigT &&value)
SpeakerEnrollmentJob & WithJobStatus(SpeakerEnrollmentJobStatus value)
AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const
SpeakerEnrollmentJob & WithInputDataConfig(InputDataConfigT &&value)
SpeakerEnrollmentJob & WithDomainId(DomainIdT &&value)
const OutputDataConfig & GetOutputDataConfig() const
SpeakerEnrollmentJob & WithJobProgress(JobProgressT &&value)
AWS_VOICEID_API SpeakerEnrollmentJob(Aws::Utils::Json::JsonView jsonValue)
SpeakerEnrollmentJob & WithEndedAt(EndedAtT &&value)
SpeakerEnrollmentJob & WithOutputDataConfig(OutputDataConfigT &&value)
void SetInputDataConfig(InputDataConfigT &&value)
void SetFailureDetails(FailureDetailsT &&value)
AWS_VOICEID_API SpeakerEnrollmentJob & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetJobStatus(SpeakerEnrollmentJobStatus value)
SpeakerEnrollmentJob & WithCreatedAt(CreatedAtT &&value)
SpeakerEnrollmentJobStatus GetJobStatus() const
SpeakerEnrollmentJob & WithDataAccessRoleArn(DataAccessRoleArnT &&value)
void SetEnrollmentConfig(EnrollmentConfigT &&value)
void SetDataAccessRoleArn(DataAccessRoleArnT &&value)
SpeakerEnrollmentJob & WithJobId(JobIdT &&value)
const FailureDetails & GetFailureDetails() const
const Aws::Utils::DateTime & GetEndedAt() const
const Aws::String & GetDataAccessRoleArn() const
AWS_VOICEID_API SpeakerEnrollmentJob()=default
const Aws::Utils::DateTime & GetCreatedAt() const
void SetOutputDataConfig(OutputDataConfigT &&value)
SpeakerEnrollmentJob & WithJobName(JobNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue