/**
* 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.
*/ inline const IdentityType& GetIdentityType() const{ return m_identityType; } /** *The email identity type.
*/ inline void SetIdentityType(const IdentityType& value) { m_identityType = value; } /** *The email identity type.
*/ inline void SetIdentityType(IdentityType&& value) { m_identityType = std::move(value); } /** *The email identity type.
*/ inline CreateEmailIdentityResult& WithIdentityType(const IdentityType& value) { SetIdentityType(value); return *this;} /** *The email identity type.
*/ inline CreateEmailIdentityResult& WithIdentityType(IdentityType&& value) { SetIdentityType(std::move(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 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;} private: IdentityType m_identityType; bool m_verifiedForSendingStatus; DkimAttributes m_dkimAttributes; }; } // namespace Model } // namespace SESV2 } // namespace Aws