/*
* 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 memorydb-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.MemoryDB.Model
{
///
/// An update that you can apply to your MemoryDB clusters.
///
public partial class ServiceUpdate
{
private DateTime? _autoUpdateStartDate;
private string _clusterName;
private string _description;
private string _nodesUpdated;
private DateTime? _releaseDate;
private string _serviceUpdateName;
private ServiceUpdateStatus _status;
private ServiceUpdateType _type;
///
/// Gets and sets the property AutoUpdateStartDate.
///
/// The date at which the service update will be automatically applied
///
///
public DateTime AutoUpdateStartDate
{
get { return this._autoUpdateStartDate.GetValueOrDefault(); }
set { this._autoUpdateStartDate = value; }
}
// Check to see if AutoUpdateStartDate property is set
internal bool IsSetAutoUpdateStartDate()
{
return this._autoUpdateStartDate.HasValue;
}
///
/// Gets and sets the property ClusterName.
///
/// The name of the cluster to which the service update applies
///
///
public string ClusterName
{
get { return this._clusterName; }
set { this._clusterName = value; }
}
// Check to see if ClusterName property is set
internal bool IsSetClusterName()
{
return this._clusterName != null;
}
///
/// Gets and sets the property Description.
///
/// Provides details of the service update
///
///
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
///
/// Gets and sets the property NodesUpdated.
///
/// A list of nodes updated by the service update
///
///
public string NodesUpdated
{
get { return this._nodesUpdated; }
set { this._nodesUpdated = value; }
}
// Check to see if NodesUpdated property is set
internal bool IsSetNodesUpdated()
{
return this._nodesUpdated != null;
}
///
/// Gets and sets the property ReleaseDate.
///
/// The date when the service update is initially available
///
///
public DateTime ReleaseDate
{
get { return this._releaseDate.GetValueOrDefault(); }
set { this._releaseDate = value; }
}
// Check to see if ReleaseDate property is set
internal bool IsSetReleaseDate()
{
return this._releaseDate.HasValue;
}
///
/// Gets and sets the property ServiceUpdateName.
///
/// The unique ID of the service update
///
///
public string ServiceUpdateName
{
get { return this._serviceUpdateName; }
set { this._serviceUpdateName = value; }
}
// Check to see if ServiceUpdateName property is set
internal bool IsSetServiceUpdateName()
{
return this._serviceUpdateName != null;
}
///
/// Gets and sets the property Status.
///
/// The status of the service update
///
///
public ServiceUpdateStatus Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
///
/// Gets and sets the property Type.
///
/// Reflects the nature of the service update
///
///
public ServiceUpdateType Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
}
}