/** * 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 VoiceID { namespace Model { /** *

The configuration containing information about the customer managed key used * for encrypting customer data.

See Also:

AWS * API Reference

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

The identifier of the KMS key to use to encrypt data stored by Voice ID. * Voice ID doesn't support asymmetric customer managed keys.

*/ inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } /** *

The identifier of the KMS key to use to encrypt data stored by Voice ID. * Voice ID doesn't support asymmetric customer managed keys.

*/ inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; } /** *

The identifier of the KMS key to use to encrypt data stored by Voice ID. * Voice ID doesn't support asymmetric customer managed keys.

*/ inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; } /** *

The identifier of the KMS key to use to encrypt data stored by Voice ID. * Voice ID doesn't support asymmetric customer managed keys.

*/ inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); } /** *

The identifier of the KMS key to use to encrypt data stored by Voice ID. * Voice ID doesn't support asymmetric customer managed keys.

*/ inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); } /** *

The identifier of the KMS key to use to encrypt data stored by Voice ID. * Voice ID doesn't support asymmetric customer managed keys.

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

The identifier of the KMS key to use to encrypt data stored by Voice ID. * Voice ID doesn't support asymmetric customer managed keys.

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

The identifier of the KMS key to use to encrypt data stored by Voice ID. * Voice ID doesn't support asymmetric customer managed keys.

*/ inline ServerSideEncryptionConfiguration& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} private: Aws::String m_kmsKeyId; bool m_kmsKeyIdHasBeenSet = false; }; } // namespace Model } // namespace VoiceID } // namespace Aws