/*
* 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 neptune-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.Neptune.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 bool? _supportsGlobalDatabases;
///
/// 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 a database engine is upgraded to a major version.
///
///
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 SupportsGlobalDatabases.
///
/// A value that indicates whether you can use Neptune 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;
}
}
}