/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies Auto-Tune type and Auto-Tune action details. See
* Also:
AWS API
* Reference
Specifies Auto-Tune type. Valid value is SCHEDULED_ACTION.
*/ inline const AutoTuneType& GetAutoTuneType() const{ return m_autoTuneType; } /** *Specifies Auto-Tune type. Valid value is SCHEDULED_ACTION.
*/ inline bool AutoTuneTypeHasBeenSet() const { return m_autoTuneTypeHasBeenSet; } /** *Specifies Auto-Tune type. Valid value is SCHEDULED_ACTION.
*/ inline void SetAutoTuneType(const AutoTuneType& value) { m_autoTuneTypeHasBeenSet = true; m_autoTuneType = value; } /** *Specifies Auto-Tune type. Valid value is SCHEDULED_ACTION.
*/ inline void SetAutoTuneType(AutoTuneType&& value) { m_autoTuneTypeHasBeenSet = true; m_autoTuneType = std::move(value); } /** *Specifies Auto-Tune type. Valid value is SCHEDULED_ACTION.
*/ inline AutoTune& WithAutoTuneType(const AutoTuneType& value) { SetAutoTuneType(value); return *this;} /** *Specifies Auto-Tune type. Valid value is SCHEDULED_ACTION.
*/ inline AutoTune& WithAutoTuneType(AutoTuneType&& value) { SetAutoTuneType(std::move(value)); return *this;} /** *Specifies details of the Auto-Tune action. See the Developer Guide for more information.
*/ inline const AutoTuneDetails& GetAutoTuneDetails() const{ return m_autoTuneDetails; } /** *Specifies details of the Auto-Tune action. See the Developer Guide for more information.
*/ inline bool AutoTuneDetailsHasBeenSet() const { return m_autoTuneDetailsHasBeenSet; } /** *Specifies details of the Auto-Tune action. See the Developer Guide for more information.
*/ inline void SetAutoTuneDetails(const AutoTuneDetails& value) { m_autoTuneDetailsHasBeenSet = true; m_autoTuneDetails = value; } /** *Specifies details of the Auto-Tune action. See the Developer Guide for more information.
*/ inline void SetAutoTuneDetails(AutoTuneDetails&& value) { m_autoTuneDetailsHasBeenSet = true; m_autoTuneDetails = std::move(value); } /** *Specifies details of the Auto-Tune action. See the Developer Guide for more information.
*/ inline AutoTune& WithAutoTuneDetails(const AutoTuneDetails& value) { SetAutoTuneDetails(value); return *this;} /** *Specifies details of the Auto-Tune action. See the Developer Guide for more information.
*/ inline AutoTune& WithAutoTuneDetails(AutoTuneDetails&& value) { SetAutoTuneDetails(std::move(value)); return *this;} private: AutoTuneType m_autoTuneType; bool m_autoTuneTypeHasBeenSet = false; AutoTuneDetails m_autoTuneDetails; bool m_autoTuneDetailsHasBeenSet = false; }; } // namespace Model } // namespace ElasticsearchService } // namespace Aws