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

Provides encryption details of Amazon Security Lake object.

See * Also:

AWS * API Reference

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

The id of KMS encryption key used by Amazon Security Lake to encrypt the * Security Lake object.

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

The id of KMS encryption key used by Amazon Security Lake to encrypt the * Security Lake object.

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

The id of KMS encryption key used by Amazon Security Lake to encrypt the * Security Lake object.

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

The id of KMS encryption key used by Amazon Security Lake to encrypt the * Security Lake object.

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

The id of KMS encryption key used by Amazon Security Lake to encrypt the * Security Lake object.

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

The id of KMS encryption key used by Amazon Security Lake to encrypt the * Security Lake object.

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

The id of KMS encryption key used by Amazon Security Lake to encrypt the * Security Lake object.

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

The id of KMS encryption key used by Amazon Security Lake to encrypt the * Security Lake object.

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