/* * 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 mgn-2020-02-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.Mgn.Model { /// /// This is the response object from the UpdateReplicationConfiguration operation. /// public partial class UpdateReplicationConfigurationResponse : AmazonWebServiceResponse { private bool? _associateDefaultSecurityGroup; private long? _bandwidthThrottling; private bool? _createPublicIP; private ReplicationConfigurationDataPlaneRouting _dataPlaneRouting; private ReplicationConfigurationDefaultLargeStagingDiskType _defaultLargeStagingDiskType; private ReplicationConfigurationEbsEncryption _ebsEncryption; private string _ebsEncryptionKeyArn; private string _name; private List _replicatedDisks = new List(); private string _replicationServerInstanceType; private List _replicationServersSecurityGroupsIDs = new List(); private string _sourceServerID; private string _stagingAreaSubnetId; private Dictionary _stagingAreaTags = new Dictionary(); private bool? _useDedicatedReplicationServer; private bool? _useFipsEndpoint; /// /// Gets and sets the property AssociateDefaultSecurityGroup. /// /// Replication Configuration associate default Application Migration Service Security /// Group. /// /// public bool AssociateDefaultSecurityGroup { get { return this._associateDefaultSecurityGroup.GetValueOrDefault(); } set { this._associateDefaultSecurityGroup = value; } } // Check to see if AssociateDefaultSecurityGroup property is set internal bool IsSetAssociateDefaultSecurityGroup() { return this._associateDefaultSecurityGroup.HasValue; } /// /// Gets and sets the property BandwidthThrottling. /// /// Replication Configuration set bandwidth throttling. /// /// [AWSProperty(Min=0, Max=10000)] public long BandwidthThrottling { get { return this._bandwidthThrottling.GetValueOrDefault(); } set { this._bandwidthThrottling = value; } } // Check to see if BandwidthThrottling property is set internal bool IsSetBandwidthThrottling() { return this._bandwidthThrottling.HasValue; } /// /// Gets and sets the property CreatePublicIP. /// /// Replication Configuration create Public IP. /// /// public bool CreatePublicIP { get { return this._createPublicIP.GetValueOrDefault(); } set { this._createPublicIP = value; } } // Check to see if CreatePublicIP property is set internal bool IsSetCreatePublicIP() { return this._createPublicIP.HasValue; } /// /// Gets and sets the property DataPlaneRouting. /// /// Replication Configuration data plane routing. /// /// public ReplicationConfigurationDataPlaneRouting DataPlaneRouting { get { return this._dataPlaneRouting; } set { this._dataPlaneRouting = value; } } // Check to see if DataPlaneRouting property is set internal bool IsSetDataPlaneRouting() { return this._dataPlaneRouting != null; } /// /// Gets and sets the property DefaultLargeStagingDiskType. /// /// Replication Configuration use default large Staging Disks. /// /// public ReplicationConfigurationDefaultLargeStagingDiskType DefaultLargeStagingDiskType { get { return this._defaultLargeStagingDiskType; } set { this._defaultLargeStagingDiskType = value; } } // Check to see if DefaultLargeStagingDiskType property is set internal bool IsSetDefaultLargeStagingDiskType() { return this._defaultLargeStagingDiskType != null; } /// /// Gets and sets the property EbsEncryption. /// /// Replication Configuration EBS encryption. /// /// public ReplicationConfigurationEbsEncryption EbsEncryption { get { return this._ebsEncryption; } set { this._ebsEncryption = value; } } // Check to see if EbsEncryption property is set internal bool IsSetEbsEncryption() { return this._ebsEncryption != null; } /// /// Gets and sets the property EbsEncryptionKeyArn. /// /// Replication Configuration EBS encryption key ARN. /// /// [AWSProperty(Min=20, Max=2048)] public string EbsEncryptionKeyArn { get { return this._ebsEncryptionKeyArn; } set { this._ebsEncryptionKeyArn = value; } } // Check to see if EbsEncryptionKeyArn property is set internal bool IsSetEbsEncryptionKeyArn() { return this._ebsEncryptionKeyArn != null; } /// /// Gets and sets the property Name. /// /// Replication Configuration name. /// /// [AWSProperty(Min=0, Max=128)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// /// Gets and sets the property ReplicatedDisks. /// /// Replication Configuration replicated disks. /// /// [AWSProperty(Min=0, Max=60)] public List ReplicatedDisks { get { return this._replicatedDisks; } set { this._replicatedDisks = value; } } // Check to see if ReplicatedDisks property is set internal bool IsSetReplicatedDisks() { return this._replicatedDisks != null && this._replicatedDisks.Count > 0; } /// /// Gets and sets the property ReplicationServerInstanceType. /// /// Replication Configuration Replication Server instance type. /// /// [AWSProperty(Min=0, Max=255)] public string ReplicationServerInstanceType { get { return this._replicationServerInstanceType; } set { this._replicationServerInstanceType = value; } } // Check to see if ReplicationServerInstanceType property is set internal bool IsSetReplicationServerInstanceType() { return this._replicationServerInstanceType != null; } /// /// Gets and sets the property ReplicationServersSecurityGroupsIDs. /// /// Replication Configuration Replication Server Security Group IDs. /// /// [AWSProperty(Min=0, Max=32)] public List ReplicationServersSecurityGroupsIDs { get { return this._replicationServersSecurityGroupsIDs; } set { this._replicationServersSecurityGroupsIDs = value; } } // Check to see if ReplicationServersSecurityGroupsIDs property is set internal bool IsSetReplicationServersSecurityGroupsIDs() { return this._replicationServersSecurityGroupsIDs != null && this._replicationServersSecurityGroupsIDs.Count > 0; } /// /// Gets and sets the property SourceServerID. /// /// Replication Configuration Source Server ID. /// /// [AWSProperty(Min=19, Max=19)] public string SourceServerID { get { return this._sourceServerID; } set { this._sourceServerID = value; } } // Check to see if SourceServerID property is set internal bool IsSetSourceServerID() { return this._sourceServerID != null; } /// /// Gets and sets the property StagingAreaSubnetId. /// /// Replication Configuration Staging Area subnet ID. /// /// [AWSProperty(Min=0, Max=255)] public string StagingAreaSubnetId { get { return this._stagingAreaSubnetId; } set { this._stagingAreaSubnetId = value; } } // Check to see if StagingAreaSubnetId property is set internal bool IsSetStagingAreaSubnetId() { return this._stagingAreaSubnetId != null; } /// /// Gets and sets the property StagingAreaTags. /// /// Replication Configuration Staging Area tags. /// /// [AWSProperty(Sensitive=true, Min=0, Max=50)] public Dictionary StagingAreaTags { get { return this._stagingAreaTags; } set { this._stagingAreaTags = value; } } // Check to see if StagingAreaTags property is set internal bool IsSetStagingAreaTags() { return this._stagingAreaTags != null && this._stagingAreaTags.Count > 0; } /// /// Gets and sets the property UseDedicatedReplicationServer. /// /// Replication Configuration use Dedicated Replication Server. /// /// public bool UseDedicatedReplicationServer { get { return this._useDedicatedReplicationServer.GetValueOrDefault(); } set { this._useDedicatedReplicationServer = value; } } // Check to see if UseDedicatedReplicationServer property is set internal bool IsSetUseDedicatedReplicationServer() { return this._useDedicatedReplicationServer.HasValue; } /// /// Gets and sets the property UseFipsEndpoint. /// /// Replication Configuration use Fips Endpoint. /// /// public bool UseFipsEndpoint { get { return this._useFipsEndpoint.GetValueOrDefault(); } set { this._useFipsEndpoint = value; } } // Check to see if UseFipsEndpoint property is set internal bool IsSetUseFipsEndpoint() { return this._useFipsEndpoint.HasValue; } } }