/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about an Auto-Tune action. For more information, see Auto-Tune
* for Amazon OpenSearch Service.See Also:
AWS
* API Reference
The type of Auto-Tune action.
*/ inline const AutoTuneType& GetAutoTuneType() const{ return m_autoTuneType; } /** *The type of Auto-Tune action.
*/ inline bool AutoTuneTypeHasBeenSet() const { return m_autoTuneTypeHasBeenSet; } /** *The type of Auto-Tune action.
*/ inline void SetAutoTuneType(const AutoTuneType& value) { m_autoTuneTypeHasBeenSet = true; m_autoTuneType = value; } /** *The type of Auto-Tune action.
*/ inline void SetAutoTuneType(AutoTuneType&& value) { m_autoTuneTypeHasBeenSet = true; m_autoTuneType = std::move(value); } /** *The type of Auto-Tune action.
*/ inline AutoTune& WithAutoTuneType(const AutoTuneType& value) { SetAutoTuneType(value); return *this;} /** *The type of Auto-Tune action.
*/ inline AutoTune& WithAutoTuneType(AutoTuneType&& value) { SetAutoTuneType(std::move(value)); return *this;} /** *Details about an Auto-Tune action.
*/ inline const AutoTuneDetails& GetAutoTuneDetails() const{ return m_autoTuneDetails; } /** *Details about an Auto-Tune action.
*/ inline bool AutoTuneDetailsHasBeenSet() const { return m_autoTuneDetailsHasBeenSet; } /** *Details about an Auto-Tune action.
*/ inline void SetAutoTuneDetails(const AutoTuneDetails& value) { m_autoTuneDetailsHasBeenSet = true; m_autoTuneDetails = value; } /** *Details about an Auto-Tune action.
*/ inline void SetAutoTuneDetails(AutoTuneDetails&& value) { m_autoTuneDetailsHasBeenSet = true; m_autoTuneDetails = std::move(value); } /** *Details about an Auto-Tune action.
*/ inline AutoTune& WithAutoTuneDetails(const AutoTuneDetails& value) { SetAutoTuneDetails(value); return *this;} /** *Details about an Auto-Tune action.
*/ 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 OpenSearchService } // namespace Aws