AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
SpeakerSummary.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/SpeakerStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace VoiceID {
22namespace Model {
23
31 public:
32 AWS_VOICEID_API SpeakerSummary() = default;
33 AWS_VOICEID_API SpeakerSummary(Aws::Utils::Json::JsonView jsonValue);
35 AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
42 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
43 template <typename CreatedAtT = Aws::Utils::DateTime>
44 void SetCreatedAt(CreatedAtT&& value) {
45 m_createdAtHasBeenSet = true;
46 m_createdAt = std::forward<CreatedAtT>(value);
47 }
48 template <typename CreatedAtT = Aws::Utils::DateTime>
49 SpeakerSummary& WithCreatedAt(CreatedAtT&& value) {
50 SetCreatedAt(std::forward<CreatedAtT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetCustomerSpeakerId() const { return m_customerSpeakerId; }
60 inline bool CustomerSpeakerIdHasBeenSet() const { return m_customerSpeakerIdHasBeenSet; }
61 template <typename CustomerSpeakerIdT = Aws::String>
62 void SetCustomerSpeakerId(CustomerSpeakerIdT&& value) {
63 m_customerSpeakerIdHasBeenSet = true;
64 m_customerSpeakerId = std::forward<CustomerSpeakerIdT>(value);
65 }
66 template <typename CustomerSpeakerIdT = Aws::String>
67 SpeakerSummary& WithCustomerSpeakerId(CustomerSpeakerIdT&& value) {
68 SetCustomerSpeakerId(std::forward<CustomerSpeakerIdT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetDomainId() const { return m_domainId; }
78 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
79 template <typename DomainIdT = Aws::String>
80 void SetDomainId(DomainIdT&& value) {
81 m_domainIdHasBeenSet = true;
82 m_domainId = std::forward<DomainIdT>(value);
83 }
84 template <typename DomainIdT = Aws::String>
85 SpeakerSummary& WithDomainId(DomainIdT&& value) {
86 SetDomainId(std::forward<DomainIdT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetGeneratedSpeakerId() const { return m_generatedSpeakerId; }
96 inline bool GeneratedSpeakerIdHasBeenSet() const { return m_generatedSpeakerIdHasBeenSet; }
97 template <typename GeneratedSpeakerIdT = Aws::String>
98 void SetGeneratedSpeakerId(GeneratedSpeakerIdT&& value) {
99 m_generatedSpeakerIdHasBeenSet = true;
100 m_generatedSpeakerId = std::forward<GeneratedSpeakerIdT>(value);
101 }
102 template <typename GeneratedSpeakerIdT = Aws::String>
103 SpeakerSummary& WithGeneratedSpeakerId(GeneratedSpeakerIdT&& value) {
104 SetGeneratedSpeakerId(std::forward<GeneratedSpeakerIdT>(value));
105 return *this;
106 }
108
110
115 inline const Aws::Utils::DateTime& GetLastAccessedAt() const { return m_lastAccessedAt; }
116 inline bool LastAccessedAtHasBeenSet() const { return m_lastAccessedAtHasBeenSet; }
117 template <typename LastAccessedAtT = Aws::Utils::DateTime>
118 void SetLastAccessedAt(LastAccessedAtT&& value) {
119 m_lastAccessedAtHasBeenSet = true;
120 m_lastAccessedAt = std::forward<LastAccessedAtT>(value);
121 }
122 template <typename LastAccessedAtT = Aws::Utils::DateTime>
123 SpeakerSummary& WithLastAccessedAt(LastAccessedAtT&& value) {
124 SetLastAccessedAt(std::forward<LastAccessedAtT>(value));
125 return *this;
126 }
128
130
133 inline SpeakerStatus GetStatus() const { return m_status; }
134 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
135 inline void SetStatus(SpeakerStatus value) {
136 m_statusHasBeenSet = true;
137 m_status = value;
138 }
140 SetStatus(value);
141 return *this;
142 }
144
146
149 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
150 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
151 template <typename UpdatedAtT = Aws::Utils::DateTime>
152 void SetUpdatedAt(UpdatedAtT&& value) {
153 m_updatedAtHasBeenSet = true;
154 m_updatedAt = std::forward<UpdatedAtT>(value);
155 }
156 template <typename UpdatedAtT = Aws::Utils::DateTime>
157 SpeakerSummary& WithUpdatedAt(UpdatedAtT&& value) {
158 SetUpdatedAt(std::forward<UpdatedAtT>(value));
159 return *this;
160 }
162 private:
163 Aws::Utils::DateTime m_createdAt{};
164
165 Aws::String m_customerSpeakerId;
166
167 Aws::String m_domainId;
168
169 Aws::String m_generatedSpeakerId;
170
171 Aws::Utils::DateTime m_lastAccessedAt{};
172
174
175 Aws::Utils::DateTime m_updatedAt{};
176 bool m_createdAtHasBeenSet = false;
177 bool m_customerSpeakerIdHasBeenSet = false;
178 bool m_domainIdHasBeenSet = false;
179 bool m_generatedSpeakerIdHasBeenSet = false;
180 bool m_lastAccessedAtHasBeenSet = false;
181 bool m_statusHasBeenSet = false;
182 bool m_updatedAtHasBeenSet = false;
183};
184
185} // namespace Model
186} // namespace VoiceID
187} // namespace Aws
SpeakerSummary & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetCustomerSpeakerId() const
const Aws::String & GetGeneratedSpeakerId() const
void SetGeneratedSpeakerId(GeneratedSpeakerIdT &&value)
SpeakerSummary & WithCustomerSpeakerId(CustomerSpeakerIdT &&value)
AWS_VOICEID_API SpeakerSummary(Aws::Utils::Json::JsonView jsonValue)
void SetCustomerSpeakerId(CustomerSpeakerIdT &&value)
SpeakerSummary & WithLastAccessedAt(LastAccessedAtT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetCreatedAt(CreatedAtT &&value)
AWS_VOICEID_API SpeakerSummary()=default
const Aws::String & GetDomainId() const
const Aws::Utils::DateTime & GetLastAccessedAt() const
void SetLastAccessedAt(LastAccessedAtT &&value)
AWS_VOICEID_API SpeakerSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
SpeakerSummary & WithUpdatedAt(UpdatedAtT &&value)
SpeakerSummary & WithDomainId(DomainIdT &&value)
void SetStatus(SpeakerStatus value)
void SetDomainId(DomainIdT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
SpeakerSummary & WithGeneratedSpeakerId(GeneratedSpeakerIdT &&value)
AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const
SpeakerSummary & WithStatus(SpeakerStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue