/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object that contains configuration for Bring Your Own DKIM (BYODKIM), or,
* for Easy DKIMSee Also:
AWS
* API Reference
[Bring Your Own DKIM] A string that's used to identify a public key in the * DNS configuration for a domain.
*/ inline const Aws::String& GetDomainSigningSelector() const{ return m_domainSigningSelector; } /** *[Bring Your Own DKIM] A string that's used to identify a public key in the * DNS configuration for a domain.
*/ inline bool DomainSigningSelectorHasBeenSet() const { return m_domainSigningSelectorHasBeenSet; } /** *[Bring Your Own DKIM] A string that's used to identify a public key in the * DNS configuration for a domain.
*/ inline void SetDomainSigningSelector(const Aws::String& value) { m_domainSigningSelectorHasBeenSet = true; m_domainSigningSelector = value; } /** *[Bring Your Own DKIM] A string that's used to identify a public key in the * DNS configuration for a domain.
*/ inline void SetDomainSigningSelector(Aws::String&& value) { m_domainSigningSelectorHasBeenSet = true; m_domainSigningSelector = std::move(value); } /** *[Bring Your Own DKIM] A string that's used to identify a public key in the * DNS configuration for a domain.
*/ inline void SetDomainSigningSelector(const char* value) { m_domainSigningSelectorHasBeenSet = true; m_domainSigningSelector.assign(value); } /** *[Bring Your Own DKIM] A string that's used to identify a public key in the * DNS configuration for a domain.
*/ inline DkimSigningAttributes& WithDomainSigningSelector(const Aws::String& value) { SetDomainSigningSelector(value); return *this;} /** *[Bring Your Own DKIM] A string that's used to identify a public key in the * DNS configuration for a domain.
*/ inline DkimSigningAttributes& WithDomainSigningSelector(Aws::String&& value) { SetDomainSigningSelector(std::move(value)); return *this;} /** *[Bring Your Own DKIM] A string that's used to identify a public key in the * DNS configuration for a domain.
*/ inline DkimSigningAttributes& WithDomainSigningSelector(const char* value) { SetDomainSigningSelector(value); return *this;} /** *[Bring Your Own DKIM] A private key that's used to generate a DKIM * signature.
The private key must use 1024 or 2048-bit RSA encryption, and * must be encoded using base64 encoding.
*/ inline const Aws::String& GetDomainSigningPrivateKey() const{ return m_domainSigningPrivateKey; } /** *[Bring Your Own DKIM] A private key that's used to generate a DKIM * signature.
The private key must use 1024 or 2048-bit RSA encryption, and * must be encoded using base64 encoding.
*/ inline bool DomainSigningPrivateKeyHasBeenSet() const { return m_domainSigningPrivateKeyHasBeenSet; } /** *[Bring Your Own DKIM] A private key that's used to generate a DKIM * signature.
The private key must use 1024 or 2048-bit RSA encryption, and * must be encoded using base64 encoding.
*/ inline void SetDomainSigningPrivateKey(const Aws::String& value) { m_domainSigningPrivateKeyHasBeenSet = true; m_domainSigningPrivateKey = value; } /** *[Bring Your Own DKIM] A private key that's used to generate a DKIM * signature.
The private key must use 1024 or 2048-bit RSA encryption, and * must be encoded using base64 encoding.
*/ inline void SetDomainSigningPrivateKey(Aws::String&& value) { m_domainSigningPrivateKeyHasBeenSet = true; m_domainSigningPrivateKey = std::move(value); } /** *[Bring Your Own DKIM] A private key that's used to generate a DKIM * signature.
The private key must use 1024 or 2048-bit RSA encryption, and * must be encoded using base64 encoding.
*/ inline void SetDomainSigningPrivateKey(const char* value) { m_domainSigningPrivateKeyHasBeenSet = true; m_domainSigningPrivateKey.assign(value); } /** *[Bring Your Own DKIM] A private key that's used to generate a DKIM * signature.
The private key must use 1024 or 2048-bit RSA encryption, and * must be encoded using base64 encoding.
*/ inline DkimSigningAttributes& WithDomainSigningPrivateKey(const Aws::String& value) { SetDomainSigningPrivateKey(value); return *this;} /** *[Bring Your Own DKIM] A private key that's used to generate a DKIM * signature.
The private key must use 1024 or 2048-bit RSA encryption, and * must be encoded using base64 encoding.
*/ inline DkimSigningAttributes& WithDomainSigningPrivateKey(Aws::String&& value) { SetDomainSigningPrivateKey(std::move(value)); return *this;} /** *[Bring Your Own DKIM] A private key that's used to generate a DKIM * signature.
The private key must use 1024 or 2048-bit RSA encryption, and * must be encoded using base64 encoding.
*/ inline DkimSigningAttributes& WithDomainSigningPrivateKey(const char* value) { SetDomainSigningPrivateKey(value); return *this;} /** *[Easy DKIM] The key length of the future DKIM key pair to be generated. This * can be changed at most once per day.
*/ inline const DkimSigningKeyLength& GetNextSigningKeyLength() const{ return m_nextSigningKeyLength; } /** *[Easy DKIM] The key length of the future DKIM key pair to be generated. This * can be changed at most once per day.
*/ inline bool NextSigningKeyLengthHasBeenSet() const { return m_nextSigningKeyLengthHasBeenSet; } /** *[Easy DKIM] The key length of the future DKIM key pair to be generated. This * can be changed at most once per day.
*/ inline void SetNextSigningKeyLength(const DkimSigningKeyLength& value) { m_nextSigningKeyLengthHasBeenSet = true; m_nextSigningKeyLength = value; } /** *[Easy DKIM] The key length of the future DKIM key pair to be generated. This * can be changed at most once per day.
*/ inline void SetNextSigningKeyLength(DkimSigningKeyLength&& value) { m_nextSigningKeyLengthHasBeenSet = true; m_nextSigningKeyLength = std::move(value); } /** *[Easy DKIM] The key length of the future DKIM key pair to be generated. This * can be changed at most once per day.
*/ inline DkimSigningAttributes& WithNextSigningKeyLength(const DkimSigningKeyLength& value) { SetNextSigningKeyLength(value); return *this;} /** *[Easy DKIM] The key length of the future DKIM key pair to be generated. This * can be changed at most once per day.
*/ inline DkimSigningAttributes& WithNextSigningKeyLength(DkimSigningKeyLength&& value) { SetNextSigningKeyLength(std::move(value)); return *this;} private: Aws::String m_domainSigningSelector; bool m_domainSigningSelectorHasBeenSet = false; Aws::String m_domainSigningPrivateKey; bool m_domainSigningPrivateKeyHasBeenSet = false; DkimSigningKeyLength m_nextSigningKeyLength; bool m_nextSigningKeyLengthHasBeenSet = false; }; } // namespace Model } // namespace SESV2 } // namespace Aws