AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
VoiceChannelResponse.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Pinpoint
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_PINPOINT_API VoiceChannelResponse() = default;
38 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
47 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
48 template<typename ApplicationIdT = Aws::String>
49 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::forward<ApplicationIdT>(value); }
50 template<typename ApplicationIdT = Aws::String>
51 VoiceChannelResponse& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
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) { m_creationDateHasBeenSet = true; m_creationDate = std::forward<CreationDateT>(value); }
63 template<typename CreationDateT = Aws::String>
64 VoiceChannelResponse& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
66
68
71 inline bool GetEnabled() const { return m_enabled; }
72 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
73 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
74 inline VoiceChannelResponse& WithEnabled(bool value) { SetEnabled(value); return *this;}
76
78
81 inline bool GetHasCredential() const { return m_hasCredential; }
82 inline bool HasCredentialHasBeenSet() const { return m_hasCredentialHasBeenSet; }
83 inline void SetHasCredential(bool value) { m_hasCredentialHasBeenSet = true; m_hasCredential = value; }
84 inline VoiceChannelResponse& WithHasCredential(bool value) { SetHasCredential(value); return *this;}
86
88
92 inline const Aws::String& GetId() const { return m_id; }
93 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
94 template<typename IdT = Aws::String>
95 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
96 template<typename IdT = Aws::String>
97 VoiceChannelResponse& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
99
101
104 inline bool GetIsArchived() const { return m_isArchived; }
105 inline bool IsArchivedHasBeenSet() const { return m_isArchivedHasBeenSet; }
106 inline void SetIsArchived(bool value) { m_isArchivedHasBeenSet = true; m_isArchived = value; }
107 inline VoiceChannelResponse& WithIsArchived(bool value) { SetIsArchived(value); return *this;}
109
111
114 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
115 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
116 template<typename LastModifiedByT = Aws::String>
117 void SetLastModifiedBy(LastModifiedByT&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::forward<LastModifiedByT>(value); }
118 template<typename LastModifiedByT = Aws::String>
119 VoiceChannelResponse& WithLastModifiedBy(LastModifiedByT&& value) { SetLastModifiedBy(std::forward<LastModifiedByT>(value)); return *this;}
121
123
127 inline const Aws::String& GetLastModifiedDate() const { return m_lastModifiedDate; }
128 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
129 template<typename LastModifiedDateT = Aws::String>
130 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
131 template<typename LastModifiedDateT = Aws::String>
132 VoiceChannelResponse& WithLastModifiedDate(LastModifiedDateT&& value) { SetLastModifiedDate(std::forward<LastModifiedDateT>(value)); return *this;}
134
136
140 inline const Aws::String& GetPlatform() const { return m_platform; }
141 inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
142 template<typename PlatformT = Aws::String>
143 void SetPlatform(PlatformT&& value) { m_platformHasBeenSet = true; m_platform = std::forward<PlatformT>(value); }
144 template<typename PlatformT = Aws::String>
145 VoiceChannelResponse& WithPlatform(PlatformT&& value) { SetPlatform(std::forward<PlatformT>(value)); return *this;}
147
149
152 inline int GetVersion() const { return m_version; }
153 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
154 inline void SetVersion(int value) { m_versionHasBeenSet = true; m_version = value; }
155 inline VoiceChannelResponse& WithVersion(int value) { SetVersion(value); return *this;}
157 private:
158
159 Aws::String m_applicationId;
160 bool m_applicationIdHasBeenSet = false;
161
162 Aws::String m_creationDate;
163 bool m_creationDateHasBeenSet = false;
164
165 bool m_enabled{false};
166 bool m_enabledHasBeenSet = false;
167
168 bool m_hasCredential{false};
169 bool m_hasCredentialHasBeenSet = false;
170
171 Aws::String m_id;
172 bool m_idHasBeenSet = false;
173
174 bool m_isArchived{false};
175 bool m_isArchivedHasBeenSet = false;
176
177 Aws::String m_lastModifiedBy;
178 bool m_lastModifiedByHasBeenSet = false;
179
180 Aws::String m_lastModifiedDate;
181 bool m_lastModifiedDateHasBeenSet = false;
182
183 Aws::String m_platform;
184 bool m_platformHasBeenSet = false;
185
186 int m_version{0};
187 bool m_versionHasBeenSet = false;
188 };
189
190} // namespace Model
191} // namespace Pinpoint
192} // 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