AWS SDK for C++

AWS SDK for C++ Version 1.11.773

Loading...
Searching...
No Matches
SpeakerEnrollmentJobSummary.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/JobProgress.h>
12#include <aws/voice-id/model/SpeakerEnrollmentJobStatus.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace VoiceID {
24namespace Model {
25
33 public:
34 AWS_VOICEID_API SpeakerEnrollmentJobSummary() = default;
37 AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
44 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
45 template <typename CreatedAtT = Aws::Utils::DateTime>
46 void SetCreatedAt(CreatedAtT&& value) {
47 m_createdAtHasBeenSet = true;
48 m_createdAt = std::forward<CreatedAtT>(value);
49 }
50 template <typename CreatedAtT = Aws::Utils::DateTime>
52 SetCreatedAt(std::forward<CreatedAtT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetDomainId() const { return m_domainId; }
62 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
63 template <typename DomainIdT = Aws::String>
64 void SetDomainId(DomainIdT&& value) {
65 m_domainIdHasBeenSet = true;
66 m_domainId = std::forward<DomainIdT>(value);
67 }
68 template <typename DomainIdT = Aws::String>
70 SetDomainId(std::forward<DomainIdT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::Utils::DateTime& GetEndedAt() const { return m_endedAt; }
80 inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; }
81 template <typename EndedAtT = Aws::Utils::DateTime>
82 void SetEndedAt(EndedAtT&& value) {
83 m_endedAtHasBeenSet = true;
84 m_endedAt = std::forward<EndedAtT>(value);
85 }
86 template <typename EndedAtT = Aws::Utils::DateTime>
88 SetEndedAt(std::forward<EndedAtT>(value));
89 return *this;
90 }
92
94
101 inline const FailureDetails& GetFailureDetails() const { return m_failureDetails; }
102 inline bool FailureDetailsHasBeenSet() const { return m_failureDetailsHasBeenSet; }
103 template <typename FailureDetailsT = FailureDetails>
104 void SetFailureDetails(FailureDetailsT&& value) {
105 m_failureDetailsHasBeenSet = true;
106 m_failureDetails = std::forward<FailureDetailsT>(value);
107 }
108 template <typename FailureDetailsT = FailureDetails>
110 SetFailureDetails(std::forward<FailureDetailsT>(value));
111 return *this;
112 }
114
116
119 inline const Aws::String& GetJobId() const { return m_jobId; }
120 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
121 template <typename JobIdT = Aws::String>
122 void SetJobId(JobIdT&& value) {
123 m_jobIdHasBeenSet = true;
124 m_jobId = std::forward<JobIdT>(value);
125 }
126 template <typename JobIdT = Aws::String>
128 SetJobId(std::forward<JobIdT>(value));
129 return *this;
130 }
132
134
137 inline const Aws::String& GetJobName() const { return m_jobName; }
138 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
139 template <typename JobNameT = Aws::String>
140 void SetJobName(JobNameT&& value) {
141 m_jobNameHasBeenSet = true;
142 m_jobName = std::forward<JobNameT>(value);
143 }
144 template <typename JobNameT = Aws::String>
146 SetJobName(std::forward<JobNameT>(value));
147 return *this;
148 }
150
152
156 inline const JobProgress& GetJobProgress() const { return m_jobProgress; }
157 inline bool JobProgressHasBeenSet() const { return m_jobProgressHasBeenSet; }
158 template <typename JobProgressT = JobProgress>
159 void SetJobProgress(JobProgressT&& value) {
160 m_jobProgressHasBeenSet = true;
161 m_jobProgress = std::forward<JobProgressT>(value);
162 }
163 template <typename JobProgressT = JobProgress>
165 SetJobProgress(std::forward<JobProgressT>(value));
166 return *this;
167 }
169
171
174 inline SpeakerEnrollmentJobStatus GetJobStatus() const { return m_jobStatus; }
175 inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; }
177 m_jobStatusHasBeenSet = true;
178 m_jobStatus = value;
179 }
181 SetJobStatus(value);
182 return *this;
183 }
185 private:
186 Aws::Utils::DateTime m_createdAt{};
187
188 Aws::String m_domainId;
189
190 Aws::Utils::DateTime m_endedAt{};
191
192 FailureDetails m_failureDetails;
193
194 Aws::String m_jobId;
195
196 Aws::String m_jobName;
197
198 JobProgress m_jobProgress;
199
201 bool m_createdAtHasBeenSet = false;
202 bool m_domainIdHasBeenSet = false;
203 bool m_endedAtHasBeenSet = false;
204 bool m_failureDetailsHasBeenSet = false;
205 bool m_jobIdHasBeenSet = false;
206 bool m_jobNameHasBeenSet = false;
207 bool m_jobProgressHasBeenSet = false;
208 bool m_jobStatusHasBeenSet = false;
209};
210
211} // namespace Model
212} // namespace VoiceID
213} // namespace Aws
AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_VOICEID_API SpeakerEnrollmentJobSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_VOICEID_API SpeakerEnrollmentJobSummary()=default
SpeakerEnrollmentJobSummary & WithJobName(JobNameT &&value)
SpeakerEnrollmentJobSummary & WithJobStatus(SpeakerEnrollmentJobStatus value)
SpeakerEnrollmentJobSummary & WithJobProgress(JobProgressT &&value)
SpeakerEnrollmentJobSummary & WithCreatedAt(CreatedAtT &&value)
AWS_VOICEID_API SpeakerEnrollmentJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
SpeakerEnrollmentJobSummary & WithJobId(JobIdT &&value)
SpeakerEnrollmentJobSummary & WithDomainId(DomainIdT &&value)
SpeakerEnrollmentJobSummary & WithEndedAt(EndedAtT &&value)
SpeakerEnrollmentJobSummary & WithFailureDetails(FailureDetailsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue