7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
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>
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>
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>
88 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
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>
111 inline void SetHasCredential(
bool value) { m_hasCredentialHasBeenSet =
true; m_hasCredential = value; }
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>
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>
148 inline void SetIsArchived(
bool value) { m_isArchivedHasBeenSet =
true; m_isArchived = value; }
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>
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>
184 inline void SetMessagesPerSecond(
int value) { m_messagesPerSecondHasBeenSet =
true; m_messagesPerSecond = value; }
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>
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>
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>
233 inline void SetVersion(
int value) { m_versionHasBeenSet =
true; m_version = value; }
239 bool m_applicationIdHasBeenSet =
false;
242 bool m_configurationSetHasBeenSet =
false;
245 bool m_creationDateHasBeenSet =
false;
247 bool m_enabled{
false};
248 bool m_enabledHasBeenSet =
false;
251 bool m_fromAddressHasBeenSet =
false;
253 bool m_hasCredential{
false};
254 bool m_hasCredentialHasBeenSet =
false;
257 bool m_idHasBeenSet =
false;
260 bool m_identityHasBeenSet =
false;
262 bool m_isArchived{
false};
263 bool m_isArchivedHasBeenSet =
false;
266 bool m_lastModifiedByHasBeenSet =
false;
269 bool m_lastModifiedDateHasBeenSet =
false;
271 int m_messagesPerSecond{0};
272 bool m_messagesPerSecondHasBeenSet =
false;
275 bool m_platformHasBeenSet =
false;
278 bool m_roleArnHasBeenSet =
false;
281 bool m_orchestrationSendingRoleArnHasBeenSet =
false;
284 bool m_versionHasBeenSet =
false;
bool ApplicationIdHasBeenSet() const
const Aws::String & GetCreationDate() const
EmailChannelResponse & WithCreationDate(CreationDateT &&value)
const Aws::String & GetIdentity() const
void SetPlatform(PlatformT &&value)
bool PlatformHasBeenSet() const
EmailChannelResponse & WithVersion(int value)
EmailChannelResponse & WithId(IdT &&value)
bool LastModifiedDateHasBeenSet() const
EmailChannelResponse & WithIsArchived(bool value)
bool FromAddressHasBeenSet() const
int GetMessagesPerSecond() const
const Aws::String & GetId() const
EmailChannelResponse & WithIdentity(IdentityT &&value)
const Aws::String & GetRoleArn() const
EmailChannelResponse & WithApplicationId(ApplicationIdT &&value)
void SetMessagesPerSecond(int value)
EmailChannelResponse & WithLastModifiedDate(LastModifiedDateT &&value)
EmailChannelResponse & WithPlatform(PlatformT &&value)
EmailChannelResponse & WithOrchestrationSendingRoleArn(OrchestrationSendingRoleArnT &&value)
const Aws::String & GetFromAddress() const
EmailChannelResponse & WithMessagesPerSecond(int value)
void SetLastModifiedDate(LastModifiedDateT &&value)
AWS_PINPOINT_API EmailChannelResponse(Aws::Utils::Json::JsonView jsonValue)
void SetIsArchived(bool value)
EmailChannelResponse & WithLastModifiedBy(LastModifiedByT &&value)
void SetCreationDate(CreationDateT &&value)
bool OrchestrationSendingRoleArnHasBeenSet() const
bool IdHasBeenSet() const
bool ConfigurationSetHasBeenSet() const
EmailChannelResponse & WithEnabled(bool value)
EmailChannelResponse & WithHasCredential(bool value)
AWS_PINPOINT_API EmailChannelResponse()=default
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
bool CreationDateHasBeenSet() const
EmailChannelResponse & WithConfigurationSet(ConfigurationSetT &&value)
const Aws::String & GetOrchestrationSendingRoleArn() const
void SetLastModifiedBy(LastModifiedByT &&value)
const Aws::String & GetApplicationId() const
bool LastModifiedByHasBeenSet() const
void SetApplicationId(ApplicationIdT &&value)
bool HasCredentialHasBeenSet() const
bool IdentityHasBeenSet() const
void SetRoleArn(RoleArnT &&value)
const Aws::String & GetLastModifiedBy() const
bool MessagesPerSecondHasBeenSet() const
const Aws::String & GetLastModifiedDate() const
bool GetHasCredential() const
void SetEnabled(bool value)
void SetIdentity(IdentityT &&value)
void SetFromAddress(FromAddressT &&value)
EmailChannelResponse & WithRoleArn(RoleArnT &&value)
void SetVersion(int value)
AWS_PINPOINT_API EmailChannelResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
bool GetIsArchived() const
void SetConfigurationSet(ConfigurationSetT &&value)
void SetHasCredential(bool value)
const Aws::String & GetPlatform() const
void SetOrchestrationSendingRoleArn(OrchestrationSendingRoleArnT &&value)
bool RoleArnHasBeenSet() const
bool VersionHasBeenSet() const
bool EnabledHasBeenSet() const
bool IsArchivedHasBeenSet() const
EmailChannelResponse & WithFromAddress(FromAddressT &&value)
const Aws::String & GetConfigurationSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue