/* * 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 { /// /// Contains a list of available options for a DB instance. /// /// /// /// This data type is used as a response element in the DescribeOrderableDBInstanceOptions /// action. /// /// public partial class OrderableDBInstanceOption { private string _availabilityZoneGroup; private List _availabilityZones = new List(); private List _availableProcessorFeatures = new List(); private string _dbInstanceClass; private string _engine; private string _engineVersion; private string _licenseModel; private int? _maxIopsPerDbInstance; private double? _maxIopsPerGib; private int? _maxStorageSize; private int? _maxStorageThroughputPerDbInstance; private double? _maxStorageThroughputPerIops; private int? _minIopsPerDbInstance; private double? _minIopsPerGib; private int? _minStorageSize; private int? _minStorageThroughputPerDbInstance; private double? _minStorageThroughputPerIops; private bool? _multiAZCapable; private bool? _outpostCapable; private bool? _readReplicaCapable; private string _storageType; private List _supportedActivityStreamModes = new List(); private List _supportedEngineModes = new List(); private List _supportedNetworkTypes = new List(); private bool? _supportsClusters; private bool? _supportsEnhancedMonitoring; private bool? _supportsGlobalDatabases; private bool? _supportsIAMDatabaseAuthentication; private bool? _supportsIops; private bool? _supportsKerberosAuthentication; private bool? _supportsPerformanceInsights; private bool? _supportsStorageAutoscaling; private bool? _supportsStorageEncryption; private bool? _supportsStorageThroughput; private bool? _vpc; /// /// Gets and sets the property AvailabilityZoneGroup. /// /// The Availability Zone group for a DB instance. /// /// public string AvailabilityZoneGroup { get { return this._availabilityZoneGroup; } set { this._availabilityZoneGroup = value; } } // Check to see if AvailabilityZoneGroup property is set internal bool IsSetAvailabilityZoneGroup() { return this._availabilityZoneGroup != null; } /// /// Gets and sets the property AvailabilityZones. /// /// A list of Availability Zones for a DB instance. /// /// public List AvailabilityZones { get { return this._availabilityZones; } set { this._availabilityZones = value; } } // Check to see if AvailabilityZones property is set internal bool IsSetAvailabilityZones() { return this._availabilityZones != null && this._availabilityZones.Count > 0; } /// /// Gets and sets the property AvailableProcessorFeatures. /// /// A list of the available processor features for the DB instance class of a DB instance. /// /// public List AvailableProcessorFeatures { get { return this._availableProcessorFeatures; } set { this._availableProcessorFeatures = value; } } // Check to see if AvailableProcessorFeatures property is set internal bool IsSetAvailableProcessorFeatures() { return this._availableProcessorFeatures != null && this._availableProcessorFeatures.Count > 0; } /// /// Gets and sets the property DBInstanceClass. /// /// The DB instance class for a 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 Engine. /// /// The engine type of a DB instance. /// /// 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 engine version of a 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 LicenseModel. /// /// The license model for a 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 MaxIopsPerDbInstance. /// /// Maximum total provisioned IOPS for a DB instance. /// /// public int MaxIopsPerDbInstance { get { return this._maxIopsPerDbInstance.GetValueOrDefault(); } set { this._maxIopsPerDbInstance = value; } } // Check to see if MaxIopsPerDbInstance property is set internal bool IsSetMaxIopsPerDbInstance() { return this._maxIopsPerDbInstance.HasValue; } /// /// Gets and sets the property MaxIopsPerGib. /// /// Maximum provisioned IOPS per GiB for a DB instance. /// /// public double MaxIopsPerGib { get { return this._maxIopsPerGib.GetValueOrDefault(); } set { this._maxIopsPerGib = value; } } // Check to see if MaxIopsPerGib property is set internal bool IsSetMaxIopsPerGib() { return this._maxIopsPerGib.HasValue; } /// /// Gets and sets the property MaxStorageSize. /// /// Maximum storage size for a DB instance. /// /// public int MaxStorageSize { get { return this._maxStorageSize.GetValueOrDefault(); } set { this._maxStorageSize = value; } } // Check to see if MaxStorageSize property is set internal bool IsSetMaxStorageSize() { return this._maxStorageSize.HasValue; } /// /// Gets and sets the property MaxStorageThroughputPerDbInstance. /// /// Maximum storage throughput for a DB instance. /// /// public int MaxStorageThroughputPerDbInstance { get { return this._maxStorageThroughputPerDbInstance.GetValueOrDefault(); } set { this._maxStorageThroughputPerDbInstance = value; } } // Check to see if MaxStorageThroughputPerDbInstance property is set internal bool IsSetMaxStorageThroughputPerDbInstance() { return this._maxStorageThroughputPerDbInstance.HasValue; } /// /// Gets and sets the property MaxStorageThroughputPerIops. /// /// Maximum storage throughput to provisioned IOPS ratio for a DB instance. /// /// public double MaxStorageThroughputPerIops { get { return this._maxStorageThroughputPerIops.GetValueOrDefault(); } set { this._maxStorageThroughputPerIops = value; } } // Check to see if MaxStorageThroughputPerIops property is set internal bool IsSetMaxStorageThroughputPerIops() { return this._maxStorageThroughputPerIops.HasValue; } /// /// Gets and sets the property MinIopsPerDbInstance. /// /// Minimum total provisioned IOPS for a DB instance. /// /// public int MinIopsPerDbInstance { get { return this._minIopsPerDbInstance.GetValueOrDefault(); } set { this._minIopsPerDbInstance = value; } } // Check to see if MinIopsPerDbInstance property is set internal bool IsSetMinIopsPerDbInstance() { return this._minIopsPerDbInstance.HasValue; } /// /// Gets and sets the property MinIopsPerGib. /// /// Minimum provisioned IOPS per GiB for a DB instance. /// /// public double MinIopsPerGib { get { return this._minIopsPerGib.GetValueOrDefault(); } set { this._minIopsPerGib = value; } } // Check to see if MinIopsPerGib property is set internal bool IsSetMinIopsPerGib() { return this._minIopsPerGib.HasValue; } /// /// Gets and sets the property MinStorageSize. /// /// Minimum storage size for a DB instance. /// /// public int MinStorageSize { get { return this._minStorageSize.GetValueOrDefault(); } set { this._minStorageSize = value; } } // Check to see if MinStorageSize property is set internal bool IsSetMinStorageSize() { return this._minStorageSize.HasValue; } /// /// Gets and sets the property MinStorageThroughputPerDbInstance. /// /// Minimum storage throughput for a DB instance. /// /// public int MinStorageThroughputPerDbInstance { get { return this._minStorageThroughputPerDbInstance.GetValueOrDefault(); } set { this._minStorageThroughputPerDbInstance = value; } } // Check to see if MinStorageThroughputPerDbInstance property is set internal bool IsSetMinStorageThroughputPerDbInstance() { return this._minStorageThroughputPerDbInstance.HasValue; } /// /// Gets and sets the property MinStorageThroughputPerIops. /// /// Minimum storage throughput to provisioned IOPS ratio for a DB instance. /// /// public double MinStorageThroughputPerIops { get { return this._minStorageThroughputPerIops.GetValueOrDefault(); } set { this._minStorageThroughputPerIops = value; } } // Check to see if MinStorageThroughputPerIops property is set internal bool IsSetMinStorageThroughputPerIops() { return this._minStorageThroughputPerIops.HasValue; } /// /// Gets and sets the property MultiAZCapable. /// /// Indicates whether a DB instance is Multi-AZ capable. /// /// public bool MultiAZCapable { get { return this._multiAZCapable.GetValueOrDefault(); } set { this._multiAZCapable = value; } } // Check to see if MultiAZCapable property is set internal bool IsSetMultiAZCapable() { return this._multiAZCapable.HasValue; } /// /// Gets and sets the property OutpostCapable. /// /// Whether a DB instance supports RDS on Outposts. /// /// /// /// For more information about RDS on Outposts, see Amazon /// RDS on Amazon Web Services Outposts in the Amazon RDS User Guide. /// /// public bool OutpostCapable { get { return this._outpostCapable.GetValueOrDefault(); } set { this._outpostCapable = value; } } // Check to see if OutpostCapable property is set internal bool IsSetOutpostCapable() { return this._outpostCapable.HasValue; } /// /// Gets and sets the property ReadReplicaCapable. /// /// Indicates whether a DB instance can have a read replica. /// /// public bool ReadReplicaCapable { get { return this._readReplicaCapable.GetValueOrDefault(); } set { this._readReplicaCapable = value; } } // Check to see if ReadReplicaCapable property is set internal bool IsSetReadReplicaCapable() { return this._readReplicaCapable.HasValue; } /// /// Gets and sets the property StorageType. /// /// Indicates the storage type for a 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; } /// /// Gets and sets the property SupportedActivityStreamModes. /// /// The list of supported modes for Database Activity Streams. Aurora PostgreSQL returns /// the value [sync, async]. Aurora MySQL and RDS for Oracle return [async] /// only. If Database Activity Streams isn't supported, the return value is an empty list. /// /// public List SupportedActivityStreamModes { get { return this._supportedActivityStreamModes; } set { this._supportedActivityStreamModes = value; } } // Check to see if SupportedActivityStreamModes property is set internal bool IsSetSupportedActivityStreamModes() { return this._supportedActivityStreamModes != null && this._supportedActivityStreamModes.Count > 0; } /// /// Gets and sets the property SupportedEngineModes. /// /// A list of the supported DB engine modes. /// /// 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 SupportedNetworkTypes. /// /// The network types supported by the DB instance (IPV4 or DUAL). /// /// /// /// A DB instance can support only the IPv4 protocol or the IPv4 and the IPv6 protocols /// (DUAL). /// /// /// /// For more information, see /// Working with a DB instance in a VPC in the Amazon RDS User Guide. /// /// public List SupportedNetworkTypes { get { return this._supportedNetworkTypes; } set { this._supportedNetworkTypes = value; } } // Check to see if SupportedNetworkTypes property is set internal bool IsSetSupportedNetworkTypes() { return this._supportedNetworkTypes != null && this._supportedNetworkTypes.Count > 0; } /// /// Gets and sets the property SupportsClusters. /// /// Whether DB instances can be configured as a Multi-AZ DB cluster. /// /// /// /// For more information on Multi-AZ DB clusters, see /// Multi-AZ deployments with two readable standby DB instances in the Amazon RDS /// User Guide. /// /// public bool SupportsClusters { get { return this._supportsClusters.GetValueOrDefault(); } set { this._supportsClusters = value; } } // Check to see if SupportsClusters property is set internal bool IsSetSupportsClusters() { return this._supportsClusters.HasValue; } /// /// Gets and sets the property SupportsEnhancedMonitoring. /// /// Indicates whether a DB instance supports Enhanced Monitoring at intervals from 1 to /// 60 seconds. /// /// public bool SupportsEnhancedMonitoring { get { return this._supportsEnhancedMonitoring.GetValueOrDefault(); } set { this._supportsEnhancedMonitoring = value; } } // Check to see if SupportsEnhancedMonitoring property is set internal bool IsSetSupportsEnhancedMonitoring() { return this._supportsEnhancedMonitoring.HasValue; } /// /// Gets and sets the property SupportsGlobalDatabases. /// /// A value that indicates whether you can use Aurora global databases with a specific /// combination of other DB engine attributes. /// /// 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 SupportsIAMDatabaseAuthentication. /// /// Indicates whether a DB instance supports IAM database authentication. /// /// public bool SupportsIAMDatabaseAuthentication { get { return this._supportsIAMDatabaseAuthentication.GetValueOrDefault(); } set { this._supportsIAMDatabaseAuthentication = value; } } // Check to see if SupportsIAMDatabaseAuthentication property is set internal bool IsSetSupportsIAMDatabaseAuthentication() { return this._supportsIAMDatabaseAuthentication.HasValue; } /// /// Gets and sets the property SupportsIops. /// /// Indicates whether a DB instance supports provisioned IOPS. /// /// public bool SupportsIops { get { return this._supportsIops.GetValueOrDefault(); } set { this._supportsIops = value; } } // Check to see if SupportsIops property is set internal bool IsSetSupportsIops() { return this._supportsIops.HasValue; } /// /// Gets and sets the property SupportsKerberosAuthentication. /// /// Whether a DB instance supports Kerberos Authentication. /// /// public bool SupportsKerberosAuthentication { get { return this._supportsKerberosAuthentication.GetValueOrDefault(); } set { this._supportsKerberosAuthentication = value; } } // Check to see if SupportsKerberosAuthentication property is set internal bool IsSetSupportsKerberosAuthentication() { return this._supportsKerberosAuthentication.HasValue; } /// /// Gets and sets the property SupportsPerformanceInsights. /// /// True if a DB instance supports Performance Insights, otherwise false. /// /// public bool SupportsPerformanceInsights { get { return this._supportsPerformanceInsights.GetValueOrDefault(); } set { this._supportsPerformanceInsights = value; } } // Check to see if SupportsPerformanceInsights property is set internal bool IsSetSupportsPerformanceInsights() { return this._supportsPerformanceInsights.HasValue; } /// /// Gets and sets the property SupportsStorageAutoscaling. /// /// Whether Amazon RDS can automatically scale storage for DB instances that use the specified /// DB instance class. /// /// public bool SupportsStorageAutoscaling { get { return this._supportsStorageAutoscaling.GetValueOrDefault(); } set { this._supportsStorageAutoscaling = value; } } // Check to see if SupportsStorageAutoscaling property is set internal bool IsSetSupportsStorageAutoscaling() { return this._supportsStorageAutoscaling.HasValue; } /// /// Gets and sets the property SupportsStorageEncryption. /// /// Indicates whether a DB instance supports encrypted storage. /// /// public bool SupportsStorageEncryption { get { return this._supportsStorageEncryption.GetValueOrDefault(); } set { this._supportsStorageEncryption = value; } } // Check to see if SupportsStorageEncryption property is set internal bool IsSetSupportsStorageEncryption() { return this._supportsStorageEncryption.HasValue; } /// /// Gets and sets the property SupportsStorageThroughput. /// /// Indicates whether a DB instance supports storage throughput. /// /// public bool SupportsStorageThroughput { get { return this._supportsStorageThroughput.GetValueOrDefault(); } set { this._supportsStorageThroughput = value; } } // Check to see if SupportsStorageThroughput property is set internal bool IsSetSupportsStorageThroughput() { return this._supportsStorageThroughput.HasValue; } /// /// Gets and sets the property Vpc. /// /// Indicates whether a DB instance is in a VPC. /// /// public bool Vpc { get { return this._vpc.GetValueOrDefault(); } set { this._vpc = value; } } // Check to see if Vpc property is set internal bool IsSetVpc() { return this._vpc.HasValue; } } }