/*
* 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 redshift-2012-12-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.Redshift.Model
{
///
/// A maintenance track that you can switch the current track to.
///
public partial class UpdateTarget
{
private string _databaseVersion;
private string _maintenanceTrackName;
private List _supportedOperations = new List();
///
/// Gets and sets the property DatabaseVersion.
///
/// The cluster version for the new maintenance track.
///
///
[AWSProperty(Max=2147483647)]
public string DatabaseVersion
{
get { return this._databaseVersion; }
set { this._databaseVersion = value; }
}
// Check to see if DatabaseVersion property is set
internal bool IsSetDatabaseVersion()
{
return this._databaseVersion != null;
}
///
/// Gets and sets the property MaintenanceTrackName.
///
/// The name of the new maintenance track.
///
///
[AWSProperty(Max=2147483647)]
public string MaintenanceTrackName
{
get { return this._maintenanceTrackName; }
set { this._maintenanceTrackName = value; }
}
// Check to see if MaintenanceTrackName property is set
internal bool IsSetMaintenanceTrackName()
{
return this._maintenanceTrackName != null;
}
///
/// Gets and sets the property SupportedOperations.
///
/// A list of operations supported by the maintenance track.
///
///
public List SupportedOperations
{
get { return this._supportedOperations; }
set { this._supportedOperations = value; }
}
// Check to see if SupportedOperations property is set
internal bool IsSetSupportedOperations()
{
return this._supportedOperations != null && this._supportedOperations.Count > 0;
}
}
}