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

The data-volume encryption details.

See * Also:

AWS * API Reference

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

The ARN of the AWS KMS key for encrypting data at rest. If you * don't specify a KMS key, MSK creates one for you and uses it.

*/ inline const Aws::String& GetDataVolumeKMSKeyId() const{ return m_dataVolumeKMSKeyId; } /** *

The ARN of the AWS KMS key for encrypting data at rest. If you * don't specify a KMS key, MSK creates one for you and uses it.

*/ inline bool DataVolumeKMSKeyIdHasBeenSet() const { return m_dataVolumeKMSKeyIdHasBeenSet; } /** *

The ARN of the AWS KMS key for encrypting data at rest. If you * don't specify a KMS key, MSK creates one for you and uses it.

*/ inline void SetDataVolumeKMSKeyId(const Aws::String& value) { m_dataVolumeKMSKeyIdHasBeenSet = true; m_dataVolumeKMSKeyId = value; } /** *

The ARN of the AWS KMS key for encrypting data at rest. If you * don't specify a KMS key, MSK creates one for you and uses it.

*/ inline void SetDataVolumeKMSKeyId(Aws::String&& value) { m_dataVolumeKMSKeyIdHasBeenSet = true; m_dataVolumeKMSKeyId = std::move(value); } /** *

The ARN of the AWS KMS key for encrypting data at rest. If you * don't specify a KMS key, MSK creates one for you and uses it.

*/ inline void SetDataVolumeKMSKeyId(const char* value) { m_dataVolumeKMSKeyIdHasBeenSet = true; m_dataVolumeKMSKeyId.assign(value); } /** *

The ARN of the AWS KMS key for encrypting data at rest. If you * don't specify a KMS key, MSK creates one for you and uses it.

*/ inline EncryptionAtRest& WithDataVolumeKMSKeyId(const Aws::String& value) { SetDataVolumeKMSKeyId(value); return *this;} /** *

The ARN of the AWS KMS key for encrypting data at rest. If you * don't specify a KMS key, MSK creates one for you and uses it.

*/ inline EncryptionAtRest& WithDataVolumeKMSKeyId(Aws::String&& value) { SetDataVolumeKMSKeyId(std::move(value)); return *this;} /** *

The ARN of the AWS KMS key for encrypting data at rest. If you * don't specify a KMS key, MSK creates one for you and uses it.

*/ inline EncryptionAtRest& WithDataVolumeKMSKeyId(const char* value) { SetDataVolumeKMSKeyId(value); return *this;} private: Aws::String m_dataVolumeKMSKeyId; bool m_dataVolumeKMSKeyIdHasBeenSet; }; } // namespace Model } // namespace Kafka } // namespace Aws