/* * 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 securityhub-2018-10-26.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.SecurityHub.Model { /// /// Changes to a DB instance that are currently pending. /// public partial class AwsRdsDbPendingModifiedValues { 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 AwsRdsPendingCloudWatchLogsExports _pendingCloudWatchLogsExports; private int? _port; private List _processorFeatures = new List(); private string _storageType; /// /// Gets and sets the property AllocatedStorage. /// /// The new value of the allocated storage for the DB instance. /// /// 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 new backup retention period for the DB instance. /// /// 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. /// /// The new CA certificate identifier 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. /// /// The new DB instance class for the DB instance. /// /// 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. /// /// The new DB instance identifier for the DB instance. /// /// 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 name of the new 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. /// /// The new engine version for the DB instance. /// /// 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. /// /// The new provisioned IOPS value for the DB instance. /// /// 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. /// /// The new license model value for the DB instance. /// /// 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. /// /// The new master user password for the DB instance. /// /// 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 a single Availability Zone DB instance is changing to a multiple Availability /// Zone 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. /// /// A list of log types that are being enabled or disabled. /// /// public AwsRdsPendingCloudWatchLogsExports 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. /// /// The new 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 ProcessorFeatures. /// /// Processor features that are being updated. /// /// public List ProcessorFeatures { get { return this._processorFeatures; } set { this._processorFeatures = value; } } // Check to see if ProcessorFeatures property is set internal bool IsSetProcessorFeatures() { return this._processorFeatures != null && this._processorFeatures.Count > 0; } /// /// Gets and sets the property StorageType. /// /// The new storage type for 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; } } }