AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
BaiduChannelResponse.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 BaiduChannelResponse() = 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 BaiduChannelResponse& WithApplicationId(ApplicationIdT&& value) {
49 SetApplicationId(std::forward<ApplicationIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetCreationDate() const { return m_creationDate; }
59 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
60 template <typename CreationDateT = Aws::String>
61 void SetCreationDate(CreationDateT&& value) {
62 m_creationDateHasBeenSet = true;
63 m_creationDate = std::forward<CreationDateT>(value);
64 }
65 template <typename CreationDateT = Aws::String>
66 BaiduChannelResponse& WithCreationDate(CreationDateT&& value) {
67 SetCreationDate(std::forward<CreationDateT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetCredential() const { return m_credential; }
78 inline bool CredentialHasBeenSet() const { return m_credentialHasBeenSet; }
79 template <typename CredentialT = Aws::String>
80 void SetCredential(CredentialT&& value) {
81 m_credentialHasBeenSet = true;
82 m_credential = std::forward<CredentialT>(value);
83 }
84 template <typename CredentialT = Aws::String>
85 BaiduChannelResponse& WithCredential(CredentialT&& value) {
86 SetCredential(std::forward<CredentialT>(value));
87 return *this;
88 }
90
92
95 inline bool GetEnabled() const { return m_enabled; }
96 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
97 inline void SetEnabled(bool value) {
98 m_enabledHasBeenSet = true;
99 m_enabled = value;
100 }
101 inline BaiduChannelResponse& WithEnabled(bool value) {
102 SetEnabled(value);
103 return *this;
104 }
106
108
111 inline bool GetHasCredential() const { return m_hasCredential; }
112 inline bool HasCredentialHasBeenSet() const { return m_hasCredentialHasBeenSet; }
113 inline void SetHasCredential(bool value) {
114 m_hasCredentialHasBeenSet = true;
115 m_hasCredential = value;
116 }
118 SetHasCredential(value);
119 return *this;
120 }
122
124
128 inline const Aws::String& GetId() const { return m_id; }
129 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
130 template <typename IdT = Aws::String>
131 void SetId(IdT&& value) {
132 m_idHasBeenSet = true;
133 m_id = std::forward<IdT>(value);
134 }
135 template <typename IdT = Aws::String>
137 SetId(std::forward<IdT>(value));
138 return *this;
139 }
141
143
146 inline bool GetIsArchived() const { return m_isArchived; }
147 inline bool IsArchivedHasBeenSet() const { return m_isArchivedHasBeenSet; }
148 inline void SetIsArchived(bool value) {
149 m_isArchivedHasBeenSet = true;
150 m_isArchived = value;
151 }
153 SetIsArchived(value);
154 return *this;
155 }
157
159
162 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
163 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
164 template <typename LastModifiedByT = Aws::String>
165 void SetLastModifiedBy(LastModifiedByT&& value) {
166 m_lastModifiedByHasBeenSet = true;
167 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
168 }
169 template <typename LastModifiedByT = Aws::String>
170 BaiduChannelResponse& WithLastModifiedBy(LastModifiedByT&& value) {
171 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
172 return *this;
173 }
175
177
180 inline const Aws::String& GetLastModifiedDate() const { return m_lastModifiedDate; }
181 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
182 template <typename LastModifiedDateT = Aws::String>
183 void SetLastModifiedDate(LastModifiedDateT&& value) {
184 m_lastModifiedDateHasBeenSet = true;
185 m_lastModifiedDate = std::forward<LastModifiedDateT>(value);
186 }
187 template <typename LastModifiedDateT = Aws::String>
188 BaiduChannelResponse& WithLastModifiedDate(LastModifiedDateT&& value) {
189 SetLastModifiedDate(std::forward<LastModifiedDateT>(value));
190 return *this;
191 }
193
195
199 inline const Aws::String& GetPlatform() const { return m_platform; }
200 inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
201 template <typename PlatformT = Aws::String>
202 void SetPlatform(PlatformT&& value) {
203 m_platformHasBeenSet = true;
204 m_platform = std::forward<PlatformT>(value);
205 }
206 template <typename PlatformT = Aws::String>
207 BaiduChannelResponse& WithPlatform(PlatformT&& value) {
208 SetPlatform(std::forward<PlatformT>(value));
209 return *this;
210 }
212
214
217 inline int GetVersion() const { return m_version; }
218 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
219 inline void SetVersion(int value) {
220 m_versionHasBeenSet = true;
221 m_version = value;
222 }
224 SetVersion(value);
225 return *this;
226 }
228 private:
229 Aws::String m_applicationId;
230
231 Aws::String m_creationDate;
232
233 Aws::String m_credential;
234
235 bool m_enabled{false};
236
237 bool m_hasCredential{false};
238
239 Aws::String m_id;
240
241 bool m_isArchived{false};
242
243 Aws::String m_lastModifiedBy;
244
245 Aws::String m_lastModifiedDate;
246
247 Aws::String m_platform;
248
249 int m_version{0};
250 bool m_applicationIdHasBeenSet = false;
251 bool m_creationDateHasBeenSet = false;
252 bool m_credentialHasBeenSet = false;
253 bool m_enabledHasBeenSet = false;
254 bool m_hasCredentialHasBeenSet = false;
255 bool m_idHasBeenSet = false;
256 bool m_isArchivedHasBeenSet = false;
257 bool m_lastModifiedByHasBeenSet = false;
258 bool m_lastModifiedDateHasBeenSet = false;
259 bool m_platformHasBeenSet = false;
260 bool m_versionHasBeenSet = false;
261};
262
263} // namespace Model
264} // namespace Pinpoint
265} // namespace Aws
BaiduChannelResponse & WithEnabled(bool value)
void SetLastModifiedDate(LastModifiedDateT &&value)
BaiduChannelResponse & WithVersion(int value)
BaiduChannelResponse & WithLastModifiedBy(LastModifiedByT &&value)
BaiduChannelResponse & WithApplicationId(ApplicationIdT &&value)
AWS_PINPOINT_API BaiduChannelResponse()=default
AWS_PINPOINT_API BaiduChannelResponse(Aws::Utils::Json::JsonView jsonValue)
BaiduChannelResponse & WithHasCredential(bool value)
BaiduChannelResponse & WithLastModifiedDate(LastModifiedDateT &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastModifiedBy(LastModifiedByT &&value)
BaiduChannelResponse & WithPlatform(PlatformT &&value)
AWS_PINPOINT_API BaiduChannelResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
BaiduChannelResponse & WithId(IdT &&value)
BaiduChannelResponse & WithCredential(CredentialT &&value)
BaiduChannelResponse & WithIsArchived(bool value)
BaiduChannelResponse & WithCreationDate(CreationDateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue