/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include If the email identity is a domain, this object contains information about the
* DKIM verification status for the domain. If the email identity is an
* email address, this object is empty. 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.
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 CreateEmailIdentityResult& 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 CreateEmailIdentityResult& WithDkimAttributes(const DkimAttributes& value) { SetDkimAttributes(value); return *this;} /** *An object that contains information about the DKIM attributes for the * identity.
*/ inline CreateEmailIdentityResult& WithDkimAttributes(DkimAttributes&& value) { SetDkimAttributes(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline CreateEmailIdentityResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateEmailIdentityResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateEmailIdentityResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: IdentityType m_identityType; bool m_verifiedForSendingStatus; DkimAttributes m_dkimAttributes; Aws::String m_requestId; }; } // namespace Model } // namespace SESV2 } // namespace Aws