/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A request to change the DKIM attributes for an email identity.See
* Also:
AWS
* API Reference
The email identity.
*/ inline const Aws::String& GetEmailIdentity() const{ return m_emailIdentity; } /** *The email identity.
*/ inline bool EmailIdentityHasBeenSet() const { return m_emailIdentityHasBeenSet; } /** *The email identity.
*/ inline void SetEmailIdentity(const Aws::String& value) { m_emailIdentityHasBeenSet = true; m_emailIdentity = value; } /** *The email identity.
*/ inline void SetEmailIdentity(Aws::String&& value) { m_emailIdentityHasBeenSet = true; m_emailIdentity = std::move(value); } /** *The email identity.
*/ inline void SetEmailIdentity(const char* value) { m_emailIdentityHasBeenSet = true; m_emailIdentity.assign(value); } /** *The email identity.
*/ inline PutEmailIdentityDkimSigningAttributesRequest& WithEmailIdentity(const Aws::String& value) { SetEmailIdentity(value); return *this;} /** *The email identity.
*/ inline PutEmailIdentityDkimSigningAttributesRequest& WithEmailIdentity(Aws::String&& value) { SetEmailIdentity(std::move(value)); return *this;} /** *The email identity.
*/ inline PutEmailIdentityDkimSigningAttributesRequest& WithEmailIdentity(const char* value) { SetEmailIdentity(value); return *this;} /** *The method to use to configure DKIM for the identity. There are the following * possible values:
AWS_SES – Configure DKIM for the
* identity by using Easy
* DKIM.
EXTERNAL – Configure DKIM for the
* identity by using Bring Your Own DKIM (BYODKIM).
The method to use to configure DKIM for the identity. There are the following * possible values:
AWS_SES – Configure DKIM for the
* identity by using Easy
* DKIM.
EXTERNAL – Configure DKIM for the
* identity by using Bring Your Own DKIM (BYODKIM).
The method to use to configure DKIM for the identity. There are the following * possible values:
AWS_SES – Configure DKIM for the
* identity by using Easy
* DKIM.
EXTERNAL – Configure DKIM for the
* identity by using Bring Your Own DKIM (BYODKIM).
The method to use to configure DKIM for the identity. There are the following * possible values:
AWS_SES – Configure DKIM for the
* identity by using Easy
* DKIM.
EXTERNAL – Configure DKIM for the
* identity by using Bring Your Own DKIM (BYODKIM).
The method to use to configure DKIM for the identity. There are the following * possible values:
AWS_SES – Configure DKIM for the
* identity by using Easy
* DKIM.
EXTERNAL – Configure DKIM for the
* identity by using Bring Your Own DKIM (BYODKIM).
The method to use to configure DKIM for the identity. There are the following * possible values:
AWS_SES – Configure DKIM for the
* identity by using Easy
* DKIM.
EXTERNAL – Configure DKIM for the
* identity by using Bring Your Own DKIM (BYODKIM).
An object that contains information about the private key and selector that * you want to use to configure DKIM for the identity for Bring Your Own DKIM * (BYODKIM) for the identity, or, configures the key length to be used for Easy * DKIM.
*/ inline const DkimSigningAttributes& GetSigningAttributes() const{ return m_signingAttributes; } /** *An object that contains information about the private key and selector that * you want to use to configure DKIM for the identity for Bring Your Own DKIM * (BYODKIM) for the identity, or, configures the key length to be used for Easy * DKIM.
*/ inline bool SigningAttributesHasBeenSet() const { return m_signingAttributesHasBeenSet; } /** *An object that contains information about the private key and selector that * you want to use to configure DKIM for the identity for Bring Your Own DKIM * (BYODKIM) for the identity, or, configures the key length to be used for Easy * DKIM.
*/ inline void SetSigningAttributes(const DkimSigningAttributes& value) { m_signingAttributesHasBeenSet = true; m_signingAttributes = value; } /** *An object that contains information about the private key and selector that * you want to use to configure DKIM for the identity for Bring Your Own DKIM * (BYODKIM) for the identity, or, configures the key length to be used for Easy * DKIM.
*/ inline void SetSigningAttributes(DkimSigningAttributes&& value) { m_signingAttributesHasBeenSet = true; m_signingAttributes = std::move(value); } /** *An object that contains information about the private key and selector that * you want to use to configure DKIM for the identity for Bring Your Own DKIM * (BYODKIM) for the identity, or, configures the key length to be used for Easy * DKIM.
*/ inline PutEmailIdentityDkimSigningAttributesRequest& WithSigningAttributes(const DkimSigningAttributes& value) { SetSigningAttributes(value); return *this;} /** *An object that contains information about the private key and selector that * you want to use to configure DKIM for the identity for Bring Your Own DKIM * (BYODKIM) for the identity, or, configures the key length to be used for Easy * DKIM.
*/ inline PutEmailIdentityDkimSigningAttributesRequest& WithSigningAttributes(DkimSigningAttributes&& value) { SetSigningAttributes(std::move(value)); return *this;} private: Aws::String m_emailIdentity; bool m_emailIdentityHasBeenSet = false; DkimSigningAttributesOrigin m_signingAttributesOrigin; bool m_signingAttributesOriginHasBeenSet = false; DkimSigningAttributes m_signingAttributes; bool m_signingAttributesHasBeenSet = false; }; } // namespace Model } // namespace SESV2 } // namespace Aws