/** * 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 Auto-Tune status for the domain.

See Also:

AWS * API Reference

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

Auto-Tune settings for updating a domain.

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

Auto-Tune settings for updating a domain.

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

Auto-Tune settings for updating a domain.

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

Auto-Tune settings for updating a domain.

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

Auto-Tune settings for updating a domain.

*/ inline AutoTuneOptionsStatus& WithOptions(const AutoTuneOptions& value) { SetOptions(value); return *this;} /** *

Auto-Tune settings for updating a domain.

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

The current status of Auto-Tune for a domain.

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

The current status of Auto-Tune for a domain.

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

The current status of Auto-Tune for a domain.

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

The current status of Auto-Tune for a domain.

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

The current status of Auto-Tune for a domain.

*/ inline AutoTuneOptionsStatus& WithStatus(const AutoTuneStatus& value) { SetStatus(value); return *this;} /** *

The current status of Auto-Tune for a domain.

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