/*
* 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
{
///
/// This data type is used as a response element in the ModifyDBCluster
operation
/// and contains changes that will be applied during the next maintenance window.
///
public partial class ClusterPendingModifiedValues
{
private int? _allocatedStorage;
private int? _backupRetentionPeriod;
private string _dbClusterIdentifier;
private string _engineVersion;
private bool? _iamDatabaseAuthenticationEnabled;
private int? _iops;
private string _masterUserPassword;
private PendingCloudwatchLogsExports _pendingCloudwatchLogsExports;
private string _storageType;
///
/// Gets and sets the property AllocatedStorage.
///
/// The allocated storage size in gibibytes (GiB) for all database engines except Amazon
/// Aurora. For Aurora, AllocatedStorage
always returns 1, because Aurora
/// DB cluster storage size isn't fixed, but instead automatically adjusts as needed.
///
///
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.
///
/// The number of days for which automatic DB snapshots 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 DBClusterIdentifier.
///
/// The DBClusterIdentifier value for the DB cluster.
///
///
public string DBClusterIdentifier
{
get { return this._dbClusterIdentifier; }
set { this._dbClusterIdentifier = value; }
}
// Check to see if DBClusterIdentifier property is set
internal bool IsSetDBClusterIdentifier()
{
return this._dbClusterIdentifier != null;
}
///
/// Gets and sets the property EngineVersion.
///
/// 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 IAMDatabaseAuthenticationEnabled.
///
/// A value that indicates whether mapping of Amazon Web Services Identity and Access
/// Management (IAM) accounts to database accounts is enabled.
///
///
public bool IAMDatabaseAuthenticationEnabled
{
get { return this._iamDatabaseAuthenticationEnabled.GetValueOrDefault(); }
set { this._iamDatabaseAuthenticationEnabled = value; }
}
// Check to see if IAMDatabaseAuthenticationEnabled property is set
internal bool IsSetIAMDatabaseAuthenticationEnabled()
{
return this._iamDatabaseAuthenticationEnabled.HasValue;
}
///
/// Gets and sets the property Iops.
///
/// The Provisioned IOPS (I/O operations per second) value. This setting is only for non-Aurora
/// Multi-AZ DB clusters.
///
///
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 MasterUserPassword.
///
/// The master credentials for the DB cluster.
///
///
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 PendingCloudwatchLogsExports.
///
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 StorageType.
///
/// The storage type for the DB cluster.
///
///
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;
}
}
}