/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the opensearch-2021-01-01.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.OpenSearchService.Model
{
///
/// Specifies details about a scheduled Auto-Tune action. For more information, see Auto-Tune
/// for Amazon OpenSearch Service.
///
public partial class ScheduledAutoTuneDetails
{
private string _action;
private ScheduledAutoTuneActionType _actionType;
private DateTime? _date;
private ScheduledAutoTuneSeverityType _severity;
///
/// Gets and sets the property Action.
///
/// A description of the Auto-Tune action.
///
///
public string Action
{
get { return this._action; }
set { this._action = value; }
}
// Check to see if Action property is set
internal bool IsSetAction()
{
return this._action != null;
}
///
/// Gets and sets the property ActionType.
///
/// The type of Auto-Tune action.
///
///
public ScheduledAutoTuneActionType ActionType
{
get { return this._actionType; }
set { this._actionType = value; }
}
// Check to see if ActionType property is set
internal bool IsSetActionType()
{
return this._actionType != null;
}
///
/// Gets and sets the property Date.
///
/// The date and time when the Auto-Tune action is scheduled for the domain.
///
///
public DateTime Date
{
get { return this._date.GetValueOrDefault(); }
set { this._date = value; }
}
// Check to see if Date property is set
internal bool IsSetDate()
{
return this._date.HasValue;
}
///
/// Gets and sets the property Severity.
///
/// The severity of the Auto-Tune action. Valid values are LOW
, MEDIUM
,
/// and HIGH
.
///
///
public ScheduledAutoTuneSeverityType Severity
{
get { return this._severity; }
set { this._severity = value; }
}
// Check to see if Severity property is set
internal bool IsSetSeverity()
{
return this._severity != null;
}
}
}