/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Options for configuring Auto-Tune. For more information, see Auto-Tune
* for Amazon OpenSearch Service See Also:
AWS
* API Reference
Whether Auto-Tune is enabled or disabled.
*/ inline const AutoTuneDesiredState& GetDesiredState() const{ return m_desiredState; } /** *Whether Auto-Tune is enabled or disabled.
*/ inline bool DesiredStateHasBeenSet() const { return m_desiredStateHasBeenSet; } /** *Whether Auto-Tune is enabled or disabled.
*/ inline void SetDesiredState(const AutoTuneDesiredState& value) { m_desiredStateHasBeenSet = true; m_desiredState = value; } /** *Whether Auto-Tune is enabled or disabled.
*/ inline void SetDesiredState(AutoTuneDesiredState&& value) { m_desiredStateHasBeenSet = true; m_desiredState = std::move(value); } /** *Whether Auto-Tune is enabled or disabled.
*/ inline AutoTuneOptionsInput& WithDesiredState(const AutoTuneDesiredState& value) { SetDesiredState(value); return *this;} /** *Whether Auto-Tune is enabled or disabled.
*/ inline AutoTuneOptionsInput& WithDesiredState(AutoTuneDesiredState&& value) { SetDesiredState(std::move(value)); return *this;} /** *A list of maintenance schedules during which Auto-Tune can deploy changes. * Maintenance windows are deprecated and have been replaced with off-peak * windows.
*/ inline const Aws::VectorA list of maintenance schedules during which Auto-Tune can deploy changes. * Maintenance windows are deprecated and have been replaced with off-peak * windows.
*/ inline bool MaintenanceSchedulesHasBeenSet() const { return m_maintenanceSchedulesHasBeenSet; } /** *A list of maintenance schedules during which Auto-Tune can deploy changes. * Maintenance windows are deprecated and have been replaced with off-peak * windows.
*/ inline void SetMaintenanceSchedules(const Aws::VectorA list of maintenance schedules during which Auto-Tune can deploy changes. * Maintenance windows are deprecated and have been replaced with off-peak * windows.
*/ inline void SetMaintenanceSchedules(Aws::VectorA list of maintenance schedules during which Auto-Tune can deploy changes. * Maintenance windows are deprecated and have been replaced with off-peak * windows.
*/ inline AutoTuneOptionsInput& WithMaintenanceSchedules(const Aws::VectorA list of maintenance schedules during which Auto-Tune can deploy changes. * Maintenance windows are deprecated and have been replaced with off-peak * windows.
*/ inline AutoTuneOptionsInput& WithMaintenanceSchedules(Aws::VectorA list of maintenance schedules during which Auto-Tune can deploy changes. * Maintenance windows are deprecated and have been replaced with off-peak * windows.
*/ inline AutoTuneOptionsInput& AddMaintenanceSchedules(const AutoTuneMaintenanceSchedule& value) { m_maintenanceSchedulesHasBeenSet = true; m_maintenanceSchedules.push_back(value); return *this; } /** *A list of maintenance schedules during which Auto-Tune can deploy changes. * Maintenance windows are deprecated and have been replaced with off-peak * windows.
*/ inline AutoTuneOptionsInput& AddMaintenanceSchedules(AutoTuneMaintenanceSchedule&& value) { m_maintenanceSchedulesHasBeenSet = true; m_maintenanceSchedules.push_back(std::move(value)); return *this; } /** *Whether to schedule Auto-Tune optimizations that require blue/green * deployments during the domain's configured daily off-peak window.
*/ inline bool GetUseOffPeakWindow() const{ return m_useOffPeakWindow; } /** *Whether to schedule Auto-Tune optimizations that require blue/green * deployments during the domain's configured daily off-peak window.
*/ inline bool UseOffPeakWindowHasBeenSet() const { return m_useOffPeakWindowHasBeenSet; } /** *Whether to schedule Auto-Tune optimizations that require blue/green * deployments during the domain's configured daily off-peak window.
*/ inline void SetUseOffPeakWindow(bool value) { m_useOffPeakWindowHasBeenSet = true; m_useOffPeakWindow = value; } /** *Whether to schedule Auto-Tune optimizations that require blue/green * deployments during the domain's configured daily off-peak window.
*/ inline AutoTuneOptionsInput& WithUseOffPeakWindow(bool value) { SetUseOffPeakWindow(value); return *this;} private: AutoTuneDesiredState m_desiredState; bool m_desiredStateHasBeenSet = false; Aws::Vector