/** * 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 cluster configuration status for a domain.

See Also:

AWS * API Reference

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

Cluster configuration options for the specified domain.

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

Cluster configuration options for the specified domain.

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

Cluster configuration options for the specified domain.

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

Cluster configuration options for the specified domain.

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

Cluster configuration options for the specified domain.

*/ inline ClusterConfigStatus& WithOptions(const ClusterConfig& value) { SetOptions(value); return *this;} /** *

Cluster configuration options for the specified domain.

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

The status of cluster configuration options for the specified domain.

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

The status of cluster configuration options for the specified domain.

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

The status of cluster configuration options for the specified domain.

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

The status of cluster configuration options for the specified domain.

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

The status of cluster configuration options for the specified domain.

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

The status of cluster configuration options for the specified domain.

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