AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
SMSChannelResponse.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 SMSChannelResponse() = 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 SMSChannelResponse& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
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) { m_creationDateHasBeenSet = true; m_creationDate = std::forward<CreationDateT>(value); }
62 template<typename CreationDateT = Aws::String>
63 SMSChannelResponse& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
65
67
70 inline bool GetEnabled() const { return m_enabled; }
71 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
72 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
73 inline SMSChannelResponse& WithEnabled(bool value) { SetEnabled(value); return *this;}
75
77
80 inline bool GetHasCredential() const { return m_hasCredential; }
81 inline bool HasCredentialHasBeenSet() const { return m_hasCredentialHasBeenSet; }
82 inline void SetHasCredential(bool value) { m_hasCredentialHasBeenSet = true; m_hasCredential = value; }
83 inline SMSChannelResponse& WithHasCredential(bool value) { SetHasCredential(value); return *this;}
85
87
91 inline const Aws::String& GetId() const { return m_id; }
92 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
93 template<typename IdT = Aws::String>
94 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
95 template<typename IdT = Aws::String>
96 SMSChannelResponse& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
98
100
103 inline bool GetIsArchived() const { return m_isArchived; }
104 inline bool IsArchivedHasBeenSet() const { return m_isArchivedHasBeenSet; }
105 inline void SetIsArchived(bool value) { m_isArchivedHasBeenSet = true; m_isArchived = value; }
106 inline SMSChannelResponse& WithIsArchived(bool value) { SetIsArchived(value); return *this;}
108
110
113 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
114 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
115 template<typename LastModifiedByT = Aws::String>
116 void SetLastModifiedBy(LastModifiedByT&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::forward<LastModifiedByT>(value); }
117 template<typename LastModifiedByT = Aws::String>
118 SMSChannelResponse& WithLastModifiedBy(LastModifiedByT&& value) { SetLastModifiedBy(std::forward<LastModifiedByT>(value)); return *this;}
120
122
126 inline const Aws::String& GetLastModifiedDate() const { return m_lastModifiedDate; }
127 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
128 template<typename LastModifiedDateT = Aws::String>
129 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
130 template<typename LastModifiedDateT = Aws::String>
131 SMSChannelResponse& WithLastModifiedDate(LastModifiedDateT&& value) { SetLastModifiedDate(std::forward<LastModifiedDateT>(value)); return *this;}
133
135
139 inline const Aws::String& GetPlatform() const { return m_platform; }
140 inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
141 template<typename PlatformT = Aws::String>
142 void SetPlatform(PlatformT&& value) { m_platformHasBeenSet = true; m_platform = std::forward<PlatformT>(value); }
143 template<typename PlatformT = Aws::String>
144 SMSChannelResponse& WithPlatform(PlatformT&& value) { SetPlatform(std::forward<PlatformT>(value)); return *this;}
146
148
152 inline int GetPromotionalMessagesPerSecond() const { return m_promotionalMessagesPerSecond; }
153 inline bool PromotionalMessagesPerSecondHasBeenSet() const { return m_promotionalMessagesPerSecondHasBeenSet; }
154 inline void SetPromotionalMessagesPerSecond(int value) { m_promotionalMessagesPerSecondHasBeenSet = true; m_promotionalMessagesPerSecond = value; }
157
159
163 inline const Aws::String& GetSenderId() const { return m_senderId; }
164 inline bool SenderIdHasBeenSet() const { return m_senderIdHasBeenSet; }
165 template<typename SenderIdT = Aws::String>
166 void SetSenderId(SenderIdT&& value) { m_senderIdHasBeenSet = true; m_senderId = std::forward<SenderIdT>(value); }
167 template<typename SenderIdT = Aws::String>
168 SMSChannelResponse& WithSenderId(SenderIdT&& value) { SetSenderId(std::forward<SenderIdT>(value)); return *this;}
170
172
176 inline const Aws::String& GetShortCode() const { return m_shortCode; }
177 inline bool ShortCodeHasBeenSet() const { return m_shortCodeHasBeenSet; }
178 template<typename ShortCodeT = Aws::String>
179 void SetShortCode(ShortCodeT&& value) { m_shortCodeHasBeenSet = true; m_shortCode = std::forward<ShortCodeT>(value); }
180 template<typename ShortCodeT = Aws::String>
181 SMSChannelResponse& WithShortCode(ShortCodeT&& value) { SetShortCode(std::forward<ShortCodeT>(value)); return *this;}
183
185
189 inline int GetTransactionalMessagesPerSecond() const { return m_transactionalMessagesPerSecond; }
190 inline bool TransactionalMessagesPerSecondHasBeenSet() const { return m_transactionalMessagesPerSecondHasBeenSet; }
191 inline void SetTransactionalMessagesPerSecond(int value) { m_transactionalMessagesPerSecondHasBeenSet = true; m_transactionalMessagesPerSecond = value; }
194
196
199 inline int GetVersion() const { return m_version; }
200 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
201 inline void SetVersion(int value) { m_versionHasBeenSet = true; m_version = value; }
202 inline SMSChannelResponse& WithVersion(int value) { SetVersion(value); return *this;}
204 private:
205
206 Aws::String m_applicationId;
207 bool m_applicationIdHasBeenSet = false;
208
209 Aws::String m_creationDate;
210 bool m_creationDateHasBeenSet = false;
211
212 bool m_enabled{false};
213 bool m_enabledHasBeenSet = false;
214
215 bool m_hasCredential{false};
216 bool m_hasCredentialHasBeenSet = false;
217
218 Aws::String m_id;
219 bool m_idHasBeenSet = false;
220
221 bool m_isArchived{false};
222 bool m_isArchivedHasBeenSet = false;
223
224 Aws::String m_lastModifiedBy;
225 bool m_lastModifiedByHasBeenSet = false;
226
227 Aws::String m_lastModifiedDate;
228 bool m_lastModifiedDateHasBeenSet = false;
229
230 Aws::String m_platform;
231 bool m_platformHasBeenSet = false;
232
233 int m_promotionalMessagesPerSecond{0};
234 bool m_promotionalMessagesPerSecondHasBeenSet = false;
235
236 Aws::String m_senderId;
237 bool m_senderIdHasBeenSet = false;
238
239 Aws::String m_shortCode;
240 bool m_shortCodeHasBeenSet = false;
241
242 int m_transactionalMessagesPerSecond{0};
243 bool m_transactionalMessagesPerSecondHasBeenSet = false;
244
245 int m_version{0};
246 bool m_versionHasBeenSet = false;
247 };
248
249} // namespace Model
250} // namespace Pinpoint
251} // 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