/** * 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 { /** *

The status of the EBS options for the specified OpenSearch Service * domain.

See Also:

AWS * API Reference

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

The configured EBS options for the specified domain.

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

The configured EBS options for the specified domain.

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

The configured EBS options for the specified domain.

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

The configured EBS options for the specified domain.

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

The configured EBS options for the specified domain.

*/ inline EBSOptionsStatus& WithOptions(const EBSOptions& value) { SetOptions(value); return *this;} /** *

The configured EBS options for the specified domain.

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

The status of the EBS options for the specified domain.

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

The status of the EBS options for the specified domain.

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

The status of the EBS options for the specified domain.

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

The status of the EBS options for the specified domain.

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

The status of the EBS options for the specified domain.

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

The status of the EBS options for the specified domain.

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