AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = 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 EmailChannelResponse& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
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) { m_configurationSetHasBeenSet = true; m_configurationSet = std::forward<ConfigurationSetT>(value); }
65 template<typename ConfigurationSetT = Aws::String>
66 EmailChannelResponse& WithConfigurationSet(ConfigurationSetT&& value) { SetConfigurationSet(std::forward<ConfigurationSetT>(value)); return *this;}
68
70
74 inline const Aws::String& GetCreationDate() const { return m_creationDate; }
75 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
76 template<typename CreationDateT = Aws::String>
77 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::forward<CreationDateT>(value); }
78 template<typename CreationDateT = Aws::String>
79 EmailChannelResponse& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
81
83
86 inline bool GetEnabled() const { return m_enabled; }
87 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
88 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
89 inline EmailChannelResponse& WithEnabled(bool value) { SetEnabled(value); return *this;}
91
93
97 inline const Aws::String& GetFromAddress() const { return m_fromAddress; }
98 inline bool FromAddressHasBeenSet() const { return m_fromAddressHasBeenSet; }
99 template<typename FromAddressT = Aws::String>
100 void SetFromAddress(FromAddressT&& value) { m_fromAddressHasBeenSet = true; m_fromAddress = std::forward<FromAddressT>(value); }
101 template<typename FromAddressT = Aws::String>
102 EmailChannelResponse& WithFromAddress(FromAddressT&& value) { SetFromAddress(std::forward<FromAddressT>(value)); return *this;}
104
106
109 inline bool GetHasCredential() const { return m_hasCredential; }
110 inline bool HasCredentialHasBeenSet() const { return m_hasCredentialHasBeenSet; }
111 inline void SetHasCredential(bool value) { m_hasCredentialHasBeenSet = true; m_hasCredential = value; }
112 inline EmailChannelResponse& WithHasCredential(bool value) { SetHasCredential(value); return *this;}
114
116
120 inline const Aws::String& GetId() const { return m_id; }
121 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
122 template<typename IdT = Aws::String>
123 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
124 template<typename IdT = Aws::String>
125 EmailChannelResponse& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
127
129
134 inline const Aws::String& GetIdentity() const { return m_identity; }
135 inline bool IdentityHasBeenSet() const { return m_identityHasBeenSet; }
136 template<typename IdentityT = Aws::String>
137 void SetIdentity(IdentityT&& value) { m_identityHasBeenSet = true; m_identity = std::forward<IdentityT>(value); }
138 template<typename IdentityT = Aws::String>
139 EmailChannelResponse& WithIdentity(IdentityT&& value) { SetIdentity(std::forward<IdentityT>(value)); return *this;}
141
143
146 inline bool GetIsArchived() const { return m_isArchived; }
147 inline bool IsArchivedHasBeenSet() const { return m_isArchivedHasBeenSet; }
148 inline void SetIsArchived(bool value) { m_isArchivedHasBeenSet = true; m_isArchived = value; }
149 inline EmailChannelResponse& WithIsArchived(bool value) { SetIsArchived(value); return *this;}
151
153
156 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
157 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
158 template<typename LastModifiedByT = Aws::String>
159 void SetLastModifiedBy(LastModifiedByT&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::forward<LastModifiedByT>(value); }
160 template<typename LastModifiedByT = Aws::String>
161 EmailChannelResponse& WithLastModifiedBy(LastModifiedByT&& value) { SetLastModifiedBy(std::forward<LastModifiedByT>(value)); return *this;}
163
165
169 inline const Aws::String& GetLastModifiedDate() const { return m_lastModifiedDate; }
170 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
171 template<typename LastModifiedDateT = Aws::String>
172 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
173 template<typename LastModifiedDateT = Aws::String>
174 EmailChannelResponse& WithLastModifiedDate(LastModifiedDateT&& value) { SetLastModifiedDate(std::forward<LastModifiedDateT>(value)); return *this;}
176
178
182 inline int GetMessagesPerSecond() const { return m_messagesPerSecond; }
183 inline bool MessagesPerSecondHasBeenSet() const { return m_messagesPerSecondHasBeenSet; }
184 inline void SetMessagesPerSecond(int value) { m_messagesPerSecondHasBeenSet = true; m_messagesPerSecond = value; }
185 inline EmailChannelResponse& WithMessagesPerSecond(int value) { SetMessagesPerSecond(value); return *this;}
187
189
193 inline const Aws::String& GetPlatform() const { return m_platform; }
194 inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
195 template<typename PlatformT = Aws::String>
196 void SetPlatform(PlatformT&& value) { m_platformHasBeenSet = true; m_platform = std::forward<PlatformT>(value); }
197 template<typename PlatformT = Aws::String>
198 EmailChannelResponse& WithPlatform(PlatformT&& value) { SetPlatform(std::forward<PlatformT>(value)); return *this;}
200
202
206 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
207 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
208 template<typename RoleArnT = Aws::String>
209 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
210 template<typename RoleArnT = Aws::String>
211 EmailChannelResponse& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
213
215
219 inline const Aws::String& GetOrchestrationSendingRoleArn() const { return m_orchestrationSendingRoleArn; }
220 inline bool OrchestrationSendingRoleArnHasBeenSet() const { return m_orchestrationSendingRoleArnHasBeenSet; }
221 template<typename OrchestrationSendingRoleArnT = Aws::String>
222 void SetOrchestrationSendingRoleArn(OrchestrationSendingRoleArnT&& value) { m_orchestrationSendingRoleArnHasBeenSet = true; m_orchestrationSendingRoleArn = std::forward<OrchestrationSendingRoleArnT>(value); }
223 template<typename OrchestrationSendingRoleArnT = Aws::String>
224 EmailChannelResponse& WithOrchestrationSendingRoleArn(OrchestrationSendingRoleArnT&& value) { SetOrchestrationSendingRoleArn(std::forward<OrchestrationSendingRoleArnT>(value)); return *this;}
226
228
231 inline int GetVersion() const { return m_version; }
232 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
233 inline void SetVersion(int value) { m_versionHasBeenSet = true; m_version = value; }
234 inline EmailChannelResponse& WithVersion(int value) { SetVersion(value); return *this;}
236 private:
237
238 Aws::String m_applicationId;
239 bool m_applicationIdHasBeenSet = false;
240
241 Aws::String m_configurationSet;
242 bool m_configurationSetHasBeenSet = false;
243
244 Aws::String m_creationDate;
245 bool m_creationDateHasBeenSet = false;
246
247 bool m_enabled{false};
248 bool m_enabledHasBeenSet = false;
249
250 Aws::String m_fromAddress;
251 bool m_fromAddressHasBeenSet = false;
252
253 bool m_hasCredential{false};
254 bool m_hasCredentialHasBeenSet = false;
255
256 Aws::String m_id;
257 bool m_idHasBeenSet = false;
258
259 Aws::String m_identity;
260 bool m_identityHasBeenSet = false;
261
262 bool m_isArchived{false};
263 bool m_isArchivedHasBeenSet = false;
264
265 Aws::String m_lastModifiedBy;
266 bool m_lastModifiedByHasBeenSet = false;
267
268 Aws::String m_lastModifiedDate;
269 bool m_lastModifiedDateHasBeenSet = false;
270
271 int m_messagesPerSecond{0};
272 bool m_messagesPerSecondHasBeenSet = false;
273
274 Aws::String m_platform;
275 bool m_platformHasBeenSet = false;
276
277 Aws::String m_roleArn;
278 bool m_roleArnHasBeenSet = false;
279
280 Aws::String m_orchestrationSendingRoleArn;
281 bool m_orchestrationSendingRoleArnHasBeenSet = false;
282
283 int m_version{0};
284 bool m_versionHasBeenSet = false;
285 };
286
287} // namespace Model
288} // namespace Pinpoint
289} // 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