/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The data-volume encryption details.See
* Also:
AWS
* API Reference
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