/*
* 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
{
///
/// This data type is used as a response element in the ModifyDBInstance action.
///
public partial class PendingModifiedValues
{
private int? _allocatedStorage;
private int? _backupRetentionPeriod;
private string _caCertificateIdentifier;
private string _dbInstanceClass;
private string _dbInstanceIdentifier;
private string _dbSubnetGroupName;
private string _engineVersion;
private int? _iops;
private string _licenseModel;
private string _masterUserPassword;
private bool? _multiAZ;
private PendingCloudwatchLogsExports _pendingCloudwatchLogsExports;
private int? _port;
private string _storageType;
///
/// Gets and sets the property AllocatedStorage.
///
/// Contains the new AllocatedStorage
size for the DB instance that will
/// be applied or is currently being applied.
///
///
public int AllocatedStorage
{
get { return this._allocatedStorage.GetValueOrDefault(); }
set { this._allocatedStorage = value; }
}
// Check to see if AllocatedStorage property is set
internal bool IsSetAllocatedStorage()
{
return this._allocatedStorage.HasValue;
}
///
/// Gets and sets the property BackupRetentionPeriod.
///
/// Specifies the pending number of days for which automated backups are retained.
///
///
public int BackupRetentionPeriod
{
get { return this._backupRetentionPeriod.GetValueOrDefault(); }
set { this._backupRetentionPeriod = value; }
}
// Check to see if BackupRetentionPeriod property is set
internal bool IsSetBackupRetentionPeriod()
{
return this._backupRetentionPeriod.HasValue;
}
///
/// Gets and sets the property CACertificateIdentifier.
///
/// Specifies the identifier of the CA certificate for the DB instance.
///
///
public string CACertificateIdentifier
{
get { return this._caCertificateIdentifier; }
set { this._caCertificateIdentifier = value; }
}
// Check to see if CACertificateIdentifier property is set
internal bool IsSetCACertificateIdentifier()
{
return this._caCertificateIdentifier != null;
}
///
/// Gets and sets the property DBInstanceClass.
///
/// Contains the new DBInstanceClass
for the DB instance that will be applied
/// or is currently being applied.
///
///
public string DBInstanceClass
{
get { return this._dbInstanceClass; }
set { this._dbInstanceClass = value; }
}
// Check to see if DBInstanceClass property is set
internal bool IsSetDBInstanceClass()
{
return this._dbInstanceClass != null;
}
///
/// Gets and sets the property DBInstanceIdentifier.
///
/// Contains the new DBInstanceIdentifier
for the DB instance that will
/// be applied or is currently being applied.
///
///
public string DBInstanceIdentifier
{
get { return this._dbInstanceIdentifier; }
set { this._dbInstanceIdentifier = value; }
}
// Check to see if DBInstanceIdentifier property is set
internal bool IsSetDBInstanceIdentifier()
{
return this._dbInstanceIdentifier != null;
}
///
/// Gets and sets the property DBSubnetGroupName.
///
/// The new DB subnet group for the DB instance.
///
///
public string DBSubnetGroupName
{
get { return this._dbSubnetGroupName; }
set { this._dbSubnetGroupName = value; }
}
// Check to see if DBSubnetGroupName property is set
internal bool IsSetDBSubnetGroupName()
{
return this._dbSubnetGroupName != null;
}
///
/// Gets and sets the property EngineVersion.
///
/// Indicates the database engine version.
///
///
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 Iops.
///
/// Specifies the new Provisioned IOPS value for the DB instance that will be applied
/// or is currently being applied.
///
///
public int Iops
{
get { return this._iops.GetValueOrDefault(); }
set { this._iops = value; }
}
// Check to see if Iops property is set
internal bool IsSetIops()
{
return this._iops.HasValue;
}
///
/// Gets and sets the property LicenseModel.
///
/// Not supported by Neptune.
///
///
public string LicenseModel
{
get { return this._licenseModel; }
set { this._licenseModel = value; }
}
// Check to see if LicenseModel property is set
internal bool IsSetLicenseModel()
{
return this._licenseModel != null;
}
///
/// Gets and sets the property MasterUserPassword.
///
/// Not supported by Neptune.
///
///
public string MasterUserPassword
{
get { return this._masterUserPassword; }
set { this._masterUserPassword = value; }
}
// Check to see if MasterUserPassword property is set
internal bool IsSetMasterUserPassword()
{
return this._masterUserPassword != null;
}
///
/// Gets and sets the property MultiAZ.
///
/// Indicates that the Single-AZ DB instance is to change to a Multi-AZ deployment.
///
///
public bool MultiAZ
{
get { return this._multiAZ.GetValueOrDefault(); }
set { this._multiAZ = value; }
}
// Check to see if MultiAZ property is set
internal bool IsSetMultiAZ()
{
return this._multiAZ.HasValue;
}
///
/// Gets and sets the property PendingCloudwatchLogsExports.
///
/// This PendingCloudwatchLogsExports
structure specifies pending changes
/// to which CloudWatch logs are enabled and which are disabled.
///
///
public PendingCloudwatchLogsExports PendingCloudwatchLogsExports
{
get { return this._pendingCloudwatchLogsExports; }
set { this._pendingCloudwatchLogsExports = value; }
}
// Check to see if PendingCloudwatchLogsExports property is set
internal bool IsSetPendingCloudwatchLogsExports()
{
return this._pendingCloudwatchLogsExports != null;
}
///
/// Gets and sets the property Port.
///
/// Specifies the pending port for the DB instance.
///
///
public int Port
{
get { return this._port.GetValueOrDefault(); }
set { this._port = value; }
}
// Check to see if Port property is set
internal bool IsSetPort()
{
return this._port.HasValue;
}
///
/// Gets and sets the property StorageType.
///
/// Specifies the storage type to be associated with the DB instance.
///
///
public string StorageType
{
get { return this._storageType; }
set { this._storageType = value; }
}
// Check to see if StorageType property is set
internal bool IsSetStorageType()
{
return this._storageType != null;
}
}
}