/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies the Auto-Tune options: the Auto-Tune desired state for the domain
* and list of maintenance schedules.See Also:
AWS
* API Reference
Specifies the AutoTuneState
for the Elasticsearch domain.
Specifies the AutoTuneState
for the Elasticsearch domain.
Specifies the AutoTuneState
for the Elasticsearch domain.
Specifies the AutoTuneState
for the Elasticsearch domain.
Specifies the AutoTuneState
for the Elasticsearch domain.
Specifies the AutoTuneState
for the Elasticsearch domain.
Specifies the error message while enabling or disabling the Auto-Tune.
*/ inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; } /** *Specifies the error message while enabling or disabling the Auto-Tune.
*/ inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; } /** *Specifies the error message while enabling or disabling the Auto-Tune.
*/ inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; } /** *Specifies the error message while enabling or disabling the Auto-Tune.
*/ inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); } /** *Specifies the error message while enabling or disabling the Auto-Tune.
*/ inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); } /** *Specifies the error message while enabling or disabling the Auto-Tune.
*/ inline AutoTuneOptionsOutput& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;} /** *Specifies the error message while enabling or disabling the Auto-Tune.
*/ inline AutoTuneOptionsOutput& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;} /** *Specifies the error message while enabling or disabling the Auto-Tune.
*/ inline AutoTuneOptionsOutput& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;} private: AutoTuneState m_state; bool m_stateHasBeenSet = false; Aws::String m_errorMessage; bool m_errorMessageHasBeenSet = false; }; } // namespace Model } // namespace ElasticsearchService } // namespace Aws