AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SpeakerEnrollmentJobSummary.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/FailureDetails.h>
11#include <aws/voice-id/model/JobProgress.h>
12#include <aws/voice-id/model/SpeakerEnrollmentJobStatus.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace VoiceID
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_VOICEID_API SpeakerEnrollmentJobSummary();
42 AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
50 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
51 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
52 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
53 inline SpeakerEnrollmentJobSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
54 inline SpeakerEnrollmentJobSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
56
58
61 inline const Aws::String& GetDomainId() const{ return m_domainId; }
62 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
63 inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }
64 inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }
65 inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }
66 inline SpeakerEnrollmentJobSummary& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
67 inline SpeakerEnrollmentJobSummary& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
68 inline SpeakerEnrollmentJobSummary& WithDomainId(const char* value) { SetDomainId(value); return *this;}
70
72
75 inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; }
76 inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; }
77 inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAtHasBeenSet = true; m_endedAt = value; }
78 inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAtHasBeenSet = true; m_endedAt = std::move(value); }
79 inline SpeakerEnrollmentJobSummary& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;}
80 inline SpeakerEnrollmentJobSummary& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;}
82
84
91 inline const FailureDetails& GetFailureDetails() const{ return m_failureDetails; }
92 inline bool FailureDetailsHasBeenSet() const { return m_failureDetailsHasBeenSet; }
93 inline void SetFailureDetails(const FailureDetails& value) { m_failureDetailsHasBeenSet = true; m_failureDetails = value; }
94 inline void SetFailureDetails(FailureDetails&& value) { m_failureDetailsHasBeenSet = true; m_failureDetails = std::move(value); }
96 inline SpeakerEnrollmentJobSummary& WithFailureDetails(FailureDetails&& value) { SetFailureDetails(std::move(value)); return *this;}
98
100
103 inline const Aws::String& GetJobId() const{ return m_jobId; }
104 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
105 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
106 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
107 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
108 inline SpeakerEnrollmentJobSummary& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
109 inline SpeakerEnrollmentJobSummary& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
110 inline SpeakerEnrollmentJobSummary& WithJobId(const char* value) { SetJobId(value); return *this;}
112
114
117 inline const Aws::String& GetJobName() const{ return m_jobName; }
118 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
119 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
120 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
121 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
122 inline SpeakerEnrollmentJobSummary& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
123 inline SpeakerEnrollmentJobSummary& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
124 inline SpeakerEnrollmentJobSummary& WithJobName(const char* value) { SetJobName(value); return *this;}
126
128
132 inline const JobProgress& GetJobProgress() const{ return m_jobProgress; }
133 inline bool JobProgressHasBeenSet() const { return m_jobProgressHasBeenSet; }
134 inline void SetJobProgress(const JobProgress& value) { m_jobProgressHasBeenSet = true; m_jobProgress = value; }
135 inline void SetJobProgress(JobProgress&& value) { m_jobProgressHasBeenSet = true; m_jobProgress = std::move(value); }
136 inline SpeakerEnrollmentJobSummary& WithJobProgress(const JobProgress& value) { SetJobProgress(value); return *this;}
137 inline SpeakerEnrollmentJobSummary& WithJobProgress(JobProgress&& value) { SetJobProgress(std::move(value)); return *this;}
139
141
144 inline const SpeakerEnrollmentJobStatus& GetJobStatus() const{ return m_jobStatus; }
145 inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; }
146 inline void SetJobStatus(const SpeakerEnrollmentJobStatus& value) { m_jobStatusHasBeenSet = true; m_jobStatus = value; }
147 inline void SetJobStatus(SpeakerEnrollmentJobStatus&& value) { m_jobStatusHasBeenSet = true; m_jobStatus = std::move(value); }
149 inline SpeakerEnrollmentJobSummary& WithJobStatus(SpeakerEnrollmentJobStatus&& value) { SetJobStatus(std::move(value)); return *this;}
151 private:
152
153 Aws::Utils::DateTime m_createdAt;
154 bool m_createdAtHasBeenSet = false;
155
156 Aws::String m_domainId;
157 bool m_domainIdHasBeenSet = false;
158
159 Aws::Utils::DateTime m_endedAt;
160 bool m_endedAtHasBeenSet = false;
161
162 FailureDetails m_failureDetails;
163 bool m_failureDetailsHasBeenSet = false;
164
165 Aws::String m_jobId;
166 bool m_jobIdHasBeenSet = false;
167
168 Aws::String m_jobName;
169 bool m_jobNameHasBeenSet = false;
170
171 JobProgress m_jobProgress;
172 bool m_jobProgressHasBeenSet = false;
173
174 SpeakerEnrollmentJobStatus m_jobStatus;
175 bool m_jobStatusHasBeenSet = false;
176 };
177
178} // namespace Model
179} // namespace VoiceID
180} // namespace Aws
SpeakerEnrollmentJobSummary & WithDomainId(Aws::String &&value)
SpeakerEnrollmentJobSummary & WithFailureDetails(FailureDetails &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const
SpeakerEnrollmentJobSummary & WithJobProgress(JobProgress &&value)
AWS_VOICEID_API SpeakerEnrollmentJobSummary(Aws::Utils::Json::JsonView jsonValue)
void SetJobStatus(const SpeakerEnrollmentJobStatus &value)
SpeakerEnrollmentJobSummary & WithJobId(const char *value)
SpeakerEnrollmentJobSummary & WithJobName(const Aws::String &value)
SpeakerEnrollmentJobSummary & WithEndedAt(const Aws::Utils::DateTime &value)
SpeakerEnrollmentJobSummary & WithJobId(Aws::String &&value)
SpeakerEnrollmentJobSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetJobStatus(SpeakerEnrollmentJobStatus &&value)
SpeakerEnrollmentJobSummary & WithEndedAt(Aws::Utils::DateTime &&value)
SpeakerEnrollmentJobSummary & WithDomainId(const char *value)
SpeakerEnrollmentJobSummary & WithJobName(const char *value)
SpeakerEnrollmentJobSummary & WithJobId(const Aws::String &value)
SpeakerEnrollmentJobSummary & WithJobStatus(const SpeakerEnrollmentJobStatus &value)
SpeakerEnrollmentJobSummary & WithJobStatus(SpeakerEnrollmentJobStatus &&value)
AWS_VOICEID_API SpeakerEnrollmentJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
SpeakerEnrollmentJobSummary & WithJobProgress(const JobProgress &value)
const SpeakerEnrollmentJobStatus & GetJobStatus() const
SpeakerEnrollmentJobSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
SpeakerEnrollmentJobSummary & WithFailureDetails(const FailureDetails &value)
SpeakerEnrollmentJobSummary & WithJobName(Aws::String &&value)
SpeakerEnrollmentJobSummary & WithDomainId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue