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

Status of the advanced options for the specified Elasticsearch domain. * Currently, the following advanced options are available:

  • Option to * allow references to indices in an HTTP request body. Must be false * when configuring access to individual sub-resources. By default, the value is * true. See Configuration Advanced Options for more information.
  • *
  • Option to specify the percentage of heap space that is allocated to field * data. By default, this setting is unbounded.

For more information, * see Configuring * Advanced Options.

See Also:

AWS * API Reference

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

Specifies the status of advanced options for the specified Elasticsearch * domain.

*/ inline const Aws::Map& GetOptions() const{ return m_options; } /** *

Specifies the status of advanced options for the specified Elasticsearch * domain.

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

Specifies the status of advanced options for the specified Elasticsearch * domain.

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

Specifies the status of advanced options for the specified Elasticsearch * domain.

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

Specifies the status of advanced options for the specified Elasticsearch * domain.

*/ inline AdvancedOptionsStatus& WithOptions(const Aws::Map& value) { SetOptions(value); return *this;} /** *

Specifies the status of advanced options for the specified Elasticsearch * domain.

*/ inline AdvancedOptionsStatus& WithOptions(Aws::Map&& value) { SetOptions(std::move(value)); return *this;} /** *

Specifies the status of advanced options for the specified Elasticsearch * domain.

*/ inline AdvancedOptionsStatus& AddOptions(const Aws::String& key, const Aws::String& value) { m_optionsHasBeenSet = true; m_options.emplace(key, value); return *this; } /** *

Specifies the status of advanced options for the specified Elasticsearch * domain.

*/ inline AdvancedOptionsStatus& AddOptions(Aws::String&& key, const Aws::String& value) { m_optionsHasBeenSet = true; m_options.emplace(std::move(key), value); return *this; } /** *

Specifies the status of advanced options for the specified Elasticsearch * domain.

*/ inline AdvancedOptionsStatus& AddOptions(const Aws::String& key, Aws::String&& value) { m_optionsHasBeenSet = true; m_options.emplace(key, std::move(value)); return *this; } /** *

Specifies the status of advanced options for the specified Elasticsearch * domain.

*/ inline AdvancedOptionsStatus& AddOptions(Aws::String&& key, Aws::String&& value) { m_optionsHasBeenSet = true; m_options.emplace(std::move(key), std::move(value)); return *this; } /** *

Specifies the status of advanced options for the specified Elasticsearch * domain.

*/ inline AdvancedOptionsStatus& AddOptions(const char* key, Aws::String&& value) { m_optionsHasBeenSet = true; m_options.emplace(key, std::move(value)); return *this; } /** *

Specifies the status of advanced options for the specified Elasticsearch * domain.

*/ inline AdvancedOptionsStatus& AddOptions(Aws::String&& key, const char* value) { m_optionsHasBeenSet = true; m_options.emplace(std::move(key), value); return *this; } /** *

Specifies the status of advanced options for the specified Elasticsearch * domain.

*/ inline AdvancedOptionsStatus& AddOptions(const char* key, const char* value) { m_optionsHasBeenSet = true; m_options.emplace(key, value); return *this; } /** *

Specifies the status of OptionStatus for advanced options for * the specified Elasticsearch domain.

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

Specifies the status of OptionStatus for advanced options for * the specified Elasticsearch domain.

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

Specifies the status of OptionStatus for advanced options for * the specified Elasticsearch domain.

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

Specifies the status of OptionStatus for advanced options for * the specified Elasticsearch domain.

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

Specifies the status of OptionStatus for advanced options for * the specified Elasticsearch domain.

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

Specifies the status of OptionStatus for advanced options for * the specified Elasticsearch domain.

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