AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
49 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
50 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
51 inline VoiceChannelResponse& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
52 inline VoiceChannelResponse& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
53 inline VoiceChannelResponse& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
55
57
61 inline const Aws::String& GetCreationDate() const{ return m_creationDate; }
62 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
63 inline void SetCreationDate(const Aws::String& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
64 inline void SetCreationDate(Aws::String&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
65 inline void SetCreationDate(const char* value) { m_creationDateHasBeenSet = true; m_creationDate.assign(value); }
66 inline VoiceChannelResponse& WithCreationDate(const Aws::String& value) { SetCreationDate(value); return *this;}
67 inline VoiceChannelResponse& WithCreationDate(Aws::String&& value) { SetCreationDate(std::move(value)); return *this;}
68 inline VoiceChannelResponse& WithCreationDate(const char* value) { SetCreationDate(value); return *this;}
70
72
75 inline bool GetEnabled() const{ return m_enabled; }
76 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
77 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
78 inline VoiceChannelResponse& WithEnabled(bool value) { SetEnabled(value); return *this;}
80
82
85 inline bool GetHasCredential() const{ return m_hasCredential; }
86 inline bool HasCredentialHasBeenSet() const { return m_hasCredentialHasBeenSet; }
87 inline void SetHasCredential(bool value) { m_hasCredentialHasBeenSet = true; m_hasCredential = value; }
88 inline VoiceChannelResponse& WithHasCredential(bool value) { SetHasCredential(value); return *this;}
90
92
96 inline const Aws::String& GetId() const{ return m_id; }
97 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
98 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
99 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
100 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
101 inline VoiceChannelResponse& WithId(const Aws::String& value) { SetId(value); return *this;}
102 inline VoiceChannelResponse& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
103 inline VoiceChannelResponse& WithId(const char* value) { SetId(value); return *this;}
105
107
110 inline bool GetIsArchived() const{ return m_isArchived; }
111 inline bool IsArchivedHasBeenSet() const { return m_isArchivedHasBeenSet; }
112 inline void SetIsArchived(bool value) { m_isArchivedHasBeenSet = true; m_isArchived = value; }
113 inline VoiceChannelResponse& WithIsArchived(bool value) { SetIsArchived(value); return *this;}
115
117
120 inline const Aws::String& GetLastModifiedBy() const{ return m_lastModifiedBy; }
121 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
122 inline void SetLastModifiedBy(const Aws::String& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = value; }
123 inline void SetLastModifiedBy(Aws::String&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::move(value); }
124 inline void SetLastModifiedBy(const char* value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy.assign(value); }
125 inline VoiceChannelResponse& WithLastModifiedBy(const Aws::String& value) { SetLastModifiedBy(value); return *this;}
126 inline VoiceChannelResponse& WithLastModifiedBy(Aws::String&& value) { SetLastModifiedBy(std::move(value)); return *this;}
127 inline VoiceChannelResponse& WithLastModifiedBy(const char* value) { SetLastModifiedBy(value); return *this;}
129
131
135 inline const Aws::String& GetLastModifiedDate() const{ return m_lastModifiedDate; }
136 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
137 inline void SetLastModifiedDate(const Aws::String& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; }
138 inline void SetLastModifiedDate(Aws::String&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); }
139 inline void SetLastModifiedDate(const char* value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate.assign(value); }
140 inline VoiceChannelResponse& WithLastModifiedDate(const Aws::String& value) { SetLastModifiedDate(value); return *this;}
141 inline VoiceChannelResponse& WithLastModifiedDate(Aws::String&& value) { SetLastModifiedDate(std::move(value)); return *this;}
142 inline VoiceChannelResponse& WithLastModifiedDate(const char* value) { SetLastModifiedDate(value); return *this;}
144
146
150 inline const Aws::String& GetPlatform() const{ return m_platform; }
151 inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
152 inline void SetPlatform(const Aws::String& value) { m_platformHasBeenSet = true; m_platform = value; }
153 inline void SetPlatform(Aws::String&& value) { m_platformHasBeenSet = true; m_platform = std::move(value); }
154 inline void SetPlatform(const char* value) { m_platformHasBeenSet = true; m_platform.assign(value); }
155 inline VoiceChannelResponse& WithPlatform(const Aws::String& value) { SetPlatform(value); return *this;}
156 inline VoiceChannelResponse& WithPlatform(Aws::String&& value) { SetPlatform(std::move(value)); return *this;}
157 inline VoiceChannelResponse& WithPlatform(const char* value) { SetPlatform(value); return *this;}
159
161
164 inline int GetVersion() const{ return m_version; }
165 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
166 inline void SetVersion(int value) { m_versionHasBeenSet = true; m_version = value; }
167 inline VoiceChannelResponse& WithVersion(int value) { SetVersion(value); return *this;}
169 private:
170
171 Aws::String m_applicationId;
172 bool m_applicationIdHasBeenSet = false;
173
174 Aws::String m_creationDate;
175 bool m_creationDateHasBeenSet = false;
176
177 bool m_enabled;
178 bool m_enabledHasBeenSet = false;
179
180 bool m_hasCredential;
181 bool m_hasCredentialHasBeenSet = false;
182
183 Aws::String m_id;
184 bool m_idHasBeenSet = false;
185
186 bool m_isArchived;
187 bool m_isArchivedHasBeenSet = false;
188
189 Aws::String m_lastModifiedBy;
190 bool m_lastModifiedByHasBeenSet = false;
191
192 Aws::String m_lastModifiedDate;
193 bool m_lastModifiedDateHasBeenSet = false;
194
195 Aws::String m_platform;
196 bool m_platformHasBeenSet = false;
197
198 int m_version;
199 bool m_versionHasBeenSet = false;
200 };
201
202} // namespace Model
203} // namespace Pinpoint
204} // namespace Aws
VoiceChannelResponse & WithPlatform(Aws::String &&value)
VoiceChannelResponse & WithVersion(int value)
void SetApplicationId(const Aws::String &value)
VoiceChannelResponse & WithPlatform(const char *value)
void SetCreationDate(const Aws::String &value)
VoiceChannelResponse & WithLastModifiedDate(const char *value)
VoiceChannelResponse & WithEnabled(bool value)
VoiceChannelResponse & WithCreationDate(const char *value)
void SetLastModifiedDate(const Aws::String &value)
VoiceChannelResponse & WithCreationDate(const Aws::String &value)
VoiceChannelResponse & WithLastModifiedBy(Aws::String &&value)
VoiceChannelResponse & WithLastModifiedBy(const char *value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
VoiceChannelResponse & WithId(const Aws::String &value)
VoiceChannelResponse & WithPlatform(const Aws::String &value)
VoiceChannelResponse & WithHasCredential(bool value)
VoiceChannelResponse & WithIsArchived(bool value)
VoiceChannelResponse & WithApplicationId(const char *value)
AWS_PINPOINT_API VoiceChannelResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
VoiceChannelResponse & WithLastModifiedBy(const Aws::String &value)
VoiceChannelResponse & WithId(Aws::String &&value)
VoiceChannelResponse & WithId(const char *value)
VoiceChannelResponse & WithApplicationId(const Aws::String &value)
VoiceChannelResponse & WithLastModifiedDate(const Aws::String &value)
AWS_PINPOINT_API VoiceChannelResponse(Aws::Utils::Json::JsonView jsonValue)
VoiceChannelResponse & WithCreationDate(Aws::String &&value)
VoiceChannelResponse & WithLastModifiedDate(Aws::String &&value)
VoiceChannelResponse & WithApplicationId(Aws::String &&value)
void SetLastModifiedBy(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue