AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
50 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
51 inline SpeakerSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
52 inline SpeakerSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
54
56
59 inline const Aws::String& GetCustomerSpeakerId() const{ return m_customerSpeakerId; }
60 inline bool CustomerSpeakerIdHasBeenSet() const { return m_customerSpeakerIdHasBeenSet; }
61 inline void SetCustomerSpeakerId(const Aws::String& value) { m_customerSpeakerIdHasBeenSet = true; m_customerSpeakerId = value; }
62 inline void SetCustomerSpeakerId(Aws::String&& value) { m_customerSpeakerIdHasBeenSet = true; m_customerSpeakerId = std::move(value); }
63 inline void SetCustomerSpeakerId(const char* value) { m_customerSpeakerIdHasBeenSet = true; m_customerSpeakerId.assign(value); }
64 inline SpeakerSummary& WithCustomerSpeakerId(const Aws::String& value) { SetCustomerSpeakerId(value); return *this;}
65 inline SpeakerSummary& WithCustomerSpeakerId(Aws::String&& value) { SetCustomerSpeakerId(std::move(value)); return *this;}
66 inline SpeakerSummary& WithCustomerSpeakerId(const char* value) { SetCustomerSpeakerId(value); return *this;}
68
70
73 inline const Aws::String& GetDomainId() const{ return m_domainId; }
74 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
75 inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }
76 inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }
77 inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }
78 inline SpeakerSummary& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
79 inline SpeakerSummary& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
80 inline SpeakerSummary& WithDomainId(const char* value) { SetDomainId(value); return *this;}
82
84
87 inline const Aws::String& GetGeneratedSpeakerId() const{ return m_generatedSpeakerId; }
88 inline bool GeneratedSpeakerIdHasBeenSet() const { return m_generatedSpeakerIdHasBeenSet; }
89 inline void SetGeneratedSpeakerId(const Aws::String& value) { m_generatedSpeakerIdHasBeenSet = true; m_generatedSpeakerId = value; }
90 inline void SetGeneratedSpeakerId(Aws::String&& value) { m_generatedSpeakerIdHasBeenSet = true; m_generatedSpeakerId = std::move(value); }
91 inline void SetGeneratedSpeakerId(const char* value) { m_generatedSpeakerIdHasBeenSet = true; m_generatedSpeakerId.assign(value); }
92 inline SpeakerSummary& WithGeneratedSpeakerId(const Aws::String& value) { SetGeneratedSpeakerId(value); return *this;}
93 inline SpeakerSummary& WithGeneratedSpeakerId(Aws::String&& value) { SetGeneratedSpeakerId(std::move(value)); return *this;}
94 inline SpeakerSummary& WithGeneratedSpeakerId(const char* value) { SetGeneratedSpeakerId(value); return *this;}
96
98
103 inline const Aws::Utils::DateTime& GetLastAccessedAt() const{ return m_lastAccessedAt; }
104 inline bool LastAccessedAtHasBeenSet() const { return m_lastAccessedAtHasBeenSet; }
105 inline void SetLastAccessedAt(const Aws::Utils::DateTime& value) { m_lastAccessedAtHasBeenSet = true; m_lastAccessedAt = value; }
106 inline void SetLastAccessedAt(Aws::Utils::DateTime&& value) { m_lastAccessedAtHasBeenSet = true; m_lastAccessedAt = std::move(value); }
107 inline SpeakerSummary& WithLastAccessedAt(const Aws::Utils::DateTime& value) { SetLastAccessedAt(value); return *this;}
108 inline SpeakerSummary& WithLastAccessedAt(Aws::Utils::DateTime&& value) { SetLastAccessedAt(std::move(value)); return *this;}
110
112
115 inline const SpeakerStatus& GetStatus() const{ return m_status; }
116 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
117 inline void SetStatus(const SpeakerStatus& value) { m_statusHasBeenSet = true; m_status = value; }
118 inline void SetStatus(SpeakerStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
119 inline SpeakerSummary& WithStatus(const SpeakerStatus& value) { SetStatus(value); return *this;}
120 inline SpeakerSummary& WithStatus(SpeakerStatus&& value) { SetStatus(std::move(value)); return *this;}
122
124
127 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
128 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
129 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
130 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
131 inline SpeakerSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
132 inline SpeakerSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
134 private:
135
136 Aws::Utils::DateTime m_createdAt;
137 bool m_createdAtHasBeenSet = false;
138
139 Aws::String m_customerSpeakerId;
140 bool m_customerSpeakerIdHasBeenSet = false;
141
142 Aws::String m_domainId;
143 bool m_domainIdHasBeenSet = false;
144
145 Aws::String m_generatedSpeakerId;
146 bool m_generatedSpeakerIdHasBeenSet = false;
147
148 Aws::Utils::DateTime m_lastAccessedAt;
149 bool m_lastAccessedAtHasBeenSet = false;
150
151 SpeakerStatus m_status;
152 bool m_statusHasBeenSet = false;
153
154 Aws::Utils::DateTime m_updatedAt;
155 bool m_updatedAtHasBeenSet = false;
156 };
157
158} // namespace Model
159} // namespace VoiceID
160} // namespace Aws
SpeakerSummary & WithCustomerSpeakerId(const Aws::String &value)
SpeakerSummary & WithDomainId(Aws::String &&value)
const Aws::String & GetCustomerSpeakerId() const
const Aws::String & GetGeneratedSpeakerId() const
void SetLastAccessedAt(const Aws::Utils::DateTime &value)
AWS_VOICEID_API SpeakerSummary(Aws::Utils::Json::JsonView jsonValue)
SpeakerSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetStatus(const SpeakerStatus &value)
SpeakerSummary & WithUpdatedAt(const Aws::Utils::DateTime &value)
void SetGeneratedSpeakerId(const char *value)
void SetDomainId(const char *value)
SpeakerSummary & WithUpdatedAt(Aws::Utils::DateTime &&value)
void SetCustomerSpeakerId(Aws::String &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetDomainId() const
const SpeakerStatus & GetStatus() const
const Aws::Utils::DateTime & GetLastAccessedAt() const
void SetUpdatedAt(const Aws::Utils::DateTime &value)
void SetGeneratedSpeakerId(const Aws::String &value)
SpeakerSummary & WithDomainId(const char *value)
void SetDomainId(const Aws::String &value)
AWS_VOICEID_API SpeakerSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
SpeakerSummary & WithStatus(SpeakerStatus &&value)
SpeakerSummary & WithStatus(const SpeakerStatus &value)
SpeakerSummary & WithDomainId(const Aws::String &value)
SpeakerSummary & WithGeneratedSpeakerId(Aws::String &&value)
SpeakerSummary & WithLastAccessedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetCustomerSpeakerId(const Aws::String &value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
SpeakerSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetCustomerSpeakerId(const char *value)
SpeakerSummary & WithGeneratedSpeakerId(const char *value)
void SetStatus(SpeakerStatus &&value)
SpeakerSummary & WithGeneratedSpeakerId(const Aws::String &value)
void SetDomainId(Aws::String &&value)
void SetLastAccessedAt(Aws::Utils::DateTime &&value)
SpeakerSummary & WithLastAccessedAt(Aws::Utils::DateTime &&value)
void SetGeneratedSpeakerId(Aws::String &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const
SpeakerSummary & WithCustomerSpeakerId(Aws::String &&value)
SpeakerSummary & WithCustomerSpeakerId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue