AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 SMSChannelResponse& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
52 inline SMSChannelResponse& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
53 inline SMSChannelResponse& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
55
57
60 inline const Aws::String& GetCreationDate() const{ return m_creationDate; }
61 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
62 inline void SetCreationDate(const Aws::String& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
63 inline void SetCreationDate(Aws::String&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
64 inline void SetCreationDate(const char* value) { m_creationDateHasBeenSet = true; m_creationDate.assign(value); }
65 inline SMSChannelResponse& WithCreationDate(const Aws::String& value) { SetCreationDate(value); return *this;}
66 inline SMSChannelResponse& WithCreationDate(Aws::String&& value) { SetCreationDate(std::move(value)); return *this;}
67 inline SMSChannelResponse& WithCreationDate(const char* value) { SetCreationDate(value); return *this;}
69
71
74 inline bool GetEnabled() const{ return m_enabled; }
75 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
76 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
77 inline SMSChannelResponse& WithEnabled(bool value) { SetEnabled(value); return *this;}
79
81
84 inline bool GetHasCredential() const{ return m_hasCredential; }
85 inline bool HasCredentialHasBeenSet() const { return m_hasCredentialHasBeenSet; }
86 inline void SetHasCredential(bool value) { m_hasCredentialHasBeenSet = true; m_hasCredential = value; }
87 inline SMSChannelResponse& WithHasCredential(bool value) { SetHasCredential(value); return *this;}
89
91
95 inline const Aws::String& GetId() const{ return m_id; }
96 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
97 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
98 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
99 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
100 inline SMSChannelResponse& WithId(const Aws::String& value) { SetId(value); return *this;}
101 inline SMSChannelResponse& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
102 inline SMSChannelResponse& WithId(const char* value) { SetId(value); return *this;}
104
106
109 inline bool GetIsArchived() const{ return m_isArchived; }
110 inline bool IsArchivedHasBeenSet() const { return m_isArchivedHasBeenSet; }
111 inline void SetIsArchived(bool value) { m_isArchivedHasBeenSet = true; m_isArchived = value; }
112 inline SMSChannelResponse& WithIsArchived(bool value) { SetIsArchived(value); return *this;}
114
116
119 inline const Aws::String& GetLastModifiedBy() const{ return m_lastModifiedBy; }
120 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
121 inline void SetLastModifiedBy(const Aws::String& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = value; }
122 inline void SetLastModifiedBy(Aws::String&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::move(value); }
123 inline void SetLastModifiedBy(const char* value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy.assign(value); }
124 inline SMSChannelResponse& WithLastModifiedBy(const Aws::String& value) { SetLastModifiedBy(value); return *this;}
125 inline SMSChannelResponse& WithLastModifiedBy(Aws::String&& value) { SetLastModifiedBy(std::move(value)); return *this;}
126 inline SMSChannelResponse& WithLastModifiedBy(const char* value) { SetLastModifiedBy(value); return *this;}
128
130
134 inline const Aws::String& GetLastModifiedDate() const{ return m_lastModifiedDate; }
135 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
136 inline void SetLastModifiedDate(const Aws::String& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; }
137 inline void SetLastModifiedDate(Aws::String&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); }
138 inline void SetLastModifiedDate(const char* value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate.assign(value); }
139 inline SMSChannelResponse& WithLastModifiedDate(const Aws::String& value) { SetLastModifiedDate(value); return *this;}
140 inline SMSChannelResponse& WithLastModifiedDate(Aws::String&& value) { SetLastModifiedDate(std::move(value)); return *this;}
141 inline SMSChannelResponse& WithLastModifiedDate(const char* value) { SetLastModifiedDate(value); return *this;}
143
145
149 inline const Aws::String& GetPlatform() const{ return m_platform; }
150 inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
151 inline void SetPlatform(const Aws::String& value) { m_platformHasBeenSet = true; m_platform = value; }
152 inline void SetPlatform(Aws::String&& value) { m_platformHasBeenSet = true; m_platform = std::move(value); }
153 inline void SetPlatform(const char* value) { m_platformHasBeenSet = true; m_platform.assign(value); }
154 inline SMSChannelResponse& WithPlatform(const Aws::String& value) { SetPlatform(value); return *this;}
155 inline SMSChannelResponse& WithPlatform(Aws::String&& value) { SetPlatform(std::move(value)); return *this;}
156 inline SMSChannelResponse& WithPlatform(const char* value) { SetPlatform(value); return *this;}
158
160
164 inline int GetPromotionalMessagesPerSecond() const{ return m_promotionalMessagesPerSecond; }
165 inline bool PromotionalMessagesPerSecondHasBeenSet() const { return m_promotionalMessagesPerSecondHasBeenSet; }
166 inline void SetPromotionalMessagesPerSecond(int value) { m_promotionalMessagesPerSecondHasBeenSet = true; m_promotionalMessagesPerSecond = value; }
169
171
175 inline const Aws::String& GetSenderId() const{ return m_senderId; }
176 inline bool SenderIdHasBeenSet() const { return m_senderIdHasBeenSet; }
177 inline void SetSenderId(const Aws::String& value) { m_senderIdHasBeenSet = true; m_senderId = value; }
178 inline void SetSenderId(Aws::String&& value) { m_senderIdHasBeenSet = true; m_senderId = std::move(value); }
179 inline void SetSenderId(const char* value) { m_senderIdHasBeenSet = true; m_senderId.assign(value); }
180 inline SMSChannelResponse& WithSenderId(const Aws::String& value) { SetSenderId(value); return *this;}
181 inline SMSChannelResponse& WithSenderId(Aws::String&& value) { SetSenderId(std::move(value)); return *this;}
182 inline SMSChannelResponse& WithSenderId(const char* value) { SetSenderId(value); return *this;}
184
186
190 inline const Aws::String& GetShortCode() const{ return m_shortCode; }
191 inline bool ShortCodeHasBeenSet() const { return m_shortCodeHasBeenSet; }
192 inline void SetShortCode(const Aws::String& value) { m_shortCodeHasBeenSet = true; m_shortCode = value; }
193 inline void SetShortCode(Aws::String&& value) { m_shortCodeHasBeenSet = true; m_shortCode = std::move(value); }
194 inline void SetShortCode(const char* value) { m_shortCodeHasBeenSet = true; m_shortCode.assign(value); }
195 inline SMSChannelResponse& WithShortCode(const Aws::String& value) { SetShortCode(value); return *this;}
196 inline SMSChannelResponse& WithShortCode(Aws::String&& value) { SetShortCode(std::move(value)); return *this;}
197 inline SMSChannelResponse& WithShortCode(const char* value) { SetShortCode(value); return *this;}
199
201
205 inline int GetTransactionalMessagesPerSecond() const{ return m_transactionalMessagesPerSecond; }
206 inline bool TransactionalMessagesPerSecondHasBeenSet() const { return m_transactionalMessagesPerSecondHasBeenSet; }
207 inline void SetTransactionalMessagesPerSecond(int value) { m_transactionalMessagesPerSecondHasBeenSet = true; m_transactionalMessagesPerSecond = value; }
210
212
215 inline int GetVersion() const{ return m_version; }
216 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
217 inline void SetVersion(int value) { m_versionHasBeenSet = true; m_version = value; }
218 inline SMSChannelResponse& WithVersion(int value) { SetVersion(value); return *this;}
220 private:
221
222 Aws::String m_applicationId;
223 bool m_applicationIdHasBeenSet = false;
224
225 Aws::String m_creationDate;
226 bool m_creationDateHasBeenSet = false;
227
228 bool m_enabled;
229 bool m_enabledHasBeenSet = false;
230
231 bool m_hasCredential;
232 bool m_hasCredentialHasBeenSet = false;
233
234 Aws::String m_id;
235 bool m_idHasBeenSet = false;
236
237 bool m_isArchived;
238 bool m_isArchivedHasBeenSet = false;
239
240 Aws::String m_lastModifiedBy;
241 bool m_lastModifiedByHasBeenSet = false;
242
243 Aws::String m_lastModifiedDate;
244 bool m_lastModifiedDateHasBeenSet = false;
245
246 Aws::String m_platform;
247 bool m_platformHasBeenSet = false;
248
249 int m_promotionalMessagesPerSecond;
250 bool m_promotionalMessagesPerSecondHasBeenSet = false;
251
252 Aws::String m_senderId;
253 bool m_senderIdHasBeenSet = false;
254
255 Aws::String m_shortCode;
256 bool m_shortCodeHasBeenSet = false;
257
258 int m_transactionalMessagesPerSecond;
259 bool m_transactionalMessagesPerSecondHasBeenSet = false;
260
261 int m_version;
262 bool m_versionHasBeenSet = false;
263 };
264
265} // namespace Model
266} // namespace Pinpoint
267} // namespace Aws
SMSChannelResponse & WithCreationDate(const Aws::String &value)
const Aws::String & GetLastModifiedBy() const
void SetPlatform(const Aws::String &value)
void SetCreationDate(const Aws::String &value)
SMSChannelResponse & WithTransactionalMessagesPerSecond(int value)
AWS_PINPOINT_API SMSChannelResponse(Aws::Utils::Json::JsonView jsonValue)
SMSChannelResponse & WithId(const char *value)
SMSChannelResponse & WithIsArchived(bool value)
const Aws::String & GetCreationDate() const
SMSChannelResponse & WithLastModifiedBy(Aws::String &&value)
void SetId(const Aws::String &value)
SMSChannelResponse & WithApplicationId(Aws::String &&value)
void SetLastModifiedBy(const Aws::String &value)
SMSChannelResponse & WithPlatform(Aws::String &&value)
SMSChannelResponse & WithApplicationId(const char *value)
SMSChannelResponse & WithSenderId(const char *value)
const Aws::String & GetApplicationId() const
SMSChannelResponse & WithLastModifiedBy(const Aws::String &value)
SMSChannelResponse & WithPlatform(const Aws::String &value)
SMSChannelResponse & WithShortCode(const Aws::String &value)
void SetApplicationId(const Aws::String &value)
SMSChannelResponse & WithSenderId(Aws::String &&value)
SMSChannelResponse & WithLastModifiedDate(const char *value)
void SetLastModifiedDate(const Aws::String &value)
SMSChannelResponse & WithShortCode(const char *value)
SMSChannelResponse & WithPromotionalMessagesPerSecond(int value)
AWS_PINPOINT_API SMSChannelResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
SMSChannelResponse & WithEnabled(bool value)
SMSChannelResponse & WithLastModifiedDate(const Aws::String &value)
SMSChannelResponse & WithLastModifiedDate(Aws::String &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSenderId(const Aws::String &value)
SMSChannelResponse & WithShortCode(Aws::String &&value)
SMSChannelResponse & WithId(Aws::String &&value)
SMSChannelResponse & WithCreationDate(const char *value)
SMSChannelResponse & WithHasCredential(bool value)
SMSChannelResponse & WithVersion(int value)
SMSChannelResponse & WithCreationDate(Aws::String &&value)
SMSChannelResponse & WithPlatform(const char *value)
const Aws::String & GetLastModifiedDate() const
SMSChannelResponse & WithApplicationId(const Aws::String &value)
SMSChannelResponse & WithLastModifiedBy(const char *value)
SMSChannelResponse & WithSenderId(const Aws::String &value)
SMSChannelResponse & WithId(const Aws::String &value)
void SetShortCode(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue