/** * 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 OpenSearchService { namespace Model { /** *

Status of the advanced options for the specified domain. The following * options are available:

  • * "rest.action.multi.allow_explicit_index": "true" | "false" - Note * the use of a string rather than a boolean. Specifies whether explicit references * to indexes are allowed inside the body of HTTP requests. If you want to * configure access policies for domain sub-resources, such as specific indexes and * domain APIs, you must disable this property. Default is true.

  • * "indices.fielddata.cache.size": "80" - Note the use of a string * rather than a boolean. Specifies the percentage of heap space allocated to field * data. Default is unbounded.

  • * "indices.query.bool.max_clause_count": "1024" - Note the use of a * string rather than a boolean. Specifies the maximum number of clauses allowed in * a Lucene boolean query. Default is 1,024. Queries with more than the permitted * number of clauses result in a TooManyClauses error.

  • *

    "override_main_response_version": "true" | "false" - Note the * use of a string rather than a boolean. Specifies whether the domain reports its * version as 7.10 to allow Elasticsearch OSS clients and plugins to continue * working with it. Default is false when creating a domain and true when upgrading * a domain.

For more information, see Advanced * cluster parameters.

See Also:

AWS * API Reference

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

The status of advanced options for the specified domain.

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

The status of advanced options for the specified domain.

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

The status of advanced options for the specified domain.

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

The status of advanced options for the specified domain.

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

The status of advanced options for the specified domain.

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

The status of advanced options for the specified domain.

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

The status of advanced options for the specified domain.

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

The status of advanced options for the specified domain.

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

The status of advanced options for the specified domain.

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

The status of advanced options for the specified domain.

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

The status of advanced options for the specified domain.

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

The status of advanced options for the specified domain.

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

The status of advanced options for the specified domain.

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

The status of advanced options for the specified domain.

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

The status of advanced options for the specified domain.

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

The status of advanced options for the specified domain.

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

The status of advanced options for the specified domain.

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

The status of advanced options for the specified domain.

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

The status of advanced options for the specified 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 OpenSearchService } // namespace Aws