/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Details about an email identity.See Also:
AWS
* API Reference
The email identity type. Note: the MANAGED_DOMAIN
identity type
* is not supported.
The email identity type. Note: the MANAGED_DOMAIN
identity type
* is not supported.
The email identity type. Note: the MANAGED_DOMAIN
identity type
* is not supported.
The email identity type. Note: the MANAGED_DOMAIN
identity type
* is not supported.
The email identity type. Note: the MANAGED_DOMAIN
identity type
* is not supported.
The feedback forwarding configuration for the identity.
If the value
* is true
, you receive email notifications when bounce or complaint
* events occur. These notifications are sent to the address that you specified in
* the Return-Path
header of the original email.
You're * required to have a method of tracking bounces and complaints. If you haven't set * up another mechanism for receiving bounce or complaint notifications (for * example, by setting up an event destination), you receive an email notification * when these events occur (even if this setting is disabled).
*/ inline bool GetFeedbackForwardingStatus() const{ return m_feedbackForwardingStatus; } /** *The feedback forwarding configuration for the identity.
If the value
* is true
, you receive email notifications when bounce or complaint
* events occur. These notifications are sent to the address that you specified in
* the Return-Path
header of the original email.
You're * required to have a method of tracking bounces and complaints. If you haven't set * up another mechanism for receiving bounce or complaint notifications (for * example, by setting up an event destination), you receive an email notification * when these events occur (even if this setting is disabled).
*/ inline void SetFeedbackForwardingStatus(bool value) { m_feedbackForwardingStatus = value; } /** *The feedback forwarding configuration for the identity.
If the value
* is true
, you receive email notifications when bounce or complaint
* events occur. These notifications are sent to the address that you specified in
* the Return-Path
header of the original email.
You're * required to have a method of tracking bounces and complaints. If you haven't set * up another mechanism for receiving bounce or complaint notifications (for * example, by setting up an event destination), you receive an email notification * when these events occur (even if this setting is disabled).
*/ inline GetEmailIdentityResult& WithFeedbackForwardingStatus(bool value) { SetFeedbackForwardingStatus(value); return *this;} /** *Specifies whether or not the identity is verified. You can only send email * from verified email addresses or domains. For more information about verifying * identities, see the Amazon * Pinpoint User Guide.
*/ inline bool GetVerifiedForSendingStatus() const{ return m_verifiedForSendingStatus; } /** *Specifies whether or not the identity is verified. You can only send email * from verified email addresses or domains. For more information about verifying * identities, see the Amazon * Pinpoint User Guide.
*/ inline void SetVerifiedForSendingStatus(bool value) { m_verifiedForSendingStatus = value; } /** *Specifies whether or not the identity is verified. You can only send email * from verified email addresses or domains. For more information about verifying * identities, see the Amazon * Pinpoint User Guide.
*/ inline GetEmailIdentityResult& WithVerifiedForSendingStatus(bool value) { SetVerifiedForSendingStatus(value); return *this;} /** *An object that contains information about the DKIM attributes for the * identity.
*/ inline const DkimAttributes& GetDkimAttributes() const{ return m_dkimAttributes; } /** *An object that contains information about the DKIM attributes for the * identity.
*/ inline void SetDkimAttributes(const DkimAttributes& value) { m_dkimAttributes = value; } /** *An object that contains information about the DKIM attributes for the * identity.
*/ inline void SetDkimAttributes(DkimAttributes&& value) { m_dkimAttributes = std::move(value); } /** *An object that contains information about the DKIM attributes for the * identity.
*/ inline GetEmailIdentityResult& WithDkimAttributes(const DkimAttributes& value) { SetDkimAttributes(value); return *this;} /** *An object that contains information about the DKIM attributes for the * identity.
*/ inline GetEmailIdentityResult& WithDkimAttributes(DkimAttributes&& value) { SetDkimAttributes(std::move(value)); return *this;} /** *An object that contains information about the Mail-From attributes for the * email identity.
*/ inline const MailFromAttributes& GetMailFromAttributes() const{ return m_mailFromAttributes; } /** *An object that contains information about the Mail-From attributes for the * email identity.
*/ inline void SetMailFromAttributes(const MailFromAttributes& value) { m_mailFromAttributes = value; } /** *An object that contains information about the Mail-From attributes for the * email identity.
*/ inline void SetMailFromAttributes(MailFromAttributes&& value) { m_mailFromAttributes = std::move(value); } /** *An object that contains information about the Mail-From attributes for the * email identity.
*/ inline GetEmailIdentityResult& WithMailFromAttributes(const MailFromAttributes& value) { SetMailFromAttributes(value); return *this;} /** *An object that contains information about the Mail-From attributes for the * email identity.
*/ inline GetEmailIdentityResult& WithMailFromAttributes(MailFromAttributes&& value) { SetMailFromAttributes(std::move(value)); return *this;} /** *A map of policy names to policies.
*/ inline const Aws::MapA map of policy names to policies.
*/ inline void SetPolicies(const Aws::MapA map of policy names to policies.
*/ inline void SetPolicies(Aws::MapA map of policy names to policies.
*/ inline GetEmailIdentityResult& WithPolicies(const Aws::MapA map of policy names to policies.
*/ inline GetEmailIdentityResult& WithPolicies(Aws::MapA map of policy names to policies.
*/ inline GetEmailIdentityResult& AddPolicies(const Aws::String& key, const Aws::String& value) { m_policies.emplace(key, value); return *this; } /** *A map of policy names to policies.
*/ inline GetEmailIdentityResult& AddPolicies(Aws::String&& key, const Aws::String& value) { m_policies.emplace(std::move(key), value); return *this; } /** *A map of policy names to policies.
*/ inline GetEmailIdentityResult& AddPolicies(const Aws::String& key, Aws::String&& value) { m_policies.emplace(key, std::move(value)); return *this; } /** *A map of policy names to policies.
*/ inline GetEmailIdentityResult& AddPolicies(Aws::String&& key, Aws::String&& value) { m_policies.emplace(std::move(key), std::move(value)); return *this; } /** *A map of policy names to policies.
*/ inline GetEmailIdentityResult& AddPolicies(const char* key, Aws::String&& value) { m_policies.emplace(key, std::move(value)); return *this; } /** *A map of policy names to policies.
*/ inline GetEmailIdentityResult& AddPolicies(Aws::String&& key, const char* value) { m_policies.emplace(std::move(key), value); return *this; } /** *A map of policy names to policies.
*/ inline GetEmailIdentityResult& AddPolicies(const char* key, const char* value) { m_policies.emplace(key, value); return *this; } /** *An array of objects that define the tags (keys and values) that are * associated with the email identity.
*/ inline const Aws::VectorAn array of objects that define the tags (keys and values) that are * associated with the email identity.
*/ inline void SetTags(const Aws::VectorAn array of objects that define the tags (keys and values) that are * associated with the email identity.
*/ inline void SetTags(Aws::VectorAn array of objects that define the tags (keys and values) that are * associated with the email identity.
*/ inline GetEmailIdentityResult& WithTags(const Aws::VectorAn array of objects that define the tags (keys and values) that are * associated with the email identity.
*/ inline GetEmailIdentityResult& WithTags(Aws::VectorAn array of objects that define the tags (keys and values) that are * associated with the email identity.
*/ inline GetEmailIdentityResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; } /** *An array of objects that define the tags (keys and values) that are * associated with the email identity.
*/ inline GetEmailIdentityResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; } /** *The configuration set used by default when sending from this identity.
*/ inline const Aws::String& GetConfigurationSetName() const{ return m_configurationSetName; } /** *The configuration set used by default when sending from this identity.
*/ inline void SetConfigurationSetName(const Aws::String& value) { m_configurationSetName = value; } /** *The configuration set used by default when sending from this identity.
*/ inline void SetConfigurationSetName(Aws::String&& value) { m_configurationSetName = std::move(value); } /** *The configuration set used by default when sending from this identity.
*/ inline void SetConfigurationSetName(const char* value) { m_configurationSetName.assign(value); } /** *The configuration set used by default when sending from this identity.
*/ inline GetEmailIdentityResult& WithConfigurationSetName(const Aws::String& value) { SetConfigurationSetName(value); return *this;} /** *The configuration set used by default when sending from this identity.
*/ inline GetEmailIdentityResult& WithConfigurationSetName(Aws::String&& value) { SetConfigurationSetName(std::move(value)); return *this;} /** *The configuration set used by default when sending from this identity.
*/ inline GetEmailIdentityResult& WithConfigurationSetName(const char* value) { SetConfigurationSetName(value); return *this;} /** *The verification status of the identity. The status can be one of the * following:
PENDING
– The verification process was
* initiated, but Amazon SES hasn't yet been able to verify the identity.
SUCCESS
– The verification process completed
* successfully.
FAILED
– The verification process
* failed.
TEMPORARY_FAILURE
– A temporary issue is
* preventing Amazon SES from determining the verification status of the
* identity.
NOT_STARTED
– The verification process
* hasn't been initiated for the identity.
The verification status of the identity. The status can be one of the * following:
PENDING
– The verification process was
* initiated, but Amazon SES hasn't yet been able to verify the identity.
SUCCESS
– The verification process completed
* successfully.
FAILED
– The verification process
* failed.
TEMPORARY_FAILURE
– A temporary issue is
* preventing Amazon SES from determining the verification status of the
* identity.
NOT_STARTED
– The verification process
* hasn't been initiated for the identity.
The verification status of the identity. The status can be one of the * following:
PENDING
– The verification process was
* initiated, but Amazon SES hasn't yet been able to verify the identity.
SUCCESS
– The verification process completed
* successfully.
FAILED
– The verification process
* failed.
TEMPORARY_FAILURE
– A temporary issue is
* preventing Amazon SES from determining the verification status of the
* identity.
NOT_STARTED
– The verification process
* hasn't been initiated for the identity.
The verification status of the identity. The status can be one of the * following:
PENDING
– The verification process was
* initiated, but Amazon SES hasn't yet been able to verify the identity.
SUCCESS
– The verification process completed
* successfully.
FAILED
– The verification process
* failed.
TEMPORARY_FAILURE
– A temporary issue is
* preventing Amazon SES from determining the verification status of the
* identity.
NOT_STARTED
– The verification process
* hasn't been initiated for the identity.
The verification status of the identity. The status can be one of the * following:
PENDING
– The verification process was
* initiated, but Amazon SES hasn't yet been able to verify the identity.
SUCCESS
– The verification process completed
* successfully.
FAILED
– The verification process
* failed.
TEMPORARY_FAILURE
– A temporary issue is
* preventing Amazon SES from determining the verification status of the
* identity.
NOT_STARTED
– The verification process
* hasn't been initiated for the identity.