/* * 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 rds-2014-10-31.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.RDS.Model { /// /// The version of the database engine that a DB instance can be upgraded to. /// public partial class UpgradeTarget { private bool? _autoUpgrade; private string _description; private string _engine; private string _engineVersion; private bool? _isMajorVersionUpgrade; private List _supportedEngineModes = new List(); private bool? _supportsBabelfish; private bool? _supportsGlobalDatabases; private bool? _supportsParallelQuery; /// /// Gets and sets the property AutoUpgrade. /// /// A value that indicates whether the target version is applied to any source DB instances /// that have AutoMinorVersionUpgrade set to true. /// /// public bool AutoUpgrade { get { return this._autoUpgrade.GetValueOrDefault(); } set { this._autoUpgrade = value; } } // Check to see if AutoUpgrade property is set internal bool IsSetAutoUpgrade() { return this._autoUpgrade.HasValue; } /// /// Gets and sets the property Description. /// /// The version of the database engine that a DB instance can be upgraded to. /// /// 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 Engine. /// /// The name of the upgrade target database engine. /// /// public string Engine { get { return this._engine; } set { this._engine = value; } } // Check to see if Engine property is set internal bool IsSetEngine() { return this._engine != null; } /// /// Gets and sets the property EngineVersion. /// /// The version number of the upgrade target database engine. /// /// public string EngineVersion { get { return this._engineVersion; } set { this._engineVersion = value; } } // Check to see if EngineVersion property is set internal bool IsSetEngineVersion() { return this._engineVersion != null; } /// /// Gets and sets the property IsMajorVersionUpgrade. /// /// A value that indicates whether upgrading to the target version requires upgrading /// the major version of the database engine. /// /// public bool IsMajorVersionUpgrade { get { return this._isMajorVersionUpgrade.GetValueOrDefault(); } set { this._isMajorVersionUpgrade = value; } } // Check to see if IsMajorVersionUpgrade property is set internal bool IsSetIsMajorVersionUpgrade() { return this._isMajorVersionUpgrade.HasValue; } /// /// Gets and sets the property SupportedEngineModes. /// /// A list of the supported DB engine modes for the target engine version. /// /// public List SupportedEngineModes { get { return this._supportedEngineModes; } set { this._supportedEngineModes = value; } } // Check to see if SupportedEngineModes property is set internal bool IsSetSupportedEngineModes() { return this._supportedEngineModes != null && this._supportedEngineModes.Count > 0; } /// /// Gets and sets the property SupportsBabelfish. /// /// A value that indicates whether you can use Babelfish for Aurora PostgreSQL with the /// target engine version. /// /// public bool SupportsBabelfish { get { return this._supportsBabelfish.GetValueOrDefault(); } set { this._supportsBabelfish = value; } } // Check to see if SupportsBabelfish property is set internal bool IsSetSupportsBabelfish() { return this._supportsBabelfish.HasValue; } /// /// Gets and sets the property SupportsGlobalDatabases. /// /// A value that indicates whether you can use Aurora global databases with the target /// engine version. /// /// public bool SupportsGlobalDatabases { get { return this._supportsGlobalDatabases.GetValueOrDefault(); } set { this._supportsGlobalDatabases = value; } } // Check to see if SupportsGlobalDatabases property is set internal bool IsSetSupportsGlobalDatabases() { return this._supportsGlobalDatabases.HasValue; } /// /// Gets and sets the property SupportsParallelQuery. /// /// A value that indicates whether you can use Aurora parallel query with the target engine /// version. /// /// public bool SupportsParallelQuery { get { return this._supportsParallelQuery.GetValueOrDefault(); } set { this._supportsParallelQuery = value; } } // Check to see if SupportsParallelQuery property is set internal bool IsSetSupportsParallelQuery() { return this._supportsParallelQuery.HasValue; } } }