AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SpeakerEnrollmentJob.h
1
6#pragma once
7#include <aws/voice-id/VoiceID_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.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/SpeakerEnrollmentJobStatus.h>
15#include <aws/voice-id/model/OutputDataConfig.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace VoiceID
29{
30namespace Model
31{
32
40 {
41 public:
42 AWS_VOICEID_API SpeakerEnrollmentJob() = default;
45 AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
53 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
54 template<typename CreatedAtT = Aws::Utils::DateTime>
55 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
56 template<typename CreatedAtT = Aws::Utils::DateTime>
57 SpeakerEnrollmentJob& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
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) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::forward<DataAccessRoleArnT>(value); }
70 template<typename DataAccessRoleArnT = Aws::String>
71 SpeakerEnrollmentJob& WithDataAccessRoleArn(DataAccessRoleArnT&& value) { SetDataAccessRoleArn(std::forward<DataAccessRoleArnT>(value)); return *this;}
73
75
78 inline const Aws::String& GetDomainId() const { return m_domainId; }
79 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
80 template<typename DomainIdT = Aws::String>
81 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
82 template<typename DomainIdT = Aws::String>
83 SpeakerEnrollmentJob& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
85
87
90 inline const Aws::Utils::DateTime& GetEndedAt() const { return m_endedAt; }
91 inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; }
92 template<typename EndedAtT = Aws::Utils::DateTime>
93 void SetEndedAt(EndedAtT&& value) { m_endedAtHasBeenSet = true; m_endedAt = std::forward<EndedAtT>(value); }
94 template<typename EndedAtT = Aws::Utils::DateTime>
95 SpeakerEnrollmentJob& WithEndedAt(EndedAtT&& value) { SetEndedAt(std::forward<EndedAtT>(value)); return *this;}
97
99
103 inline const EnrollmentConfig& GetEnrollmentConfig() const { return m_enrollmentConfig; }
104 inline bool EnrollmentConfigHasBeenSet() const { return m_enrollmentConfigHasBeenSet; }
105 template<typename EnrollmentConfigT = EnrollmentConfig>
106 void SetEnrollmentConfig(EnrollmentConfigT&& value) { m_enrollmentConfigHasBeenSet = true; m_enrollmentConfig = std::forward<EnrollmentConfigT>(value); }
107 template<typename EnrollmentConfigT = EnrollmentConfig>
108 SpeakerEnrollmentJob& WithEnrollmentConfig(EnrollmentConfigT&& value) { SetEnrollmentConfig(std::forward<EnrollmentConfigT>(value)); return *this;}
110
112
119 inline const FailureDetails& GetFailureDetails() const { return m_failureDetails; }
120 inline bool FailureDetailsHasBeenSet() const { return m_failureDetailsHasBeenSet; }
121 template<typename FailureDetailsT = FailureDetails>
122 void SetFailureDetails(FailureDetailsT&& value) { m_failureDetailsHasBeenSet = true; m_failureDetails = std::forward<FailureDetailsT>(value); }
123 template<typename FailureDetailsT = FailureDetails>
124 SpeakerEnrollmentJob& WithFailureDetails(FailureDetailsT&& value) { SetFailureDetails(std::forward<FailureDetailsT>(value)); return *this;}
126
128
132 inline const InputDataConfig& GetInputDataConfig() const { return m_inputDataConfig; }
133 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
134 template<typename InputDataConfigT = InputDataConfig>
135 void SetInputDataConfig(InputDataConfigT&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::forward<InputDataConfigT>(value); }
136 template<typename InputDataConfigT = InputDataConfig>
137 SpeakerEnrollmentJob& WithInputDataConfig(InputDataConfigT&& value) { SetInputDataConfig(std::forward<InputDataConfigT>(value)); return *this;}
139
141
144 inline const Aws::String& GetJobId() const { return m_jobId; }
145 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
146 template<typename JobIdT = Aws::String>
147 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet = true; m_jobId = std::forward<JobIdT>(value); }
148 template<typename JobIdT = Aws::String>
149 SpeakerEnrollmentJob& WithJobId(JobIdT&& value) { SetJobId(std::forward<JobIdT>(value)); return *this;}
151
153
156 inline const Aws::String& GetJobName() const { return m_jobName; }
157 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
158 template<typename JobNameT = Aws::String>
159 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet = true; m_jobName = std::forward<JobNameT>(value); }
160 template<typename JobNameT = Aws::String>
161 SpeakerEnrollmentJob& WithJobName(JobNameT&& value) { SetJobName(std::forward<JobNameT>(value)); return *this;}
163
165
169 inline const JobProgress& GetJobProgress() const { return m_jobProgress; }
170 inline bool JobProgressHasBeenSet() const { return m_jobProgressHasBeenSet; }
171 template<typename JobProgressT = JobProgress>
172 void SetJobProgress(JobProgressT&& value) { m_jobProgressHasBeenSet = true; m_jobProgress = std::forward<JobProgressT>(value); }
173 template<typename JobProgressT = JobProgress>
174 SpeakerEnrollmentJob& WithJobProgress(JobProgressT&& value) { SetJobProgress(std::forward<JobProgressT>(value)); return *this;}
176
178
181 inline SpeakerEnrollmentJobStatus GetJobStatus() const { return m_jobStatus; }
182 inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; }
183 inline void SetJobStatus(SpeakerEnrollmentJobStatus value) { m_jobStatusHasBeenSet = true; m_jobStatus = value; }
186
188
192 inline const OutputDataConfig& GetOutputDataConfig() const { return m_outputDataConfig; }
193 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
194 template<typename OutputDataConfigT = OutputDataConfig>
195 void SetOutputDataConfig(OutputDataConfigT&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::forward<OutputDataConfigT>(value); }
196 template<typename OutputDataConfigT = OutputDataConfig>
197 SpeakerEnrollmentJob& WithOutputDataConfig(OutputDataConfigT&& value) { SetOutputDataConfig(std::forward<OutputDataConfigT>(value)); return *this;}
199 private:
200
201 Aws::Utils::DateTime m_createdAt{};
202 bool m_createdAtHasBeenSet = false;
203
204 Aws::String m_dataAccessRoleArn;
205 bool m_dataAccessRoleArnHasBeenSet = false;
206
207 Aws::String m_domainId;
208 bool m_domainIdHasBeenSet = false;
209
210 Aws::Utils::DateTime m_endedAt{};
211 bool m_endedAtHasBeenSet = false;
212
213 EnrollmentConfig m_enrollmentConfig;
214 bool m_enrollmentConfigHasBeenSet = false;
215
216 FailureDetails m_failureDetails;
217 bool m_failureDetailsHasBeenSet = false;
218
219 InputDataConfig m_inputDataConfig;
220 bool m_inputDataConfigHasBeenSet = false;
221
222 Aws::String m_jobId;
223 bool m_jobIdHasBeenSet = false;
224
225 Aws::String m_jobName;
226 bool m_jobNameHasBeenSet = false;
227
228 JobProgress m_jobProgress;
229 bool m_jobProgressHasBeenSet = false;
230
232 bool m_jobStatusHasBeenSet = false;
233
234 OutputDataConfig m_outputDataConfig;
235 bool m_outputDataConfigHasBeenSet = false;
236 };
237
238} // namespace Model
239} // namespace VoiceID
240} // 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