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

Enables or disables node-to-node encryption. For more information, see Node-to-node * encryption for Amazon OpenSearch Service.

See Also:

AWS * API Reference

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

True to enable node-to-node encryption.

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

True to enable node-to-node encryption.

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

True to enable node-to-node encryption.

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

True to enable node-to-node encryption.

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