/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace DAX { namespace Model { /** *

Represents the settings used to enable server-side encryption.

See * Also:

AWS * API Reference

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

Indicates whether server-side encryption is enabled (true) or disabled * (false) on the cluster.

*/ inline bool GetEnabled() const{ return m_enabled; } /** *

Indicates whether server-side encryption is enabled (true) or disabled * (false) on the cluster.

*/ inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } /** *

Indicates whether server-side encryption is enabled (true) or disabled * (false) on the cluster.

*/ inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } /** *

Indicates whether server-side encryption is enabled (true) or disabled * (false) on the cluster.

*/ inline SSESpecification& WithEnabled(bool value) { SetEnabled(value); return *this;} private: bool m_enabled; bool m_enabledHasBeenSet = false; }; } // namespace Model } // namespace DAX } // namespace Aws