AWS SDK for C++

AWS SDK for C++ Version 1.11.682

Loading...
Searching...
No Matches
EmailChannelResponse.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 EmailChannelResponse() = 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 EmailChannelResponse& WithApplicationId(ApplicationIdT&& value) {
49 SetApplicationId(std::forward<ApplicationIdT>(value));
50 return *this;
51 }
53
55
61 inline const Aws::String& GetConfigurationSet() const { return m_configurationSet; }
62 inline bool ConfigurationSetHasBeenSet() const { return m_configurationSetHasBeenSet; }
63 template <typename ConfigurationSetT = Aws::String>
64 void SetConfigurationSet(ConfigurationSetT&& value) {
65 m_configurationSetHasBeenSet = true;
66 m_configurationSet = std::forward<ConfigurationSetT>(value);
67 }
68 template <typename ConfigurationSetT = Aws::String>
69 EmailChannelResponse& WithConfigurationSet(ConfigurationSetT&& value) {
70 SetConfigurationSet(std::forward<ConfigurationSetT>(value));
71 return *this;
72 }
74
76
80 inline const Aws::String& GetCreationDate() const { return m_creationDate; }
81 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
82 template <typename CreationDateT = Aws::String>
83 void SetCreationDate(CreationDateT&& value) {
84 m_creationDateHasBeenSet = true;
85 m_creationDate = std::forward<CreationDateT>(value);
86 }
87 template <typename CreationDateT = Aws::String>
88 EmailChannelResponse& WithCreationDate(CreationDateT&& value) {
89 SetCreationDate(std::forward<CreationDateT>(value));
90 return *this;
91 }
93
95
98 inline bool GetEnabled() const { return m_enabled; }
99 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
100 inline void SetEnabled(bool value) {
101 m_enabledHasBeenSet = true;
102 m_enabled = value;
103 }
104 inline EmailChannelResponse& WithEnabled(bool value) {
105 SetEnabled(value);
106 return *this;
107 }
109
111
115 inline const Aws::String& GetFromAddress() const { return m_fromAddress; }
116 inline bool FromAddressHasBeenSet() const { return m_fromAddressHasBeenSet; }
117 template <typename FromAddressT = Aws::String>
118 void SetFromAddress(FromAddressT&& value) {
119 m_fromAddressHasBeenSet = true;
120 m_fromAddress = std::forward<FromAddressT>(value);
121 }
122 template <typename FromAddressT = Aws::String>
123 EmailChannelResponse& WithFromAddress(FromAddressT&& value) {
124 SetFromAddress(std::forward<FromAddressT>(value));
125 return *this;
126 }
128
130
133 inline bool GetHasCredential() const { return m_hasCredential; }
134 inline bool HasCredentialHasBeenSet() const { return m_hasCredentialHasBeenSet; }
135 inline void SetHasCredential(bool value) {
136 m_hasCredentialHasBeenSet = true;
137 m_hasCredential = value;
138 }
140 SetHasCredential(value);
141 return *this;
142 }
144
146
150 inline const Aws::String& GetId() const { return m_id; }
151 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
152 template <typename IdT = Aws::String>
153 void SetId(IdT&& value) {
154 m_idHasBeenSet = true;
155 m_id = std::forward<IdT>(value);
156 }
157 template <typename IdT = Aws::String>
159 SetId(std::forward<IdT>(value));
160 return *this;
161 }
163
165
170 inline const Aws::String& GetIdentity() const { return m_identity; }
171 inline bool IdentityHasBeenSet() const { return m_identityHasBeenSet; }
172 template <typename IdentityT = Aws::String>
173 void SetIdentity(IdentityT&& value) {
174 m_identityHasBeenSet = true;
175 m_identity = std::forward<IdentityT>(value);
176 }
177 template <typename IdentityT = Aws::String>
178 EmailChannelResponse& WithIdentity(IdentityT&& value) {
179 SetIdentity(std::forward<IdentityT>(value));
180 return *this;
181 }
183
185
188 inline bool GetIsArchived() const { return m_isArchived; }
189 inline bool IsArchivedHasBeenSet() const { return m_isArchivedHasBeenSet; }
190 inline void SetIsArchived(bool value) {
191 m_isArchivedHasBeenSet = true;
192 m_isArchived = value;
193 }
195 SetIsArchived(value);
196 return *this;
197 }
199
201
204 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
205 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
206 template <typename LastModifiedByT = Aws::String>
207 void SetLastModifiedBy(LastModifiedByT&& value) {
208 m_lastModifiedByHasBeenSet = true;
209 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
210 }
211 template <typename LastModifiedByT = Aws::String>
212 EmailChannelResponse& WithLastModifiedBy(LastModifiedByT&& value) {
213 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
214 return *this;
215 }
217
219
223 inline const Aws::String& GetLastModifiedDate() const { return m_lastModifiedDate; }
224 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
225 template <typename LastModifiedDateT = Aws::String>
226 void SetLastModifiedDate(LastModifiedDateT&& value) {
227 m_lastModifiedDateHasBeenSet = true;
228 m_lastModifiedDate = std::forward<LastModifiedDateT>(value);
229 }
230 template <typename LastModifiedDateT = Aws::String>
231 EmailChannelResponse& WithLastModifiedDate(LastModifiedDateT&& value) {
232 SetLastModifiedDate(std::forward<LastModifiedDateT>(value));
233 return *this;
234 }
236
238
242 inline int GetMessagesPerSecond() const { return m_messagesPerSecond; }
243 inline bool MessagesPerSecondHasBeenSet() const { return m_messagesPerSecondHasBeenSet; }
244 inline void SetMessagesPerSecond(int value) {
245 m_messagesPerSecondHasBeenSet = true;
246 m_messagesPerSecond = value;
247 }
250 return *this;
251 }
253
255
259 inline const Aws::String& GetPlatform() const { return m_platform; }
260 inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
261 template <typename PlatformT = Aws::String>
262 void SetPlatform(PlatformT&& value) {
263 m_platformHasBeenSet = true;
264 m_platform = std::forward<PlatformT>(value);
265 }
266 template <typename PlatformT = Aws::String>
267 EmailChannelResponse& WithPlatform(PlatformT&& value) {
268 SetPlatform(std::forward<PlatformT>(value));
269 return *this;
270 }
272
274
278 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
279 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
280 template <typename RoleArnT = Aws::String>
281 void SetRoleArn(RoleArnT&& value) {
282 m_roleArnHasBeenSet = true;
283 m_roleArn = std::forward<RoleArnT>(value);
284 }
285 template <typename RoleArnT = Aws::String>
287 SetRoleArn(std::forward<RoleArnT>(value));
288 return *this;
289 }
291
293
297 inline const Aws::String& GetOrchestrationSendingRoleArn() const { return m_orchestrationSendingRoleArn; }
298 inline bool OrchestrationSendingRoleArnHasBeenSet() const { return m_orchestrationSendingRoleArnHasBeenSet; }
299 template <typename OrchestrationSendingRoleArnT = Aws::String>
300 void SetOrchestrationSendingRoleArn(OrchestrationSendingRoleArnT&& value) {
301 m_orchestrationSendingRoleArnHasBeenSet = true;
302 m_orchestrationSendingRoleArn = std::forward<OrchestrationSendingRoleArnT>(value);
303 }
304 template <typename OrchestrationSendingRoleArnT = Aws::String>
305 EmailChannelResponse& WithOrchestrationSendingRoleArn(OrchestrationSendingRoleArnT&& value) {
306 SetOrchestrationSendingRoleArn(std::forward<OrchestrationSendingRoleArnT>(value));
307 return *this;
308 }
310
312
315 inline int GetVersion() const { return m_version; }
316 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
317 inline void SetVersion(int value) {
318 m_versionHasBeenSet = true;
319 m_version = value;
320 }
322 SetVersion(value);
323 return *this;
324 }
326 private:
327 Aws::String m_applicationId;
328 bool m_applicationIdHasBeenSet = false;
329
330 Aws::String m_configurationSet;
331 bool m_configurationSetHasBeenSet = false;
332
333 Aws::String m_creationDate;
334 bool m_creationDateHasBeenSet = false;
335
336 bool m_enabled{false};
337 bool m_enabledHasBeenSet = false;
338
339 Aws::String m_fromAddress;
340 bool m_fromAddressHasBeenSet = false;
341
342 bool m_hasCredential{false};
343 bool m_hasCredentialHasBeenSet = false;
344
345 Aws::String m_id;
346 bool m_idHasBeenSet = false;
347
348 Aws::String m_identity;
349 bool m_identityHasBeenSet = false;
350
351 bool m_isArchived{false};
352 bool m_isArchivedHasBeenSet = false;
353
354 Aws::String m_lastModifiedBy;
355 bool m_lastModifiedByHasBeenSet = false;
356
357 Aws::String m_lastModifiedDate;
358 bool m_lastModifiedDateHasBeenSet = false;
359
360 int m_messagesPerSecond{0};
361 bool m_messagesPerSecondHasBeenSet = false;
362
363 Aws::String m_platform;
364 bool m_platformHasBeenSet = false;
365
366 Aws::String m_roleArn;
367 bool m_roleArnHasBeenSet = false;
368
369 Aws::String m_orchestrationSendingRoleArn;
370 bool m_orchestrationSendingRoleArnHasBeenSet = false;
371
372 int m_version{0};
373 bool m_versionHasBeenSet = false;
374};
375
376} // namespace Model
377} // namespace Pinpoint
378} // namespace Aws
EmailChannelResponse & WithCreationDate(CreationDateT &&value)
EmailChannelResponse & WithVersion(int value)
EmailChannelResponse & WithId(IdT &&value)
EmailChannelResponse & WithIsArchived(bool value)
EmailChannelResponse & WithIdentity(IdentityT &&value)
EmailChannelResponse & WithApplicationId(ApplicationIdT &&value)
EmailChannelResponse & WithLastModifiedDate(LastModifiedDateT &&value)
EmailChannelResponse & WithPlatform(PlatformT &&value)
EmailChannelResponse & WithOrchestrationSendingRoleArn(OrchestrationSendingRoleArnT &&value)
EmailChannelResponse & WithMessagesPerSecond(int value)
void SetLastModifiedDate(LastModifiedDateT &&value)
AWS_PINPOINT_API EmailChannelResponse(Aws::Utils::Json::JsonView jsonValue)
EmailChannelResponse & WithLastModifiedBy(LastModifiedByT &&value)
EmailChannelResponse & WithEnabled(bool value)
EmailChannelResponse & WithHasCredential(bool value)
AWS_PINPOINT_API EmailChannelResponse()=default
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
EmailChannelResponse & WithConfigurationSet(ConfigurationSetT &&value)
const Aws::String & GetOrchestrationSendingRoleArn() const
void SetLastModifiedBy(LastModifiedByT &&value)
EmailChannelResponse & WithRoleArn(RoleArnT &&value)
AWS_PINPOINT_API EmailChannelResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetConfigurationSet(ConfigurationSetT &&value)
void SetOrchestrationSendingRoleArn(OrchestrationSendingRoleArnT &&value)
EmailChannelResponse & WithFromAddress(FromAddressT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue