/**
* 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,
* rollback state when disabling Auto-Tune options and list of maintenance
* schedules.See Also:
AWS
* API Reference
Specifies the Auto-Tune desired state. Valid values are ENABLED, DISABLED. *
*/ inline const AutoTuneDesiredState& GetDesiredState() const{ return m_desiredState; } /** *Specifies the Auto-Tune desired state. Valid values are ENABLED, DISABLED. *
*/ inline bool DesiredStateHasBeenSet() const { return m_desiredStateHasBeenSet; } /** *Specifies the Auto-Tune desired state. Valid values are ENABLED, DISABLED. *
*/ inline void SetDesiredState(const AutoTuneDesiredState& value) { m_desiredStateHasBeenSet = true; m_desiredState = value; } /** *Specifies the Auto-Tune desired state. Valid values are ENABLED, DISABLED. *
*/ inline void SetDesiredState(AutoTuneDesiredState&& value) { m_desiredStateHasBeenSet = true; m_desiredState = std::move(value); } /** *Specifies the Auto-Tune desired state. Valid values are ENABLED, DISABLED. *
*/ inline AutoTuneOptions& WithDesiredState(const AutoTuneDesiredState& value) { SetDesiredState(value); return *this;} /** *Specifies the Auto-Tune desired state. Valid values are ENABLED, DISABLED. *
*/ inline AutoTuneOptions& WithDesiredState(AutoTuneDesiredState&& value) { SetDesiredState(std::move(value)); return *this;} /** *Specifies the rollback state while disabling Auto-Tune for the domain. Valid * values are NO_ROLLBACK, DEFAULT_ROLLBACK.
*/ inline const RollbackOnDisable& GetRollbackOnDisable() const{ return m_rollbackOnDisable; } /** *Specifies the rollback state while disabling Auto-Tune for the domain. Valid * values are NO_ROLLBACK, DEFAULT_ROLLBACK.
*/ inline bool RollbackOnDisableHasBeenSet() const { return m_rollbackOnDisableHasBeenSet; } /** *Specifies the rollback state while disabling Auto-Tune for the domain. Valid * values are NO_ROLLBACK, DEFAULT_ROLLBACK.
*/ inline void SetRollbackOnDisable(const RollbackOnDisable& value) { m_rollbackOnDisableHasBeenSet = true; m_rollbackOnDisable = value; } /** *Specifies the rollback state while disabling Auto-Tune for the domain. Valid * values are NO_ROLLBACK, DEFAULT_ROLLBACK.
*/ inline void SetRollbackOnDisable(RollbackOnDisable&& value) { m_rollbackOnDisableHasBeenSet = true; m_rollbackOnDisable = std::move(value); } /** *Specifies the rollback state while disabling Auto-Tune for the domain. Valid * values are NO_ROLLBACK, DEFAULT_ROLLBACK.
*/ inline AutoTuneOptions& WithRollbackOnDisable(const RollbackOnDisable& value) { SetRollbackOnDisable(value); return *this;} /** *Specifies the rollback state while disabling Auto-Tune for the domain. Valid * values are NO_ROLLBACK, DEFAULT_ROLLBACK.
*/ inline AutoTuneOptions& WithRollbackOnDisable(RollbackOnDisable&& value) { SetRollbackOnDisable(std::move(value)); return *this;} /** *Specifies list of maitenance schedules. See the Developer Guide for more information.
*/ inline const Aws::VectorSpecifies list of maitenance schedules. See the Developer Guide for more information.
*/ inline bool MaintenanceSchedulesHasBeenSet() const { return m_maintenanceSchedulesHasBeenSet; } /** *Specifies list of maitenance schedules. See the Developer Guide for more information.
*/ inline void SetMaintenanceSchedules(const Aws::VectorSpecifies list of maitenance schedules. See the Developer Guide for more information.
*/ inline void SetMaintenanceSchedules(Aws::VectorSpecifies list of maitenance schedules. See the Developer Guide for more information.
*/ inline AutoTuneOptions& WithMaintenanceSchedules(const Aws::VectorSpecifies list of maitenance schedules. See the Developer Guide for more information.
*/ inline AutoTuneOptions& WithMaintenanceSchedules(Aws::VectorSpecifies list of maitenance schedules. See the Developer Guide for more information.
*/ inline AutoTuneOptions& AddMaintenanceSchedules(const AutoTuneMaintenanceSchedule& value) { m_maintenanceSchedulesHasBeenSet = true; m_maintenanceSchedules.push_back(value); return *this; } /** *Specifies list of maitenance schedules. See the Developer Guide for more information.
*/ inline AutoTuneOptions& AddMaintenanceSchedules(AutoTuneMaintenanceSchedule&& value) { m_maintenanceSchedulesHasBeenSet = true; m_maintenanceSchedules.push_back(std::move(value)); return *this; } private: AutoTuneDesiredState m_desiredState; bool m_desiredStateHasBeenSet = false; RollbackOnDisable m_rollbackOnDisable; bool m_rollbackOnDisableHasBeenSet = false; Aws::Vector