/* * 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 { /// /// Defines a maintenance track that determines which Amazon Redshift version to apply /// during a maintenance window. If the value for MaintenanceTrack is current, /// the cluster is updated to the most recently certified maintenance release. If the /// value is trailing, the cluster is updated to the previously certified /// maintenance release. /// public partial class MaintenanceTrack { private string _databaseVersion; private string _maintenanceTrackName; private List _updateTargets = new List(); /// /// Gets and sets the property DatabaseVersion. /// /// The version number for the cluster release. /// /// [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 maintenance track. Possible values are current and trailing. /// /// [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 UpdateTargets. /// /// An array of UpdateTarget objects to update with the maintenance track. /// /// public List UpdateTargets { get { return this._updateTargets; } set { this._updateTargets = value; } } // Check to see if UpdateTargets property is set internal bool IsSetUpdateTargets() { return this._updateTargets != null && this._updateTargets.Count > 0; } } }