AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EmailChannelResponse.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 EmailChannelResponse();
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 EmailChannelResponse& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
52 inline EmailChannelResponse& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
53 inline EmailChannelResponse& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
55
57
63 inline const Aws::String& GetConfigurationSet() const{ return m_configurationSet; }
64 inline bool ConfigurationSetHasBeenSet() const { return m_configurationSetHasBeenSet; }
65 inline void SetConfigurationSet(const Aws::String& value) { m_configurationSetHasBeenSet = true; m_configurationSet = value; }
66 inline void SetConfigurationSet(Aws::String&& value) { m_configurationSetHasBeenSet = true; m_configurationSet = std::move(value); }
67 inline void SetConfigurationSet(const char* value) { m_configurationSetHasBeenSet = true; m_configurationSet.assign(value); }
68 inline EmailChannelResponse& WithConfigurationSet(const Aws::String& value) { SetConfigurationSet(value); return *this;}
69 inline EmailChannelResponse& WithConfigurationSet(Aws::String&& value) { SetConfigurationSet(std::move(value)); return *this;}
70 inline EmailChannelResponse& WithConfigurationSet(const char* value) { SetConfigurationSet(value); return *this;}
72
74
78 inline const Aws::String& GetCreationDate() const{ return m_creationDate; }
79 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
80 inline void SetCreationDate(const Aws::String& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
81 inline void SetCreationDate(Aws::String&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
82 inline void SetCreationDate(const char* value) { m_creationDateHasBeenSet = true; m_creationDate.assign(value); }
83 inline EmailChannelResponse& WithCreationDate(const Aws::String& value) { SetCreationDate(value); return *this;}
84 inline EmailChannelResponse& WithCreationDate(Aws::String&& value) { SetCreationDate(std::move(value)); return *this;}
85 inline EmailChannelResponse& WithCreationDate(const char* value) { SetCreationDate(value); return *this;}
87
89
92 inline bool GetEnabled() const{ return m_enabled; }
93 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
94 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
95 inline EmailChannelResponse& WithEnabled(bool value) { SetEnabled(value); return *this;}
97
99
103 inline const Aws::String& GetFromAddress() const{ return m_fromAddress; }
104 inline bool FromAddressHasBeenSet() const { return m_fromAddressHasBeenSet; }
105 inline void SetFromAddress(const Aws::String& value) { m_fromAddressHasBeenSet = true; m_fromAddress = value; }
106 inline void SetFromAddress(Aws::String&& value) { m_fromAddressHasBeenSet = true; m_fromAddress = std::move(value); }
107 inline void SetFromAddress(const char* value) { m_fromAddressHasBeenSet = true; m_fromAddress.assign(value); }
108 inline EmailChannelResponse& WithFromAddress(const Aws::String& value) { SetFromAddress(value); return *this;}
109 inline EmailChannelResponse& WithFromAddress(Aws::String&& value) { SetFromAddress(std::move(value)); return *this;}
110 inline EmailChannelResponse& WithFromAddress(const char* value) { SetFromAddress(value); return *this;}
112
114
117 inline bool GetHasCredential() const{ return m_hasCredential; }
118 inline bool HasCredentialHasBeenSet() const { return m_hasCredentialHasBeenSet; }
119 inline void SetHasCredential(bool value) { m_hasCredentialHasBeenSet = true; m_hasCredential = value; }
120 inline EmailChannelResponse& WithHasCredential(bool value) { SetHasCredential(value); return *this;}
122
124
128 inline const Aws::String& GetId() const{ return m_id; }
129 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
130 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
131 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
132 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
133 inline EmailChannelResponse& WithId(const Aws::String& value) { SetId(value); return *this;}
134 inline EmailChannelResponse& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
135 inline EmailChannelResponse& WithId(const char* value) { SetId(value); return *this;}
137
139
144 inline const Aws::String& GetIdentity() const{ return m_identity; }
145 inline bool IdentityHasBeenSet() const { return m_identityHasBeenSet; }
146 inline void SetIdentity(const Aws::String& value) { m_identityHasBeenSet = true; m_identity = value; }
147 inline void SetIdentity(Aws::String&& value) { m_identityHasBeenSet = true; m_identity = std::move(value); }
148 inline void SetIdentity(const char* value) { m_identityHasBeenSet = true; m_identity.assign(value); }
149 inline EmailChannelResponse& WithIdentity(const Aws::String& value) { SetIdentity(value); return *this;}
150 inline EmailChannelResponse& WithIdentity(Aws::String&& value) { SetIdentity(std::move(value)); return *this;}
151 inline EmailChannelResponse& WithIdentity(const char* value) { SetIdentity(value); return *this;}
153
155
158 inline bool GetIsArchived() const{ return m_isArchived; }
159 inline bool IsArchivedHasBeenSet() const { return m_isArchivedHasBeenSet; }
160 inline void SetIsArchived(bool value) { m_isArchivedHasBeenSet = true; m_isArchived = value; }
161 inline EmailChannelResponse& WithIsArchived(bool value) { SetIsArchived(value); return *this;}
163
165
168 inline const Aws::String& GetLastModifiedBy() const{ return m_lastModifiedBy; }
169 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
170 inline void SetLastModifiedBy(const Aws::String& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = value; }
171 inline void SetLastModifiedBy(Aws::String&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::move(value); }
172 inline void SetLastModifiedBy(const char* value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy.assign(value); }
173 inline EmailChannelResponse& WithLastModifiedBy(const Aws::String& value) { SetLastModifiedBy(value); return *this;}
174 inline EmailChannelResponse& WithLastModifiedBy(Aws::String&& value) { SetLastModifiedBy(std::move(value)); return *this;}
175 inline EmailChannelResponse& WithLastModifiedBy(const char* value) { SetLastModifiedBy(value); return *this;}
177
179
183 inline const Aws::String& GetLastModifiedDate() const{ return m_lastModifiedDate; }
184 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
185 inline void SetLastModifiedDate(const Aws::String& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; }
186 inline void SetLastModifiedDate(Aws::String&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); }
187 inline void SetLastModifiedDate(const char* value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate.assign(value); }
188 inline EmailChannelResponse& WithLastModifiedDate(const Aws::String& value) { SetLastModifiedDate(value); return *this;}
189 inline EmailChannelResponse& WithLastModifiedDate(Aws::String&& value) { SetLastModifiedDate(std::move(value)); return *this;}
190 inline EmailChannelResponse& WithLastModifiedDate(const char* value) { SetLastModifiedDate(value); return *this;}
192
194
198 inline int GetMessagesPerSecond() const{ return m_messagesPerSecond; }
199 inline bool MessagesPerSecondHasBeenSet() const { return m_messagesPerSecondHasBeenSet; }
200 inline void SetMessagesPerSecond(int value) { m_messagesPerSecondHasBeenSet = true; m_messagesPerSecond = value; }
201 inline EmailChannelResponse& WithMessagesPerSecond(int value) { SetMessagesPerSecond(value); return *this;}
203
205
209 inline const Aws::String& GetPlatform() const{ return m_platform; }
210 inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
211 inline void SetPlatform(const Aws::String& value) { m_platformHasBeenSet = true; m_platform = value; }
212 inline void SetPlatform(Aws::String&& value) { m_platformHasBeenSet = true; m_platform = std::move(value); }
213 inline void SetPlatform(const char* value) { m_platformHasBeenSet = true; m_platform.assign(value); }
214 inline EmailChannelResponse& WithPlatform(const Aws::String& value) { SetPlatform(value); return *this;}
215 inline EmailChannelResponse& WithPlatform(Aws::String&& value) { SetPlatform(std::move(value)); return *this;}
216 inline EmailChannelResponse& WithPlatform(const char* value) { SetPlatform(value); return *this;}
218
220
224 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
225 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
226 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
227 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
228 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
229 inline EmailChannelResponse& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
230 inline EmailChannelResponse& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
231 inline EmailChannelResponse& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
233
235
239 inline const Aws::String& GetOrchestrationSendingRoleArn() const{ return m_orchestrationSendingRoleArn; }
240 inline bool OrchestrationSendingRoleArnHasBeenSet() const { return m_orchestrationSendingRoleArnHasBeenSet; }
241 inline void SetOrchestrationSendingRoleArn(const Aws::String& value) { m_orchestrationSendingRoleArnHasBeenSet = true; m_orchestrationSendingRoleArn = value; }
242 inline void SetOrchestrationSendingRoleArn(Aws::String&& value) { m_orchestrationSendingRoleArnHasBeenSet = true; m_orchestrationSendingRoleArn = std::move(value); }
243 inline void SetOrchestrationSendingRoleArn(const char* value) { m_orchestrationSendingRoleArnHasBeenSet = true; m_orchestrationSendingRoleArn.assign(value); }
248
250
253 inline int GetVersion() const{ return m_version; }
254 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
255 inline void SetVersion(int value) { m_versionHasBeenSet = true; m_version = value; }
256 inline EmailChannelResponse& WithVersion(int value) { SetVersion(value); return *this;}
258 private:
259
260 Aws::String m_applicationId;
261 bool m_applicationIdHasBeenSet = false;
262
263 Aws::String m_configurationSet;
264 bool m_configurationSetHasBeenSet = false;
265
266 Aws::String m_creationDate;
267 bool m_creationDateHasBeenSet = false;
268
269 bool m_enabled;
270 bool m_enabledHasBeenSet = false;
271
272 Aws::String m_fromAddress;
273 bool m_fromAddressHasBeenSet = false;
274
275 bool m_hasCredential;
276 bool m_hasCredentialHasBeenSet = false;
277
278 Aws::String m_id;
279 bool m_idHasBeenSet = false;
280
281 Aws::String m_identity;
282 bool m_identityHasBeenSet = false;
283
284 bool m_isArchived;
285 bool m_isArchivedHasBeenSet = false;
286
287 Aws::String m_lastModifiedBy;
288 bool m_lastModifiedByHasBeenSet = false;
289
290 Aws::String m_lastModifiedDate;
291 bool m_lastModifiedDateHasBeenSet = false;
292
293 int m_messagesPerSecond;
294 bool m_messagesPerSecondHasBeenSet = false;
295
296 Aws::String m_platform;
297 bool m_platformHasBeenSet = false;
298
299 Aws::String m_roleArn;
300 bool m_roleArnHasBeenSet = false;
301
302 Aws::String m_orchestrationSendingRoleArn;
303 bool m_orchestrationSendingRoleArnHasBeenSet = false;
304
305 int m_version;
306 bool m_versionHasBeenSet = false;
307 };
308
309} // namespace Model
310} // namespace Pinpoint
311} // namespace Aws
EmailChannelResponse & WithPlatform(const char *value)
EmailChannelResponse & WithId(const Aws::String &value)
EmailChannelResponse & WithLastModifiedDate(const char *value)
EmailChannelResponse & WithFromAddress(Aws::String &&value)
EmailChannelResponse & WithFromAddress(const char *value)
EmailChannelResponse & WithCreationDate(const char *value)
EmailChannelResponse & WithVersion(int value)
EmailChannelResponse & WithApplicationId(Aws::String &&value)
void SetConfigurationSet(const Aws::String &value)
EmailChannelResponse & WithConfigurationSet(const char *value)
EmailChannelResponse & WithIsArchived(bool value)
EmailChannelResponse & WithId(const char *value)
void SetOrchestrationSendingRoleArn(Aws::String &&value)
void SetFromAddress(const Aws::String &value)
EmailChannelResponse & WithId(Aws::String &&value)
EmailChannelResponse & WithIdentity(const Aws::String &value)
EmailChannelResponse & WithMessagesPerSecond(int value)
EmailChannelResponse & WithLastModifiedBy(const Aws::String &value)
void SetLastModifiedBy(const Aws::String &value)
EmailChannelResponse & WithApplicationId(const char *value)
AWS_PINPOINT_API EmailChannelResponse(Aws::Utils::Json::JsonView jsonValue)
EmailChannelResponse & WithOrchestrationSendingRoleArn(Aws::String &&value)
EmailChannelResponse & WithRoleArn(const Aws::String &value)
EmailChannelResponse & WithRoleArn(const char *value)
EmailChannelResponse & WithRoleArn(Aws::String &&value)
EmailChannelResponse & WithLastModifiedBy(Aws::String &&value)
EmailChannelResponse & WithEnabled(bool value)
EmailChannelResponse & WithHasCredential(bool value)
EmailChannelResponse & WithOrchestrationSendingRoleArn(const char *value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetOrchestrationSendingRoleArn() const
EmailChannelResponse & WithCreationDate(Aws::String &&value)
EmailChannelResponse & WithCreationDate(const Aws::String &value)
void SetLastModifiedDate(const Aws::String &value)
EmailChannelResponse & WithLastModifiedDate(Aws::String &&value)
EmailChannelResponse & WithFromAddress(const Aws::String &value)
void SetOrchestrationSendingRoleArn(const Aws::String &value)
EmailChannelResponse & WithPlatform(Aws::String &&value)
EmailChannelResponse & WithIdentity(const char *value)
EmailChannelResponse & WithOrchestrationSendingRoleArn(const Aws::String &value)
EmailChannelResponse & WithApplicationId(const Aws::String &value)
EmailChannelResponse & WithLastModifiedDate(const Aws::String &value)
EmailChannelResponse & WithIdentity(Aws::String &&value)
AWS_PINPOINT_API EmailChannelResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetApplicationId(const Aws::String &value)
EmailChannelResponse & WithConfigurationSet(Aws::String &&value)
EmailChannelResponse & WithConfigurationSet(const Aws::String &value)
EmailChannelResponse & WithPlatform(const Aws::String &value)
EmailChannelResponse & WithLastModifiedBy(const char *value)
void SetCreationDate(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue