/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides details about broker encryption options. See Also:
* AWS
* API Reference
The KMS key that’s used to encrypt your data at rest. If not provided, * Amazon MQ will use a default KMS key to encrypt your data.
*/ inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } /** *The KMS key that’s used to encrypt your data at rest. If not provided, * Amazon MQ will use a default KMS key to encrypt your data.
*/ inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; } /** *The KMS key that’s used to encrypt your data at rest. If not provided, * Amazon MQ will use a default KMS key to encrypt your data.
*/ inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; } /** *The KMS key that’s used to encrypt your data at rest. If not provided, * Amazon MQ will use a default KMS key to encrypt your data.
*/ inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); } /** *The KMS key that’s used to encrypt your data at rest. If not provided, * Amazon MQ will use a default KMS key to encrypt your data.
*/ inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); } /** *The KMS key that’s used to encrypt your data at rest. If not provided, * Amazon MQ will use a default KMS key to encrypt your data.
*/ inline AwsAmazonMqBrokerEncryptionOptionsDetails& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} /** *The KMS key that’s used to encrypt your data at rest. If not provided, * Amazon MQ will use a default KMS key to encrypt your data.
*/ inline AwsAmazonMqBrokerEncryptionOptionsDetails& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} /** *The KMS key that’s used to encrypt your data at rest. If not provided, * Amazon MQ will use a default KMS key to encrypt your data.
*/ inline AwsAmazonMqBrokerEncryptionOptionsDetails& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} /** * Specifies that an KMS key should be used for at-rest encryption. Set to
* true
by default if no value is provided (for example, for RabbitMQ
* brokers).
Specifies that an KMS key should be used for at-rest encryption. Set to
* true
by default if no value is provided (for example, for RabbitMQ
* brokers).
Specifies that an KMS key should be used for at-rest encryption. Set to
* true
by default if no value is provided (for example, for RabbitMQ
* brokers).
Specifies that an KMS key should be used for at-rest encryption. Set to
* true
by default if no value is provided (for example, for RabbitMQ
* brokers).