/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies details of the scheduled Auto-Tune action. See the Developer Guide for more information. See
* Also:
AWS
* API Reference
Specifies timestamp for the Auto-Tune action scheduled for the domain.
*/ inline const Aws::Utils::DateTime& GetDate() const{ return m_date; } /** *Specifies timestamp for the Auto-Tune action scheduled for the domain.
*/ inline bool DateHasBeenSet() const { return m_dateHasBeenSet; } /** *Specifies timestamp for the Auto-Tune action scheduled for the domain.
*/ inline void SetDate(const Aws::Utils::DateTime& value) { m_dateHasBeenSet = true; m_date = value; } /** *Specifies timestamp for the Auto-Tune action scheduled for the domain.
*/ inline void SetDate(Aws::Utils::DateTime&& value) { m_dateHasBeenSet = true; m_date = std::move(value); } /** *Specifies timestamp for the Auto-Tune action scheduled for the domain.
*/ inline ScheduledAutoTuneDetails& WithDate(const Aws::Utils::DateTime& value) { SetDate(value); return *this;} /** *Specifies timestamp for the Auto-Tune action scheduled for the domain.
*/ inline ScheduledAutoTuneDetails& WithDate(Aws::Utils::DateTime&& value) { SetDate(std::move(value)); return *this;} /** *Specifies Auto-Tune action type. Valid values are JVM_HEAP_SIZE_TUNING and * JVM_YOUNG_GEN_TUNING.
*/ inline const ScheduledAutoTuneActionType& GetActionType() const{ return m_actionType; } /** *Specifies Auto-Tune action type. Valid values are JVM_HEAP_SIZE_TUNING and * JVM_YOUNG_GEN_TUNING.
*/ inline bool ActionTypeHasBeenSet() const { return m_actionTypeHasBeenSet; } /** *Specifies Auto-Tune action type. Valid values are JVM_HEAP_SIZE_TUNING and * JVM_YOUNG_GEN_TUNING.
*/ inline void SetActionType(const ScheduledAutoTuneActionType& value) { m_actionTypeHasBeenSet = true; m_actionType = value; } /** *Specifies Auto-Tune action type. Valid values are JVM_HEAP_SIZE_TUNING and * JVM_YOUNG_GEN_TUNING.
*/ inline void SetActionType(ScheduledAutoTuneActionType&& value) { m_actionTypeHasBeenSet = true; m_actionType = std::move(value); } /** *Specifies Auto-Tune action type. Valid values are JVM_HEAP_SIZE_TUNING and * JVM_YOUNG_GEN_TUNING.
*/ inline ScheduledAutoTuneDetails& WithActionType(const ScheduledAutoTuneActionType& value) { SetActionType(value); return *this;} /** *Specifies Auto-Tune action type. Valid values are JVM_HEAP_SIZE_TUNING and * JVM_YOUNG_GEN_TUNING.
*/ inline ScheduledAutoTuneDetails& WithActionType(ScheduledAutoTuneActionType&& value) { SetActionType(std::move(value)); return *this;} /** *Specifies Auto-Tune action description.
*/ inline const Aws::String& GetAction() const{ return m_action; } /** *Specifies Auto-Tune action description.
*/ inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; } /** *Specifies Auto-Tune action description.
*/ inline void SetAction(const Aws::String& value) { m_actionHasBeenSet = true; m_action = value; } /** *Specifies Auto-Tune action description.
*/ inline void SetAction(Aws::String&& value) { m_actionHasBeenSet = true; m_action = std::move(value); } /** *Specifies Auto-Tune action description.
*/ inline void SetAction(const char* value) { m_actionHasBeenSet = true; m_action.assign(value); } /** *Specifies Auto-Tune action description.
*/ inline ScheduledAutoTuneDetails& WithAction(const Aws::String& value) { SetAction(value); return *this;} /** *Specifies Auto-Tune action description.
*/ inline ScheduledAutoTuneDetails& WithAction(Aws::String&& value) { SetAction(std::move(value)); return *this;} /** *Specifies Auto-Tune action description.
*/ inline ScheduledAutoTuneDetails& WithAction(const char* value) { SetAction(value); return *this;} /** *Specifies Auto-Tune action severity. Valid values are LOW, MEDIUM and HIGH. *
*/ inline const ScheduledAutoTuneSeverityType& GetSeverity() const{ return m_severity; } /** *Specifies Auto-Tune action severity. Valid values are LOW, MEDIUM and HIGH. *
*/ inline bool SeverityHasBeenSet() const { return m_severityHasBeenSet; } /** *Specifies Auto-Tune action severity. Valid values are LOW, MEDIUM and HIGH. *
*/ inline void SetSeverity(const ScheduledAutoTuneSeverityType& value) { m_severityHasBeenSet = true; m_severity = value; } /** *Specifies Auto-Tune action severity. Valid values are LOW, MEDIUM and HIGH. *
*/ inline void SetSeverity(ScheduledAutoTuneSeverityType&& value) { m_severityHasBeenSet = true; m_severity = std::move(value); } /** *Specifies Auto-Tune action severity. Valid values are LOW, MEDIUM and HIGH. *
*/ inline ScheduledAutoTuneDetails& WithSeverity(const ScheduledAutoTuneSeverityType& value) { SetSeverity(value); return *this;} /** *Specifies Auto-Tune action severity. Valid values are LOW, MEDIUM and HIGH. *
*/ inline ScheduledAutoTuneDetails& WithSeverity(ScheduledAutoTuneSeverityType&& value) { SetSeverity(std::move(value)); return *this;} private: Aws::Utils::DateTime m_date; bool m_dateHasBeenSet = false; ScheduledAutoTuneActionType m_actionType; bool m_actionTypeHasBeenSet = false; Aws::String m_action; bool m_actionHasBeenSet = false; ScheduledAutoTuneSeverityType m_severity; bool m_severityHasBeenSet = false; }; } // namespace Model } // namespace ElasticsearchService } // namespace Aws