AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
55 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
56 inline SpeakerEnrollmentJob& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
57 inline SpeakerEnrollmentJob& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
59
61
66 inline const Aws::String& GetDataAccessRoleArn() const{ return m_dataAccessRoleArn; }
67 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
68 inline void SetDataAccessRoleArn(const Aws::String& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = value; }
69 inline void SetDataAccessRoleArn(Aws::String&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::move(value); }
70 inline void SetDataAccessRoleArn(const char* value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn.assign(value); }
71 inline SpeakerEnrollmentJob& WithDataAccessRoleArn(const Aws::String& value) { SetDataAccessRoleArn(value); return *this;}
72 inline SpeakerEnrollmentJob& WithDataAccessRoleArn(Aws::String&& value) { SetDataAccessRoleArn(std::move(value)); return *this;}
73 inline SpeakerEnrollmentJob& WithDataAccessRoleArn(const char* value) { SetDataAccessRoleArn(value); return *this;}
75
77
80 inline const Aws::String& GetDomainId() const{ return m_domainId; }
81 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
82 inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }
83 inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }
84 inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }
85 inline SpeakerEnrollmentJob& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
86 inline SpeakerEnrollmentJob& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
87 inline SpeakerEnrollmentJob& WithDomainId(const char* value) { SetDomainId(value); return *this;}
89
91
94 inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; }
95 inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; }
96 inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAtHasBeenSet = true; m_endedAt = value; }
97 inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAtHasBeenSet = true; m_endedAt = std::move(value); }
98 inline SpeakerEnrollmentJob& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;}
99 inline SpeakerEnrollmentJob& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;}
101
103
107 inline const EnrollmentConfig& GetEnrollmentConfig() const{ return m_enrollmentConfig; }
108 inline bool EnrollmentConfigHasBeenSet() const { return m_enrollmentConfigHasBeenSet; }
109 inline void SetEnrollmentConfig(const EnrollmentConfig& value) { m_enrollmentConfigHasBeenSet = true; m_enrollmentConfig = value; }
110 inline void SetEnrollmentConfig(EnrollmentConfig&& value) { m_enrollmentConfigHasBeenSet = true; m_enrollmentConfig = std::move(value); }
112 inline SpeakerEnrollmentJob& WithEnrollmentConfig(EnrollmentConfig&& value) { SetEnrollmentConfig(std::move(value)); return *this;}
114
116
123 inline const FailureDetails& GetFailureDetails() const{ return m_failureDetails; }
124 inline bool FailureDetailsHasBeenSet() const { return m_failureDetailsHasBeenSet; }
125 inline void SetFailureDetails(const FailureDetails& value) { m_failureDetailsHasBeenSet = true; m_failureDetails = value; }
126 inline void SetFailureDetails(FailureDetails&& value) { m_failureDetailsHasBeenSet = true; m_failureDetails = std::move(value); }
127 inline SpeakerEnrollmentJob& WithFailureDetails(const FailureDetails& value) { SetFailureDetails(value); return *this;}
128 inline SpeakerEnrollmentJob& WithFailureDetails(FailureDetails&& value) { SetFailureDetails(std::move(value)); return *this;}
130
132
136 inline const InputDataConfig& GetInputDataConfig() const{ return m_inputDataConfig; }
137 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
138 inline void SetInputDataConfig(const InputDataConfig& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = value; }
139 inline void SetInputDataConfig(InputDataConfig&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::move(value); }
140 inline SpeakerEnrollmentJob& WithInputDataConfig(const InputDataConfig& value) { SetInputDataConfig(value); return *this;}
141 inline SpeakerEnrollmentJob& WithInputDataConfig(InputDataConfig&& value) { SetInputDataConfig(std::move(value)); return *this;}
143
145
148 inline const Aws::String& GetJobId() const{ return m_jobId; }
149 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
150 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
151 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
152 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
153 inline SpeakerEnrollmentJob& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
154 inline SpeakerEnrollmentJob& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
155 inline SpeakerEnrollmentJob& WithJobId(const char* value) { SetJobId(value); return *this;}
157
159
162 inline const Aws::String& GetJobName() const{ return m_jobName; }
163 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
164 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
165 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
166 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
167 inline SpeakerEnrollmentJob& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
168 inline SpeakerEnrollmentJob& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
169 inline SpeakerEnrollmentJob& WithJobName(const char* value) { SetJobName(value); return *this;}
171
173
177 inline const JobProgress& GetJobProgress() const{ return m_jobProgress; }
178 inline bool JobProgressHasBeenSet() const { return m_jobProgressHasBeenSet; }
179 inline void SetJobProgress(const JobProgress& value) { m_jobProgressHasBeenSet = true; m_jobProgress = value; }
180 inline void SetJobProgress(JobProgress&& value) { m_jobProgressHasBeenSet = true; m_jobProgress = std::move(value); }
181 inline SpeakerEnrollmentJob& WithJobProgress(const JobProgress& value) { SetJobProgress(value); return *this;}
182 inline SpeakerEnrollmentJob& WithJobProgress(JobProgress&& value) { SetJobProgress(std::move(value)); return *this;}
184
186
189 inline const SpeakerEnrollmentJobStatus& GetJobStatus() const{ return m_jobStatus; }
190 inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; }
191 inline void SetJobStatus(const SpeakerEnrollmentJobStatus& value) { m_jobStatusHasBeenSet = true; m_jobStatus = value; }
192 inline void SetJobStatus(SpeakerEnrollmentJobStatus&& value) { m_jobStatusHasBeenSet = true; m_jobStatus = std::move(value); }
193 inline SpeakerEnrollmentJob& WithJobStatus(const SpeakerEnrollmentJobStatus& value) { SetJobStatus(value); return *this;}
194 inline SpeakerEnrollmentJob& WithJobStatus(SpeakerEnrollmentJobStatus&& value) { SetJobStatus(std::move(value)); return *this;}
196
198
202 inline const OutputDataConfig& GetOutputDataConfig() const{ return m_outputDataConfig; }
203 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
204 inline void SetOutputDataConfig(const OutputDataConfig& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = value; }
205 inline void SetOutputDataConfig(OutputDataConfig&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::move(value); }
207 inline SpeakerEnrollmentJob& WithOutputDataConfig(OutputDataConfig&& value) { SetOutputDataConfig(std::move(value)); return *this;}
209 private:
210
211 Aws::Utils::DateTime m_createdAt;
212 bool m_createdAtHasBeenSet = false;
213
214 Aws::String m_dataAccessRoleArn;
215 bool m_dataAccessRoleArnHasBeenSet = false;
216
217 Aws::String m_domainId;
218 bool m_domainIdHasBeenSet = false;
219
220 Aws::Utils::DateTime m_endedAt;
221 bool m_endedAtHasBeenSet = false;
222
223 EnrollmentConfig m_enrollmentConfig;
224 bool m_enrollmentConfigHasBeenSet = false;
225
226 FailureDetails m_failureDetails;
227 bool m_failureDetailsHasBeenSet = false;
228
229 InputDataConfig m_inputDataConfig;
230 bool m_inputDataConfigHasBeenSet = false;
231
232 Aws::String m_jobId;
233 bool m_jobIdHasBeenSet = false;
234
235 Aws::String m_jobName;
236 bool m_jobNameHasBeenSet = false;
237
238 JobProgress m_jobProgress;
239 bool m_jobProgressHasBeenSet = false;
240
241 SpeakerEnrollmentJobStatus m_jobStatus;
242 bool m_jobStatusHasBeenSet = false;
243
244 OutputDataConfig m_outputDataConfig;
245 bool m_outputDataConfigHasBeenSet = false;
246 };
247
248} // namespace Model
249} // namespace VoiceID
250} // namespace Aws
void SetFailureDetails(const FailureDetails &value)
const EnrollmentConfig & GetEnrollmentConfig() const
SpeakerEnrollmentJob & WithFailureDetails(const FailureDetails &value)
SpeakerEnrollmentJob & WithDomainId(const char *value)
const InputDataConfig & GetInputDataConfig() const
SpeakerEnrollmentJob & WithInputDataConfig(InputDataConfig &&value)
AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const
SpeakerEnrollmentJob & WithDataAccessRoleArn(const char *value)
SpeakerEnrollmentJob & WithJobProgress(JobProgress &&value)
const OutputDataConfig & GetOutputDataConfig() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
AWS_VOICEID_API SpeakerEnrollmentJob(Aws::Utils::Json::JsonView jsonValue)
AWS_VOICEID_API SpeakerEnrollmentJob & operator=(Aws::Utils::Json::JsonView jsonValue)
SpeakerEnrollmentJob & WithJobId(const char *value)
SpeakerEnrollmentJob & WithJobName(const Aws::String &value)
SpeakerEnrollmentJob & WithDomainId(const Aws::String &value)
SpeakerEnrollmentJob & WithEnrollmentConfig(EnrollmentConfig &&value)
SpeakerEnrollmentJob & WithInputDataConfig(const InputDataConfig &value)
SpeakerEnrollmentJob & WithEnrollmentConfig(const EnrollmentConfig &value)
void SetJobProgress(const JobProgress &value)
void SetInputDataConfig(const InputDataConfig &value)
void SetJobStatus(const SpeakerEnrollmentJobStatus &value)
SpeakerEnrollmentJob & WithDataAccessRoleArn(Aws::String &&value)
void SetDataAccessRoleArn(const Aws::String &value)
const FailureDetails & GetFailureDetails() const
const Aws::Utils::DateTime & GetEndedAt() const
const Aws::String & GetDataAccessRoleArn() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetEnrollmentConfig(const EnrollmentConfig &value)
SpeakerEnrollmentJob & WithJobStatus(SpeakerEnrollmentJobStatus &&value)
SpeakerEnrollmentJob & WithCreatedAt(Aws::Utils::DateTime &&value)
SpeakerEnrollmentJob & WithJobProgress(const JobProgress &value)
SpeakerEnrollmentJob & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetInputDataConfig(InputDataConfig &&value)
SpeakerEnrollmentJob & WithOutputDataConfig(OutputDataConfig &&value)
SpeakerEnrollmentJob & WithDataAccessRoleArn(const Aws::String &value)
SpeakerEnrollmentJob & WithFailureDetails(FailureDetails &&value)
void SetEnrollmentConfig(EnrollmentConfig &&value)
SpeakerEnrollmentJob & WithJobId(Aws::String &&value)
SpeakerEnrollmentJob & WithJobName(Aws::String &&value)
void SetEndedAt(Aws::Utils::DateTime &&value)
SpeakerEnrollmentJob & WithJobStatus(const SpeakerEnrollmentJobStatus &value)
SpeakerEnrollmentJob & WithJobName(const char *value)
void SetOutputDataConfig(const OutputDataConfig &value)
const Aws::Utils::DateTime & GetCreatedAt() const
SpeakerEnrollmentJob & WithJobId(const Aws::String &value)
const SpeakerEnrollmentJobStatus & GetJobStatus() const
SpeakerEnrollmentJob & WithOutputDataConfig(const OutputDataConfig &value)
SpeakerEnrollmentJob & WithDomainId(Aws::String &&value)
SpeakerEnrollmentJob & WithEndedAt(const Aws::Utils::DateTime &value)
SpeakerEnrollmentJob & WithEndedAt(Aws::Utils::DateTime &&value)
void SetEndedAt(const Aws::Utils::DateTime &value)
void SetOutputDataConfig(OutputDataConfig &&value)
void SetDomainId(const Aws::String &value)
void SetJobStatus(SpeakerEnrollmentJobStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue