/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace SESV2 { namespace Model { /** *

A request to change the DKIM attributes for an email identity.

See * Also:

AWS * API Reference

*/ class PutEmailIdentityDkimSigningAttributesRequest : public SESV2Request { public: AWS_SESV2_API PutEmailIdentityDkimSigningAttributesRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "PutEmailIdentityDkimSigningAttributes"; } AWS_SESV2_API Aws::String SerializePayload() const override; /** *

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).

*/ inline const DkimSigningAttributesOrigin& GetSigningAttributesOrigin() const{ return m_signingAttributesOrigin; } /** *

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).

*/ inline bool SigningAttributesOriginHasBeenSet() const { return m_signingAttributesOriginHasBeenSet; } /** *

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).

*/ inline void SetSigningAttributesOrigin(const DkimSigningAttributesOrigin& value) { m_signingAttributesOriginHasBeenSet = true; m_signingAttributesOrigin = value; } /** *

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).

*/ inline void SetSigningAttributesOrigin(DkimSigningAttributesOrigin&& value) { m_signingAttributesOriginHasBeenSet = true; m_signingAttributesOrigin = std::move(value); } /** *

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).

*/ inline PutEmailIdentityDkimSigningAttributesRequest& WithSigningAttributesOrigin(const DkimSigningAttributesOrigin& value) { SetSigningAttributesOrigin(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).

*/ inline PutEmailIdentityDkimSigningAttributesRequest& WithSigningAttributesOrigin(DkimSigningAttributesOrigin&& value) { SetSigningAttributesOrigin(std::move(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 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