AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
VoiceChannelResponse.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/pinpoint/Pinpoint_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Pinpoint {
20namespace Model {
21
29 public:
30 AWS_PINPOINT_API VoiceChannelResponse() = default;
33 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
41 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
42 template <typename ApplicationIdT = Aws::String>
43 void SetApplicationId(ApplicationIdT&& value) {
44 m_applicationIdHasBeenSet = true;
45 m_applicationId = std::forward<ApplicationIdT>(value);
46 }
47 template <typename ApplicationIdT = Aws::String>
48 VoiceChannelResponse& WithApplicationId(ApplicationIdT&& value) {
49 SetApplicationId(std::forward<ApplicationIdT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetCreationDate() const { return m_creationDate; }
60 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
61 template <typename CreationDateT = Aws::String>
62 void SetCreationDate(CreationDateT&& value) {
63 m_creationDateHasBeenSet = true;
64 m_creationDate = std::forward<CreationDateT>(value);
65 }
66 template <typename CreationDateT = Aws::String>
67 VoiceChannelResponse& WithCreationDate(CreationDateT&& value) {
68 SetCreationDate(std::forward<CreationDateT>(value));
69 return *this;
70 }
72
74
77 inline bool GetEnabled() const { return m_enabled; }
78 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
79 inline void SetEnabled(bool value) {
80 m_enabledHasBeenSet = true;
81 m_enabled = value;
82 }
83 inline VoiceChannelResponse& WithEnabled(bool value) {
84 SetEnabled(value);
85 return *this;
86 }
88
90
93 inline bool GetHasCredential() const { return m_hasCredential; }
94 inline bool HasCredentialHasBeenSet() const { return m_hasCredentialHasBeenSet; }
95 inline void SetHasCredential(bool value) {
96 m_hasCredentialHasBeenSet = true;
97 m_hasCredential = value;
98 }
100 SetHasCredential(value);
101 return *this;
102 }
104
106
110 inline const Aws::String& GetId() const { return m_id; }
111 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
112 template <typename IdT = Aws::String>
113 void SetId(IdT&& value) {
114 m_idHasBeenSet = true;
115 m_id = std::forward<IdT>(value);
116 }
117 template <typename IdT = Aws::String>
119 SetId(std::forward<IdT>(value));
120 return *this;
121 }
123
125
128 inline bool GetIsArchived() const { return m_isArchived; }
129 inline bool IsArchivedHasBeenSet() const { return m_isArchivedHasBeenSet; }
130 inline void SetIsArchived(bool value) {
131 m_isArchivedHasBeenSet = true;
132 m_isArchived = value;
133 }
135 SetIsArchived(value);
136 return *this;
137 }
139
141
144 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
145 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
146 template <typename LastModifiedByT = Aws::String>
147 void SetLastModifiedBy(LastModifiedByT&& value) {
148 m_lastModifiedByHasBeenSet = true;
149 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
150 }
151 template <typename LastModifiedByT = Aws::String>
152 VoiceChannelResponse& WithLastModifiedBy(LastModifiedByT&& value) {
153 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
154 return *this;
155 }
157
159
163 inline const Aws::String& GetLastModifiedDate() const { return m_lastModifiedDate; }
164 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
165 template <typename LastModifiedDateT = Aws::String>
166 void SetLastModifiedDate(LastModifiedDateT&& value) {
167 m_lastModifiedDateHasBeenSet = true;
168 m_lastModifiedDate = std::forward<LastModifiedDateT>(value);
169 }
170 template <typename LastModifiedDateT = Aws::String>
171 VoiceChannelResponse& WithLastModifiedDate(LastModifiedDateT&& value) {
172 SetLastModifiedDate(std::forward<LastModifiedDateT>(value));
173 return *this;
174 }
176
178
182 inline const Aws::String& GetPlatform() const { return m_platform; }
183 inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
184 template <typename PlatformT = Aws::String>
185 void SetPlatform(PlatformT&& value) {
186 m_platformHasBeenSet = true;
187 m_platform = std::forward<PlatformT>(value);
188 }
189 template <typename PlatformT = Aws::String>
190 VoiceChannelResponse& WithPlatform(PlatformT&& value) {
191 SetPlatform(std::forward<PlatformT>(value));
192 return *this;
193 }
195
197
200 inline int GetVersion() const { return m_version; }
201 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
202 inline void SetVersion(int value) {
203 m_versionHasBeenSet = true;
204 m_version = value;
205 }
207 SetVersion(value);
208 return *this;
209 }
211 private:
212 Aws::String m_applicationId;
213 bool m_applicationIdHasBeenSet = false;
214
215 Aws::String m_creationDate;
216 bool m_creationDateHasBeenSet = false;
217
218 bool m_enabled{false};
219 bool m_enabledHasBeenSet = false;
220
221 bool m_hasCredential{false};
222 bool m_hasCredentialHasBeenSet = false;
223
224 Aws::String m_id;
225 bool m_idHasBeenSet = false;
226
227 bool m_isArchived{false};
228 bool m_isArchivedHasBeenSet = false;
229
230 Aws::String m_lastModifiedBy;
231 bool m_lastModifiedByHasBeenSet = false;
232
233 Aws::String m_lastModifiedDate;
234 bool m_lastModifiedDateHasBeenSet = false;
235
236 Aws::String m_platform;
237 bool m_platformHasBeenSet = false;
238
239 int m_version{0};
240 bool m_versionHasBeenSet = false;
241};
242
243} // namespace Model
244} // namespace Pinpoint
245} // namespace Aws
VoiceChannelResponse & WithVersion(int value)
AWS_PINPOINT_API VoiceChannelResponse()=default
VoiceChannelResponse & WithEnabled(bool value)
VoiceChannelResponse & WithId(IdT &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
VoiceChannelResponse & WithHasCredential(bool value)
VoiceChannelResponse & WithIsArchived(bool value)
VoiceChannelResponse & WithApplicationId(ApplicationIdT &&value)
VoiceChannelResponse & WithLastModifiedBy(LastModifiedByT &&value)
VoiceChannelResponse & WithLastModifiedDate(LastModifiedDateT &&value)
AWS_PINPOINT_API VoiceChannelResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
VoiceChannelResponse & WithPlatform(PlatformT &&value)
void SetLastModifiedBy(LastModifiedByT &&value)
void SetLastModifiedDate(LastModifiedDateT &&value)
AWS_PINPOINT_API VoiceChannelResponse(Aws::Utils::Json::JsonView jsonValue)
VoiceChannelResponse & WithCreationDate(CreationDateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue