/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies the Encryption At Rest Options.See Also:
AWS
* API Reference
Specifies the option to enable Encryption At Rest.
*/ inline bool GetEnabled() const{ return m_enabled; } /** *Specifies the option to enable Encryption At Rest.
*/ inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } /** *Specifies the option to enable Encryption At Rest.
*/ inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } /** *Specifies the option to enable Encryption At Rest.
*/ inline EncryptionAtRestOptions& WithEnabled(bool value) { SetEnabled(value); return *this;} /** *Specifies the KMS Key ID for Encryption At Rest options.
*/ inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } /** *Specifies the KMS Key ID for Encryption At Rest options.
*/ inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; } /** *Specifies the KMS Key ID for Encryption At Rest options.
*/ inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; } /** *Specifies the KMS Key ID for Encryption At Rest options.
*/ inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); } /** *Specifies the KMS Key ID for Encryption At Rest options.
*/ inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); } /** *Specifies the KMS Key ID for Encryption At Rest options.
*/ inline EncryptionAtRestOptions& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} /** *Specifies the KMS Key ID for Encryption At Rest options.
*/ inline EncryptionAtRestOptions& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} /** *Specifies the KMS Key ID for Encryption At Rest options.
*/ inline EncryptionAtRestOptions& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} private: bool m_enabled; bool m_enabledHasBeenSet = false; Aws::String m_kmsKeyId; bool m_kmsKeyIdHasBeenSet = false; }; } // namespace Model } // namespace ElasticsearchService } // namespace Aws