/* * 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 { /// /// Provides information that describes the requirements to the target engine on Amazon /// RDS. /// public partial class RdsRequirements { private string _deploymentOption; private string _engineEdition; private string _engineVersion; private double? _instanceMemory; private double? _instanceVcpu; private int? _storageIops; private int? _storageSize; /// /// Gets and sets the property DeploymentOption. /// /// The required deployment option for the Amazon RDS DB instance. Valid values include /// "MULTI_AZ" for Multi-AZ deployments and "SINGLE_AZ" for /// Single-AZ deployments. /// /// public string DeploymentOption { get { return this._deploymentOption; } set { this._deploymentOption = value; } } // Check to see if DeploymentOption property is set internal bool IsSetDeploymentOption() { return this._deploymentOption != null; } /// /// Gets and sets the property EngineEdition. /// /// The required target Amazon RDS engine edition. /// /// public string EngineEdition { get { return this._engineEdition; } set { this._engineEdition = value; } } // Check to see if EngineEdition property is set internal bool IsSetEngineEdition() { return this._engineEdition != null; } /// /// Gets and sets the property EngineVersion. /// /// The required target Amazon RDS 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 InstanceMemory. /// /// The required memory on the Amazon RDS DB instance. /// /// public double InstanceMemory { get { return this._instanceMemory.GetValueOrDefault(); } set { this._instanceMemory = value; } } // Check to see if InstanceMemory property is set internal bool IsSetInstanceMemory() { return this._instanceMemory.HasValue; } /// /// Gets and sets the property InstanceVcpu. /// /// The required number of virtual CPUs (vCPU) on the Amazon RDS DB instance. /// /// public double InstanceVcpu { get { return this._instanceVcpu.GetValueOrDefault(); } set { this._instanceVcpu = value; } } // Check to see if InstanceVcpu property is set internal bool IsSetInstanceVcpu() { return this._instanceVcpu.HasValue; } /// /// Gets and sets the property StorageIops. /// /// The required number of I/O operations completed each second (IOPS) on your Amazon /// RDS DB instance. /// /// public int StorageIops { get { return this._storageIops.GetValueOrDefault(); } set { this._storageIops = value; } } // Check to see if StorageIops property is set internal bool IsSetStorageIops() { return this._storageIops.HasValue; } /// /// Gets and sets the property StorageSize. /// /// The required Amazon RDS DB instance storage size. /// /// public int StorageSize { get { return this._storageSize.GetValueOrDefault(); } set { this._storageSize = value; } } // Check to see if StorageSize property is set internal bool IsSetStorageSize() { return this._storageSize.HasValue; } } }