7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/opensearch/model/AutoTuneDesiredState.h>
9#include <aws/opensearch/model/RollbackOnDisable.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/opensearch/model/AutoTuneMaintenanceSchedule.h>
24namespace OpenSearchService
99 inline void SetUseOffPeakWindow(
bool value) { m_useOffPeakWindowHasBeenSet =
true; m_useOffPeakWindow = value; }
105 bool m_desiredStateHasBeenSet =
false;
108 bool m_rollbackOnDisableHasBeenSet =
false;
111 bool m_maintenanceSchedulesHasBeenSet =
false;
113 bool m_useOffPeakWindow;
114 bool m_useOffPeakWindowHasBeenSet =
false;
bool DesiredStateHasBeenSet() const
bool GetUseOffPeakWindow() const
const AutoTuneDesiredState & GetDesiredState() const
AutoTuneOptions & AddMaintenanceSchedules(const AutoTuneMaintenanceSchedule &value)
AutoTuneOptions & WithMaintenanceSchedules(Aws::Vector< AutoTuneMaintenanceSchedule > &&value)
bool UseOffPeakWindowHasBeenSet() const
const Aws::Vector< AutoTuneMaintenanceSchedule > & GetMaintenanceSchedules() const
void SetUseOffPeakWindow(bool value)
AWS_OPENSEARCHSERVICE_API AutoTuneOptions()
void SetRollbackOnDisable(const RollbackOnDisable &value)
bool MaintenanceSchedulesHasBeenSet() const
void SetRollbackOnDisable(RollbackOnDisable &&value)
void SetDesiredState(AutoTuneDesiredState &&value)
void SetMaintenanceSchedules(Aws::Vector< AutoTuneMaintenanceSchedule > &&value)
AutoTuneOptions & AddMaintenanceSchedules(AutoTuneMaintenanceSchedule &&value)
AutoTuneOptions & WithDesiredState(AutoTuneDesiredState &&value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AutoTuneOptions & WithDesiredState(const AutoTuneDesiredState &value)
bool RollbackOnDisableHasBeenSet() const
AutoTuneOptions & WithRollbackOnDisable(RollbackOnDisable &&value)
AutoTuneOptions & WithMaintenanceSchedules(const Aws::Vector< AutoTuneMaintenanceSchedule > &value)
void SetDesiredState(const AutoTuneDesiredState &value)
void SetMaintenanceSchedules(const Aws::Vector< AutoTuneMaintenanceSchedule > &value)
const RollbackOnDisable & GetRollbackOnDisable() const
AutoTuneOptions & WithRollbackOnDisable(const RollbackOnDisable &value)
AutoTuneOptions & WithUseOffPeakWindow(bool value)
AWS_OPENSEARCHSERVICE_API AutoTuneOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API AutoTuneOptions(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue