/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ChimeSDKVoice { namespace Model { /** *

A structure that contains the configuration settings for server-side * encryption.

We only support symmetric keys. Do not use asymmetric * or HMAC keys, or KMS aliases.

See Also:

AWS * API Reference

*/ class ServerSideEncryptionConfiguration { public: AWS_CHIMESDKVOICE_API ServerSideEncryptionConfiguration(); AWS_CHIMESDKVOICE_API ServerSideEncryptionConfiguration(Aws::Utils::Json::JsonView jsonValue); AWS_CHIMESDKVOICE_API ServerSideEncryptionConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CHIMESDKVOICE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The ARN of the KMS key used to encrypt the enrollment data in a voice profile * domain. Asymmetric customer managed keys are not supported.

*/ inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; } /** *

The ARN of the KMS key used to encrypt the enrollment data in a voice profile * domain. Asymmetric customer managed keys are not supported.

*/ inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; } /** *

The ARN of the KMS key used to encrypt the enrollment data in a voice profile * domain. Asymmetric customer managed keys are not supported.

*/ inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = value; } /** *

The ARN of the KMS key used to encrypt the enrollment data in a voice profile * domain. Asymmetric customer managed keys are not supported.

*/ inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::move(value); } /** *

The ARN of the KMS key used to encrypt the enrollment data in a voice profile * domain. Asymmetric customer managed keys are not supported.

*/ inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); } /** *

The ARN of the KMS key used to encrypt the enrollment data in a voice profile * domain. Asymmetric customer managed keys are not supported.

*/ inline ServerSideEncryptionConfiguration& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;} /** *

The ARN of the KMS key used to encrypt the enrollment data in a voice profile * domain. Asymmetric customer managed keys are not supported.

*/ inline ServerSideEncryptionConfiguration& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;} /** *

The ARN of the KMS key used to encrypt the enrollment data in a voice profile * domain. Asymmetric customer managed keys are not supported.

*/ inline ServerSideEncryptionConfiguration& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;} private: Aws::String m_kmsKeyArn; bool m_kmsKeyArnHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKVoice } // namespace Aws