AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SpeakerSummary.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/SpeakerStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace VoiceID
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_VOICEID_API SpeakerSummary() = default;
38 AWS_VOICEID_API SpeakerSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
48 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
49 template<typename CreatedAtT = Aws::Utils::DateTime>
50 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
51 template<typename CreatedAtT = Aws::Utils::DateTime>
52 SpeakerSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
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) { m_customerSpeakerIdHasBeenSet = true; m_customerSpeakerId = std::forward<CustomerSpeakerIdT>(value); }
63 template<typename CustomerSpeakerIdT = Aws::String>
64 SpeakerSummary& WithCustomerSpeakerId(CustomerSpeakerIdT&& value) { SetCustomerSpeakerId(std::forward<CustomerSpeakerIdT>(value)); return *this;}
66
68
71 inline const Aws::String& GetDomainId() const { return m_domainId; }
72 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
73 template<typename DomainIdT = Aws::String>
74 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
75 template<typename DomainIdT = Aws::String>
76 SpeakerSummary& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
78
80
83 inline const Aws::String& GetGeneratedSpeakerId() const { return m_generatedSpeakerId; }
84 inline bool GeneratedSpeakerIdHasBeenSet() const { return m_generatedSpeakerIdHasBeenSet; }
85 template<typename GeneratedSpeakerIdT = Aws::String>
86 void SetGeneratedSpeakerId(GeneratedSpeakerIdT&& value) { m_generatedSpeakerIdHasBeenSet = true; m_generatedSpeakerId = std::forward<GeneratedSpeakerIdT>(value); }
87 template<typename GeneratedSpeakerIdT = Aws::String>
88 SpeakerSummary& WithGeneratedSpeakerId(GeneratedSpeakerIdT&& value) { SetGeneratedSpeakerId(std::forward<GeneratedSpeakerIdT>(value)); return *this;}
90
92
97 inline const Aws::Utils::DateTime& GetLastAccessedAt() const { return m_lastAccessedAt; }
98 inline bool LastAccessedAtHasBeenSet() const { return m_lastAccessedAtHasBeenSet; }
99 template<typename LastAccessedAtT = Aws::Utils::DateTime>
100 void SetLastAccessedAt(LastAccessedAtT&& value) { m_lastAccessedAtHasBeenSet = true; m_lastAccessedAt = std::forward<LastAccessedAtT>(value); }
101 template<typename LastAccessedAtT = Aws::Utils::DateTime>
102 SpeakerSummary& WithLastAccessedAt(LastAccessedAtT&& value) { SetLastAccessedAt(std::forward<LastAccessedAtT>(value)); return *this;}
104
106
109 inline SpeakerStatus GetStatus() const { return m_status; }
110 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
111 inline void SetStatus(SpeakerStatus value) { m_statusHasBeenSet = true; m_status = value; }
112 inline SpeakerSummary& WithStatus(SpeakerStatus value) { SetStatus(value); return *this;}
114
116
119 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
120 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
121 template<typename UpdatedAtT = Aws::Utils::DateTime>
122 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
123 template<typename UpdatedAtT = Aws::Utils::DateTime>
124 SpeakerSummary& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
126 private:
127
128 Aws::Utils::DateTime m_createdAt{};
129 bool m_createdAtHasBeenSet = false;
130
131 Aws::String m_customerSpeakerId;
132 bool m_customerSpeakerIdHasBeenSet = false;
133
134 Aws::String m_domainId;
135 bool m_domainIdHasBeenSet = false;
136
137 Aws::String m_generatedSpeakerId;
138 bool m_generatedSpeakerIdHasBeenSet = false;
139
140 Aws::Utils::DateTime m_lastAccessedAt{};
141 bool m_lastAccessedAtHasBeenSet = false;
142
144 bool m_statusHasBeenSet = false;
145
146 Aws::Utils::DateTime m_updatedAt{};
147 bool m_updatedAtHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace VoiceID
152} // 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