/* * 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 dms-2016-01-01.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.DatabaseMigrationService.Model { /// /// In response to the DescribeOrderableReplicationInstances operation, this /// object describes an available replication instance. This description includes the /// replication instance's type, engine version, and allocated storage. /// public partial class OrderableReplicationInstance { private List _availabilityZones = new List(); private int? _defaultAllocatedStorage; private string _engineVersion; private int? _includedAllocatedStorage; private int? _maxAllocatedStorage; private int? _minAllocatedStorage; private ReleaseStatusValues _releaseStatus; private string _replicationInstanceClass; private string _storageType; /// /// Gets and sets the property AvailabilityZones. /// /// List of Availability Zones for this replication 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 DefaultAllocatedStorage. /// /// The default amount of storage (in gigabytes) that is allocated for the replication /// instance. /// /// public int DefaultAllocatedStorage { get { return this._defaultAllocatedStorage.GetValueOrDefault(); } set { this._defaultAllocatedStorage = value; } } // Check to see if DefaultAllocatedStorage property is set internal bool IsSetDefaultAllocatedStorage() { return this._defaultAllocatedStorage.HasValue; } /// /// Gets and sets the property EngineVersion. /// /// The version of the replication 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 IncludedAllocatedStorage. /// /// The amount of storage (in gigabytes) that is allocated for the replication instance. /// /// public int IncludedAllocatedStorage { get { return this._includedAllocatedStorage.GetValueOrDefault(); } set { this._includedAllocatedStorage = value; } } // Check to see if IncludedAllocatedStorage property is set internal bool IsSetIncludedAllocatedStorage() { return this._includedAllocatedStorage.HasValue; } /// /// Gets and sets the property MaxAllocatedStorage. /// /// The minimum amount of storage (in gigabytes) that can be allocated for the replication /// instance. /// /// public int MaxAllocatedStorage { get { return this._maxAllocatedStorage.GetValueOrDefault(); } set { this._maxAllocatedStorage = value; } } // Check to see if MaxAllocatedStorage property is set internal bool IsSetMaxAllocatedStorage() { return this._maxAllocatedStorage.HasValue; } /// /// Gets and sets the property MinAllocatedStorage. /// /// The minimum amount of storage (in gigabytes) that can be allocated for the replication /// instance. /// /// public int MinAllocatedStorage { get { return this._minAllocatedStorage.GetValueOrDefault(); } set { this._minAllocatedStorage = value; } } // Check to see if MinAllocatedStorage property is set internal bool IsSetMinAllocatedStorage() { return this._minAllocatedStorage.HasValue; } /// /// Gets and sets the property ReleaseStatus. /// /// The value returned when the specified EngineVersion of the replication /// instance is in Beta or test mode. This indicates some features might not work as expected. /// /// /// /// DMS supports the ReleaseStatus parameter in versions 3.1.4 and later. /// /// /// public ReleaseStatusValues ReleaseStatus { get { return this._releaseStatus; } set { this._releaseStatus = value; } } // Check to see if ReleaseStatus property is set internal bool IsSetReleaseStatus() { return this._releaseStatus != null; } /// /// Gets and sets the property ReplicationInstanceClass. /// /// The compute and memory capacity of the replication instance as defined for the specified /// replication instance class. For example to specify the instance class dms.c4.large, /// set this parameter to "dms.c4.large". /// /// /// /// For more information on the settings and capacities for the available replication /// instance classes, see /// Selecting the right DMS replication instance for your migration. /// /// public string ReplicationInstanceClass { get { return this._replicationInstanceClass; } set { this._replicationInstanceClass = value; } } // Check to see if ReplicationInstanceClass property is set internal bool IsSetReplicationInstanceClass() { return this._replicationInstanceClass != null; } /// /// Gets and sets the property StorageType. /// /// The type of storage used by the replication 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; } } }