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

Status of the encryption at rest options for the specified OpenSearch Service * domain.

See Also:

AWS * API Reference

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

Encryption at rest options for the specified domain.

*/ inline const EncryptionAtRestOptions& GetOptions() const{ return m_options; } /** *

Encryption at rest options for the specified domain.

*/ inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; } /** *

Encryption at rest options for the specified domain.

*/ inline void SetOptions(const EncryptionAtRestOptions& value) { m_optionsHasBeenSet = true; m_options = value; } /** *

Encryption at rest options for the specified domain.

*/ inline void SetOptions(EncryptionAtRestOptions&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); } /** *

Encryption at rest options for the specified domain.

*/ inline EncryptionAtRestOptionsStatus& WithOptions(const EncryptionAtRestOptions& value) { SetOptions(value); return *this;} /** *

Encryption at rest options for the specified domain.

*/ inline EncryptionAtRestOptionsStatus& WithOptions(EncryptionAtRestOptions&& value) { SetOptions(std::move(value)); return *this;} /** *

The status of the encryption at rest options for the specified domain.

*/ inline const OptionStatus& GetStatus() const{ return m_status; } /** *

The status of the encryption at rest options for the specified domain.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The status of the encryption at rest options for the specified domain.

*/ inline void SetStatus(const OptionStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The status of the encryption at rest options for the specified domain.

*/ inline void SetStatus(OptionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The status of the encryption at rest options for the specified domain.

*/ inline EncryptionAtRestOptionsStatus& WithStatus(const OptionStatus& value) { SetStatus(value); return *this;} /** *

The status of the encryption at rest options for the specified domain.

*/ inline EncryptionAtRestOptionsStatus& WithStatus(OptionStatus&& value) { SetStatus(std::move(value)); return *this;} private: EncryptionAtRestOptions m_options; bool m_optionsHasBeenSet = false; OptionStatus m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace OpenSearchService } // namespace Aws