/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides information about the status and settings of the email channel for
* an application.See Also:
AWS
* API Reference
The unique identifier for the application that the email channel applies * to.
*/ inline const Aws::String& GetApplicationId() const{ return m_applicationId; } /** *The unique identifier for the application that the email channel applies * to.
*/ inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; } /** *The unique identifier for the application that the email channel applies * to.
*/ inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; } /** *The unique identifier for the application that the email channel applies * to.
*/ inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); } /** *The unique identifier for the application that the email channel applies * to.
*/ inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); } /** *The unique identifier for the application that the email channel applies * to.
*/ inline EmailChannelResponse& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;} /** *The unique identifier for the application that the email channel applies * to.
*/ inline EmailChannelResponse& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;} /** *The unique identifier for the application that the email channel applies * to.
*/ inline EmailChannelResponse& WithApplicationId(const char* value) { SetApplicationId(value); return *this;} /** *The Amazon * SES configuration set that's applied to messages that are sent through the * channel.
*/ inline const Aws::String& GetConfigurationSet() const{ return m_configurationSet; } /** *The Amazon * SES configuration set that's applied to messages that are sent through the * channel.
*/ inline bool ConfigurationSetHasBeenSet() const { return m_configurationSetHasBeenSet; } /** *The Amazon * SES configuration set that's applied to messages that are sent through the * channel.
*/ inline void SetConfigurationSet(const Aws::String& value) { m_configurationSetHasBeenSet = true; m_configurationSet = value; } /** *The Amazon * SES configuration set that's applied to messages that are sent through the * channel.
*/ inline void SetConfigurationSet(Aws::String&& value) { m_configurationSetHasBeenSet = true; m_configurationSet = std::move(value); } /** *The Amazon * SES configuration set that's applied to messages that are sent through the * channel.
*/ inline void SetConfigurationSet(const char* value) { m_configurationSetHasBeenSet = true; m_configurationSet.assign(value); } /** *The Amazon * SES configuration set that's applied to messages that are sent through the * channel.
*/ inline EmailChannelResponse& WithConfigurationSet(const Aws::String& value) { SetConfigurationSet(value); return *this;} /** *The Amazon * SES configuration set that's applied to messages that are sent through the * channel.
*/ inline EmailChannelResponse& WithConfigurationSet(Aws::String&& value) { SetConfigurationSet(std::move(value)); return *this;} /** *The Amazon * SES configuration set that's applied to messages that are sent through the * channel.
*/ inline EmailChannelResponse& WithConfigurationSet(const char* value) { SetConfigurationSet(value); return *this;} /** *The date and time, in ISO 8601 format, when the email channel was * enabled.
*/ inline const Aws::String& GetCreationDate() const{ return m_creationDate; } /** *The date and time, in ISO 8601 format, when the email channel was * enabled.
*/ inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; } /** *The date and time, in ISO 8601 format, when the email channel was * enabled.
*/ inline void SetCreationDate(const Aws::String& value) { m_creationDateHasBeenSet = true; m_creationDate = value; } /** *The date and time, in ISO 8601 format, when the email channel was * enabled.
*/ inline void SetCreationDate(Aws::String&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); } /** *The date and time, in ISO 8601 format, when the email channel was * enabled.
*/ inline void SetCreationDate(const char* value) { m_creationDateHasBeenSet = true; m_creationDate.assign(value); } /** *The date and time, in ISO 8601 format, when the email channel was * enabled.
*/ inline EmailChannelResponse& WithCreationDate(const Aws::String& value) { SetCreationDate(value); return *this;} /** *The date and time, in ISO 8601 format, when the email channel was * enabled.
*/ inline EmailChannelResponse& WithCreationDate(Aws::String&& value) { SetCreationDate(std::move(value)); return *this;} /** *The date and time, in ISO 8601 format, when the email channel was * enabled.
*/ inline EmailChannelResponse& WithCreationDate(const char* value) { SetCreationDate(value); return *this;} /** *Specifies whether the email channel is enabled for the application.
*/ inline bool GetEnabled() const{ return m_enabled; } /** *Specifies whether the email channel is enabled for the application.
*/ inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } /** *Specifies whether the email channel is enabled for the application.
*/ inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } /** *Specifies whether the email channel is enabled for the application.
*/ inline EmailChannelResponse& WithEnabled(bool value) { SetEnabled(value); return *this;} /** *The verified email address that email is sent from when you send email * through the channel.
*/ inline const Aws::String& GetFromAddress() const{ return m_fromAddress; } /** *The verified email address that email is sent from when you send email * through the channel.
*/ inline bool FromAddressHasBeenSet() const { return m_fromAddressHasBeenSet; } /** *The verified email address that email is sent from when you send email * through the channel.
*/ inline void SetFromAddress(const Aws::String& value) { m_fromAddressHasBeenSet = true; m_fromAddress = value; } /** *The verified email address that email is sent from when you send email * through the channel.
*/ inline void SetFromAddress(Aws::String&& value) { m_fromAddressHasBeenSet = true; m_fromAddress = std::move(value); } /** *The verified email address that email is sent from when you send email * through the channel.
*/ inline void SetFromAddress(const char* value) { m_fromAddressHasBeenSet = true; m_fromAddress.assign(value); } /** *The verified email address that email is sent from when you send email * through the channel.
*/ inline EmailChannelResponse& WithFromAddress(const Aws::String& value) { SetFromAddress(value); return *this;} /** *The verified email address that email is sent from when you send email * through the channel.
*/ inline EmailChannelResponse& WithFromAddress(Aws::String&& value) { SetFromAddress(std::move(value)); return *this;} /** *The verified email address that email is sent from when you send email * through the channel.
*/ inline EmailChannelResponse& WithFromAddress(const char* value) { SetFromAddress(value); return *this;} /** *(Not used) This property is retained only for backward compatibility.
*/ inline bool GetHasCredential() const{ return m_hasCredential; } /** *(Not used) This property is retained only for backward compatibility.
*/ inline bool HasCredentialHasBeenSet() const { return m_hasCredentialHasBeenSet; } /** *(Not used) This property is retained only for backward compatibility.
*/ inline void SetHasCredential(bool value) { m_hasCredentialHasBeenSet = true; m_hasCredential = value; } /** *(Not used) This property is retained only for backward compatibility.
*/ inline EmailChannelResponse& WithHasCredential(bool value) { SetHasCredential(value); return *this;} /** *(Deprecated) An identifier for the email channel. This property is retained * only for backward compatibility.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *(Deprecated) An identifier for the email channel. This property is retained * only for backward compatibility.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *(Deprecated) An identifier for the email channel. This property is retained * only for backward compatibility.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *(Deprecated) An identifier for the email channel. This property is retained * only for backward compatibility.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *(Deprecated) An identifier for the email channel. This property is retained * only for backward compatibility.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *(Deprecated) An identifier for the email channel. This property is retained * only for backward compatibility.
*/ inline EmailChannelResponse& WithId(const Aws::String& value) { SetId(value); return *this;} /** *(Deprecated) An identifier for the email channel. This property is retained * only for backward compatibility.
*/ inline EmailChannelResponse& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *(Deprecated) An identifier for the email channel. This property is retained * only for backward compatibility.
*/ inline EmailChannelResponse& WithId(const char* value) { SetId(value); return *this;} /** *The Amazon Resource Name (ARN) of the identity, verified with Amazon Simple * Email Service (Amazon SES), that's used when you send email through the * channel.
*/ inline const Aws::String& GetIdentity() const{ return m_identity; } /** *The Amazon Resource Name (ARN) of the identity, verified with Amazon Simple * Email Service (Amazon SES), that's used when you send email through the * channel.
*/ inline bool IdentityHasBeenSet() const { return m_identityHasBeenSet; } /** *The Amazon Resource Name (ARN) of the identity, verified with Amazon Simple * Email Service (Amazon SES), that's used when you send email through the * channel.
*/ inline void SetIdentity(const Aws::String& value) { m_identityHasBeenSet = true; m_identity = value; } /** *The Amazon Resource Name (ARN) of the identity, verified with Amazon Simple * Email Service (Amazon SES), that's used when you send email through the * channel.
*/ inline void SetIdentity(Aws::String&& value) { m_identityHasBeenSet = true; m_identity = std::move(value); } /** *The Amazon Resource Name (ARN) of the identity, verified with Amazon Simple * Email Service (Amazon SES), that's used when you send email through the * channel.
*/ inline void SetIdentity(const char* value) { m_identityHasBeenSet = true; m_identity.assign(value); } /** *The Amazon Resource Name (ARN) of the identity, verified with Amazon Simple * Email Service (Amazon SES), that's used when you send email through the * channel.
*/ inline EmailChannelResponse& WithIdentity(const Aws::String& value) { SetIdentity(value); return *this;} /** *The Amazon Resource Name (ARN) of the identity, verified with Amazon Simple * Email Service (Amazon SES), that's used when you send email through the * channel.
*/ inline EmailChannelResponse& WithIdentity(Aws::String&& value) { SetIdentity(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the identity, verified with Amazon Simple * Email Service (Amazon SES), that's used when you send email through the * channel.
*/ inline EmailChannelResponse& WithIdentity(const char* value) { SetIdentity(value); return *this;} /** *Specifies whether the email channel is archived.
*/ inline bool GetIsArchived() const{ return m_isArchived; } /** *Specifies whether the email channel is archived.
*/ inline bool IsArchivedHasBeenSet() const { return m_isArchivedHasBeenSet; } /** *Specifies whether the email channel is archived.
*/ inline void SetIsArchived(bool value) { m_isArchivedHasBeenSet = true; m_isArchived = value; } /** *Specifies whether the email channel is archived.
*/ inline EmailChannelResponse& WithIsArchived(bool value) { SetIsArchived(value); return *this;} /** *The user who last modified the email channel.
*/ inline const Aws::String& GetLastModifiedBy() const{ return m_lastModifiedBy; } /** *The user who last modified the email channel.
*/ inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; } /** *The user who last modified the email channel.
*/ inline void SetLastModifiedBy(const Aws::String& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = value; } /** *The user who last modified the email channel.
*/ inline void SetLastModifiedBy(Aws::String&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::move(value); } /** *The user who last modified the email channel.
*/ inline void SetLastModifiedBy(const char* value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy.assign(value); } /** *The user who last modified the email channel.
*/ inline EmailChannelResponse& WithLastModifiedBy(const Aws::String& value) { SetLastModifiedBy(value); return *this;} /** *The user who last modified the email channel.
*/ inline EmailChannelResponse& WithLastModifiedBy(Aws::String&& value) { SetLastModifiedBy(std::move(value)); return *this;} /** *The user who last modified the email channel.
*/ inline EmailChannelResponse& WithLastModifiedBy(const char* value) { SetLastModifiedBy(value); return *this;} /** *The date and time, in ISO 8601 format, when the email channel was last * modified.
*/ inline const Aws::String& GetLastModifiedDate() const{ return m_lastModifiedDate; } /** *The date and time, in ISO 8601 format, when the email channel was last * modified.
*/ inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; } /** *The date and time, in ISO 8601 format, when the email channel was last * modified.
*/ inline void SetLastModifiedDate(const Aws::String& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; } /** *The date and time, in ISO 8601 format, when the email channel was last * modified.
*/ inline void SetLastModifiedDate(Aws::String&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); } /** *The date and time, in ISO 8601 format, when the email channel was last * modified.
*/ inline void SetLastModifiedDate(const char* value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate.assign(value); } /** *The date and time, in ISO 8601 format, when the email channel was last * modified.
*/ inline EmailChannelResponse& WithLastModifiedDate(const Aws::String& value) { SetLastModifiedDate(value); return *this;} /** *The date and time, in ISO 8601 format, when the email channel was last * modified.
*/ inline EmailChannelResponse& WithLastModifiedDate(Aws::String&& value) { SetLastModifiedDate(std::move(value)); return *this;} /** *The date and time, in ISO 8601 format, when the email channel was last * modified.
*/ inline EmailChannelResponse& WithLastModifiedDate(const char* value) { SetLastModifiedDate(value); return *this;} /** *The maximum number of emails that can be sent through the channel each * second.
*/ inline int GetMessagesPerSecond() const{ return m_messagesPerSecond; } /** *The maximum number of emails that can be sent through the channel each * second.
*/ inline bool MessagesPerSecondHasBeenSet() const { return m_messagesPerSecondHasBeenSet; } /** *The maximum number of emails that can be sent through the channel each * second.
*/ inline void SetMessagesPerSecond(int value) { m_messagesPerSecondHasBeenSet = true; m_messagesPerSecond = value; } /** *The maximum number of emails that can be sent through the channel each * second.
*/ inline EmailChannelResponse& WithMessagesPerSecond(int value) { SetMessagesPerSecond(value); return *this;} /** *The type of messaging or notification platform for the channel. For the email * channel, this value is EMAIL.
*/ inline const Aws::String& GetPlatform() const{ return m_platform; } /** *The type of messaging or notification platform for the channel. For the email * channel, this value is EMAIL.
*/ inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; } /** *The type of messaging or notification platform for the channel. For the email * channel, this value is EMAIL.
*/ inline void SetPlatform(const Aws::String& value) { m_platformHasBeenSet = true; m_platform = value; } /** *The type of messaging or notification platform for the channel. For the email * channel, this value is EMAIL.
*/ inline void SetPlatform(Aws::String&& value) { m_platformHasBeenSet = true; m_platform = std::move(value); } /** *The type of messaging or notification platform for the channel. For the email * channel, this value is EMAIL.
*/ inline void SetPlatform(const char* value) { m_platformHasBeenSet = true; m_platform.assign(value); } /** *The type of messaging or notification platform for the channel. For the email * channel, this value is EMAIL.
*/ inline EmailChannelResponse& WithPlatform(const Aws::String& value) { SetPlatform(value); return *this;} /** *The type of messaging or notification platform for the channel. For the email * channel, this value is EMAIL.
*/ inline EmailChannelResponse& WithPlatform(Aws::String&& value) { SetPlatform(std::move(value)); return *this;} /** *The type of messaging or notification platform for the channel. For the email * channel, this value is EMAIL.
*/ inline EmailChannelResponse& WithPlatform(const char* value) { SetPlatform(value); return *this;} /** *The ARN of the AWS Identity and Access Management (IAM) role that Amazon * Pinpoint uses to submit email-related event data for the channel.
*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *The ARN of the AWS Identity and Access Management (IAM) role that Amazon * Pinpoint uses to submit email-related event data for the channel.
*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *The ARN of the AWS Identity and Access Management (IAM) role that Amazon * Pinpoint uses to submit email-related event data for the channel.
*/ inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } /** *The ARN of the AWS Identity and Access Management (IAM) role that Amazon * Pinpoint uses to submit email-related event data for the channel.
*/ inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } /** *The ARN of the AWS Identity and Access Management (IAM) role that Amazon * Pinpoint uses to submit email-related event data for the channel.
*/ inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } /** *The ARN of the AWS Identity and Access Management (IAM) role that Amazon * Pinpoint uses to submit email-related event data for the channel.
*/ inline EmailChannelResponse& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *The ARN of the AWS Identity and Access Management (IAM) role that Amazon * Pinpoint uses to submit email-related event data for the channel.
*/ inline EmailChannelResponse& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *The ARN of the AWS Identity and Access Management (IAM) role that Amazon * Pinpoint uses to submit email-related event data for the channel.
*/ inline EmailChannelResponse& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} /** *The current version of the email channel.
*/ inline int GetVersion() const{ return m_version; } /** *The current version of the email channel.
*/ inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } /** *The current version of the email channel.
*/ inline void SetVersion(int value) { m_versionHasBeenSet = true; m_version = value; } /** *The current version of the email channel.
*/ inline EmailChannelResponse& WithVersion(int value) { SetVersion(value); return *this;} private: Aws::String m_applicationId; bool m_applicationIdHasBeenSet = false; Aws::String m_configurationSet; bool m_configurationSetHasBeenSet = false; Aws::String m_creationDate; bool m_creationDateHasBeenSet = false; bool m_enabled; bool m_enabledHasBeenSet = false; Aws::String m_fromAddress; bool m_fromAddressHasBeenSet = false; bool m_hasCredential; bool m_hasCredentialHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_identity; bool m_identityHasBeenSet = false; bool m_isArchived; bool m_isArchivedHasBeenSet = false; Aws::String m_lastModifiedBy; bool m_lastModifiedByHasBeenSet = false; Aws::String m_lastModifiedDate; bool m_lastModifiedDateHasBeenSet = false; int m_messagesPerSecond; bool m_messagesPerSecondHasBeenSet = false; Aws::String m_platform; bool m_platformHasBeenSet = false; Aws::String m_roleArn; bool m_roleArnHasBeenSet = false; int m_version; bool m_versionHasBeenSet = false; }; } // namespace Model } // namespace Pinpoint } // namespace Aws