AWS SDK for C++

AWS SDK for C++ Version 1.11.680

Loading...
Searching...
No Matches
SMSChannelResponse.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 SMSChannelResponse() = 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 SMSChannelResponse& 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 SMSChannelResponse& WithCreationDate(CreationDateT&& value) {
67 SetCreationDate(std::forward<CreationDateT>(value));
68 return *this;
69 }
71
73
76 inline bool GetEnabled() const { return m_enabled; }
77 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
78 inline void SetEnabled(bool value) {
79 m_enabledHasBeenSet = true;
80 m_enabled = value;
81 }
82 inline SMSChannelResponse& WithEnabled(bool value) {
83 SetEnabled(value);
84 return *this;
85 }
87
89
92 inline bool GetHasCredential() const { return m_hasCredential; }
93 inline bool HasCredentialHasBeenSet() const { return m_hasCredentialHasBeenSet; }
94 inline void SetHasCredential(bool value) {
95 m_hasCredentialHasBeenSet = true;
96 m_hasCredential = value;
97 }
99 SetHasCredential(value);
100 return *this;
101 }
103
105
109 inline const Aws::String& GetId() const { return m_id; }
110 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
111 template <typename IdT = Aws::String>
112 void SetId(IdT&& value) {
113 m_idHasBeenSet = true;
114 m_id = std::forward<IdT>(value);
115 }
116 template <typename IdT = Aws::String>
118 SetId(std::forward<IdT>(value));
119 return *this;
120 }
122
124
127 inline bool GetIsArchived() const { return m_isArchived; }
128 inline bool IsArchivedHasBeenSet() const { return m_isArchivedHasBeenSet; }
129 inline void SetIsArchived(bool value) {
130 m_isArchivedHasBeenSet = true;
131 m_isArchived = value;
132 }
133 inline SMSChannelResponse& WithIsArchived(bool value) {
134 SetIsArchived(value);
135 return *this;
136 }
138
140
143 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
144 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
145 template <typename LastModifiedByT = Aws::String>
146 void SetLastModifiedBy(LastModifiedByT&& value) {
147 m_lastModifiedByHasBeenSet = true;
148 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
149 }
150 template <typename LastModifiedByT = Aws::String>
151 SMSChannelResponse& WithLastModifiedBy(LastModifiedByT&& value) {
152 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
153 return *this;
154 }
156
158
162 inline const Aws::String& GetLastModifiedDate() const { return m_lastModifiedDate; }
163 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
164 template <typename LastModifiedDateT = Aws::String>
165 void SetLastModifiedDate(LastModifiedDateT&& value) {
166 m_lastModifiedDateHasBeenSet = true;
167 m_lastModifiedDate = std::forward<LastModifiedDateT>(value);
168 }
169 template <typename LastModifiedDateT = Aws::String>
170 SMSChannelResponse& WithLastModifiedDate(LastModifiedDateT&& value) {
171 SetLastModifiedDate(std::forward<LastModifiedDateT>(value));
172 return *this;
173 }
175
177
181 inline const Aws::String& GetPlatform() const { return m_platform; }
182 inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
183 template <typename PlatformT = Aws::String>
184 void SetPlatform(PlatformT&& value) {
185 m_platformHasBeenSet = true;
186 m_platform = std::forward<PlatformT>(value);
187 }
188 template <typename PlatformT = Aws::String>
189 SMSChannelResponse& WithPlatform(PlatformT&& value) {
190 SetPlatform(std::forward<PlatformT>(value));
191 return *this;
192 }
194
196
200 inline int GetPromotionalMessagesPerSecond() const { return m_promotionalMessagesPerSecond; }
201 inline bool PromotionalMessagesPerSecondHasBeenSet() const { return m_promotionalMessagesPerSecondHasBeenSet; }
202 inline void SetPromotionalMessagesPerSecond(int value) {
203 m_promotionalMessagesPerSecondHasBeenSet = true;
204 m_promotionalMessagesPerSecond = value;
205 }
208 return *this;
209 }
211
213
217 inline const Aws::String& GetSenderId() const { return m_senderId; }
218 inline bool SenderIdHasBeenSet() const { return m_senderIdHasBeenSet; }
219 template <typename SenderIdT = Aws::String>
220 void SetSenderId(SenderIdT&& value) {
221 m_senderIdHasBeenSet = true;
222 m_senderId = std::forward<SenderIdT>(value);
223 }
224 template <typename SenderIdT = Aws::String>
225 SMSChannelResponse& WithSenderId(SenderIdT&& value) {
226 SetSenderId(std::forward<SenderIdT>(value));
227 return *this;
228 }
230
232
236 inline const Aws::String& GetShortCode() const { return m_shortCode; }
237 inline bool ShortCodeHasBeenSet() const { return m_shortCodeHasBeenSet; }
238 template <typename ShortCodeT = Aws::String>
239 void SetShortCode(ShortCodeT&& value) {
240 m_shortCodeHasBeenSet = true;
241 m_shortCode = std::forward<ShortCodeT>(value);
242 }
243 template <typename ShortCodeT = Aws::String>
244 SMSChannelResponse& WithShortCode(ShortCodeT&& value) {
245 SetShortCode(std::forward<ShortCodeT>(value));
246 return *this;
247 }
249
251
255 inline int GetTransactionalMessagesPerSecond() const { return m_transactionalMessagesPerSecond; }
256 inline bool TransactionalMessagesPerSecondHasBeenSet() const { return m_transactionalMessagesPerSecondHasBeenSet; }
257 inline void SetTransactionalMessagesPerSecond(int value) {
258 m_transactionalMessagesPerSecondHasBeenSet = true;
259 m_transactionalMessagesPerSecond = value;
260 }
263 return *this;
264 }
266
268
271 inline int GetVersion() const { return m_version; }
272 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
273 inline void SetVersion(int value) {
274 m_versionHasBeenSet = true;
275 m_version = value;
276 }
277 inline SMSChannelResponse& WithVersion(int value) {
278 SetVersion(value);
279 return *this;
280 }
282 private:
283 Aws::String m_applicationId;
284 bool m_applicationIdHasBeenSet = false;
285
286 Aws::String m_creationDate;
287 bool m_creationDateHasBeenSet = false;
288
289 bool m_enabled{false};
290 bool m_enabledHasBeenSet = false;
291
292 bool m_hasCredential{false};
293 bool m_hasCredentialHasBeenSet = false;
294
295 Aws::String m_id;
296 bool m_idHasBeenSet = false;
297
298 bool m_isArchived{false};
299 bool m_isArchivedHasBeenSet = false;
300
301 Aws::String m_lastModifiedBy;
302 bool m_lastModifiedByHasBeenSet = false;
303
304 Aws::String m_lastModifiedDate;
305 bool m_lastModifiedDateHasBeenSet = false;
306
307 Aws::String m_platform;
308 bool m_platformHasBeenSet = false;
309
310 int m_promotionalMessagesPerSecond{0};
311 bool m_promotionalMessagesPerSecondHasBeenSet = false;
312
313 Aws::String m_senderId;
314 bool m_senderIdHasBeenSet = false;
315
316 Aws::String m_shortCode;
317 bool m_shortCodeHasBeenSet = false;
318
319 int m_transactionalMessagesPerSecond{0};
320 bool m_transactionalMessagesPerSecondHasBeenSet = false;
321
322 int m_version{0};
323 bool m_versionHasBeenSet = false;
324};
325
326} // namespace Model
327} // namespace Pinpoint
328} // namespace Aws
void SetLastModifiedDate(LastModifiedDateT &&value)
const Aws::String & GetLastModifiedBy() const
SMSChannelResponse & WithTransactionalMessagesPerSecond(int value)
AWS_PINPOINT_API SMSChannelResponse(Aws::Utils::Json::JsonView jsonValue)
void SetCreationDate(CreationDateT &&value)
SMSChannelResponse & WithIsArchived(bool value)
const Aws::String & GetCreationDate() const
SMSChannelResponse & WithSenderId(SenderIdT &&value)
const Aws::String & GetApplicationId() const
SMSChannelResponse & WithId(IdT &&value)
void SetLastModifiedBy(LastModifiedByT &&value)
SMSChannelResponse & WithLastModifiedDate(LastModifiedDateT &&value)
AWS_PINPOINT_API SMSChannelResponse()=default
void SetApplicationId(ApplicationIdT &&value)
SMSChannelResponse & WithPromotionalMessagesPerSecond(int value)
AWS_PINPOINT_API SMSChannelResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
SMSChannelResponse & WithEnabled(bool value)
SMSChannelResponse & WithLastModifiedBy(LastModifiedByT &&value)
SMSChannelResponse & WithApplicationId(ApplicationIdT &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
SMSChannelResponse & WithCreationDate(CreationDateT &&value)
SMSChannelResponse & WithPlatform(PlatformT &&value)
SMSChannelResponse & WithShortCode(ShortCodeT &&value)
SMSChannelResponse & WithHasCredential(bool value)
SMSChannelResponse & WithVersion(int value)
const Aws::String & GetLastModifiedDate() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue