AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Speaker.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
33 class Speaker
34 {
35 public:
36 AWS_VOICEID_API Speaker();
37 AWS_VOICEID_API Speaker(Aws::Utils::Json::JsonView jsonValue);
38 AWS_VOICEID_API Speaker& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
47 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
48 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
49 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
50 inline Speaker& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
51 inline Speaker& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetCustomerSpeakerId() const{ return m_customerSpeakerId; }
59 inline bool CustomerSpeakerIdHasBeenSet() const { return m_customerSpeakerIdHasBeenSet; }
60 inline void SetCustomerSpeakerId(const Aws::String& value) { m_customerSpeakerIdHasBeenSet = true; m_customerSpeakerId = value; }
61 inline void SetCustomerSpeakerId(Aws::String&& value) { m_customerSpeakerIdHasBeenSet = true; m_customerSpeakerId = std::move(value); }
62 inline void SetCustomerSpeakerId(const char* value) { m_customerSpeakerIdHasBeenSet = true; m_customerSpeakerId.assign(value); }
63 inline Speaker& WithCustomerSpeakerId(const Aws::String& value) { SetCustomerSpeakerId(value); return *this;}
64 inline Speaker& WithCustomerSpeakerId(Aws::String&& value) { SetCustomerSpeakerId(std::move(value)); return *this;}
65 inline Speaker& WithCustomerSpeakerId(const char* value) { SetCustomerSpeakerId(value); return *this;}
67
69
72 inline const Aws::String& GetDomainId() const{ return m_domainId; }
73 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
74 inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }
75 inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }
76 inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }
77 inline Speaker& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
78 inline Speaker& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
79 inline Speaker& WithDomainId(const char* value) { SetDomainId(value); return *this;}
81
83
86 inline const Aws::String& GetGeneratedSpeakerId() const{ return m_generatedSpeakerId; }
87 inline bool GeneratedSpeakerIdHasBeenSet() const { return m_generatedSpeakerIdHasBeenSet; }
88 inline void SetGeneratedSpeakerId(const Aws::String& value) { m_generatedSpeakerIdHasBeenSet = true; m_generatedSpeakerId = value; }
89 inline void SetGeneratedSpeakerId(Aws::String&& value) { m_generatedSpeakerIdHasBeenSet = true; m_generatedSpeakerId = std::move(value); }
90 inline void SetGeneratedSpeakerId(const char* value) { m_generatedSpeakerIdHasBeenSet = true; m_generatedSpeakerId.assign(value); }
91 inline Speaker& WithGeneratedSpeakerId(const Aws::String& value) { SetGeneratedSpeakerId(value); return *this;}
92 inline Speaker& WithGeneratedSpeakerId(Aws::String&& value) { SetGeneratedSpeakerId(std::move(value)); return *this;}
93 inline Speaker& WithGeneratedSpeakerId(const char* value) { SetGeneratedSpeakerId(value); return *this;}
95
97
102 inline const Aws::Utils::DateTime& GetLastAccessedAt() const{ return m_lastAccessedAt; }
103 inline bool LastAccessedAtHasBeenSet() const { return m_lastAccessedAtHasBeenSet; }
104 inline void SetLastAccessedAt(const Aws::Utils::DateTime& value) { m_lastAccessedAtHasBeenSet = true; m_lastAccessedAt = value; }
105 inline void SetLastAccessedAt(Aws::Utils::DateTime&& value) { m_lastAccessedAtHasBeenSet = true; m_lastAccessedAt = std::move(value); }
106 inline Speaker& WithLastAccessedAt(const Aws::Utils::DateTime& value) { SetLastAccessedAt(value); return *this;}
107 inline Speaker& WithLastAccessedAt(Aws::Utils::DateTime&& value) { SetLastAccessedAt(std::move(value)); return *this;}
109
111
114 inline const SpeakerStatus& GetStatus() const{ return m_status; }
115 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
116 inline void SetStatus(const SpeakerStatus& value) { m_statusHasBeenSet = true; m_status = value; }
117 inline void SetStatus(SpeakerStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
118 inline Speaker& WithStatus(const SpeakerStatus& value) { SetStatus(value); return *this;}
119 inline Speaker& WithStatus(SpeakerStatus&& value) { SetStatus(std::move(value)); return *this;}
121
123
126 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
127 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
128 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
129 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
130 inline Speaker& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
131 inline Speaker& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
133 private:
134
135 Aws::Utils::DateTime m_createdAt;
136 bool m_createdAtHasBeenSet = false;
137
138 Aws::String m_customerSpeakerId;
139 bool m_customerSpeakerIdHasBeenSet = false;
140
141 Aws::String m_domainId;
142 bool m_domainIdHasBeenSet = false;
143
144 Aws::String m_generatedSpeakerId;
145 bool m_generatedSpeakerIdHasBeenSet = false;
146
147 Aws::Utils::DateTime m_lastAccessedAt;
148 bool m_lastAccessedAtHasBeenSet = false;
149
150 SpeakerStatus m_status;
151 bool m_statusHasBeenSet = false;
152
153 Aws::Utils::DateTime m_updatedAt;
154 bool m_updatedAtHasBeenSet = false;
155 };
156
157} // namespace Model
158} // namespace VoiceID
159} // namespace Aws
bool StatusHasBeenSet() const
Definition Speaker.h:115
const SpeakerStatus & GetStatus() const
Definition Speaker.h:114
void SetStatus(SpeakerStatus &&value)
Definition Speaker.h:117
void SetDomainId(Aws::String &&value)
Definition Speaker.h:75
void SetGeneratedSpeakerId(const Aws::String &value)
Definition Speaker.h:88
Speaker & WithDomainId(Aws::String &&value)
Definition Speaker.h:78
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition Speaker.h:48
AWS_VOICEID_API Speaker(Aws::Utils::Json::JsonView jsonValue)
Speaker & WithDomainId(const Aws::String &value)
Definition Speaker.h:77
void SetLastAccessedAt(const Aws::Utils::DateTime &value)
Definition Speaker.h:104
Speaker & WithGeneratedSpeakerId(const Aws::String &value)
Definition Speaker.h:91
bool CreatedAtHasBeenSet() const
Definition Speaker.h:47
Speaker & WithUpdatedAt(const Aws::Utils::DateTime &value)
Definition Speaker.h:130
void SetLastAccessedAt(Aws::Utils::DateTime &&value)
Definition Speaker.h:105
Speaker & WithCustomerSpeakerId(const Aws::String &value)
Definition Speaker.h:63
const Aws::String & GetCustomerSpeakerId() const
Definition Speaker.h:58
const Aws::String & GetDomainId() const
Definition Speaker.h:72
AWS_VOICEID_API Speaker()
void SetGeneratedSpeakerId(const char *value)
Definition Speaker.h:90
void SetUpdatedAt(const Aws::Utils::DateTime &value)
Definition Speaker.h:128
AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const
Speaker & WithLastAccessedAt(const Aws::Utils::DateTime &value)
Definition Speaker.h:106
Speaker & WithDomainId(const char *value)
Definition Speaker.h:79
Speaker & WithStatus(SpeakerStatus &&value)
Definition Speaker.h:119
void SetDomainId(const Aws::String &value)
Definition Speaker.h:74
void SetCustomerSpeakerId(const Aws::String &value)
Definition Speaker.h:60
AWS_VOICEID_API Speaker & operator=(Aws::Utils::Json::JsonView jsonValue)
Speaker & WithGeneratedSpeakerId(Aws::String &&value)
Definition Speaker.h:92
bool CustomerSpeakerIdHasBeenSet() const
Definition Speaker.h:59
bool LastAccessedAtHasBeenSet() const
Definition Speaker.h:103
void SetUpdatedAt(Aws::Utils::DateTime &&value)
Definition Speaker.h:129
const Aws::Utils::DateTime & GetCreatedAt() const
Definition Speaker.h:46
void SetGeneratedSpeakerId(Aws::String &&value)
Definition Speaker.h:89
const Aws::Utils::DateTime & GetLastAccessedAt() const
Definition Speaker.h:102
Speaker & WithCustomerSpeakerId(Aws::String &&value)
Definition Speaker.h:64
const Aws::Utils::DateTime & GetUpdatedAt() const
Definition Speaker.h:126
bool GeneratedSpeakerIdHasBeenSet() const
Definition Speaker.h:87
Speaker & WithCustomerSpeakerId(const char *value)
Definition Speaker.h:65
bool UpdatedAtHasBeenSet() const
Definition Speaker.h:127
void SetCustomerSpeakerId(const char *value)
Definition Speaker.h:62
Speaker & WithLastAccessedAt(Aws::Utils::DateTime &&value)
Definition Speaker.h:107
Speaker & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition Speaker.h:51
Speaker & WithUpdatedAt(Aws::Utils::DateTime &&value)
Definition Speaker.h:131
Speaker & WithGeneratedSpeakerId(const char *value)
Definition Speaker.h:93
Speaker & WithStatus(const SpeakerStatus &value)
Definition Speaker.h:118
bool DomainIdHasBeenSet() const
Definition Speaker.h:73
void SetStatus(const SpeakerStatus &value)
Definition Speaker.h:116
const Aws::String & GetGeneratedSpeakerId() const
Definition Speaker.h:86
void SetDomainId(const char *value)
Definition Speaker.h:76
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition Speaker.h:49
void SetCustomerSpeakerId(Aws::String &&value)
Definition Speaker.h:61
Speaker & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition Speaker.h:50
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue