/* * 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 { /// /// Information about provisioning resources for an DMS serverless replication. /// public partial class ProvisionData { private DateTime? _dateNewProvisioningDataAvailable; private DateTime? _dateProvisioned; private bool? _isNewProvisioningAvailable; private int? _provisionedCapacityUnits; private string _provisionState; private string _reasonForNewProvisioningData; /// /// Gets and sets the property DateNewProvisioningDataAvailable. /// /// The timestamp when provisioning became available. /// /// public DateTime DateNewProvisioningDataAvailable { get { return this._dateNewProvisioningDataAvailable.GetValueOrDefault(); } set { this._dateNewProvisioningDataAvailable = value; } } // Check to see if DateNewProvisioningDataAvailable property is set internal bool IsSetDateNewProvisioningDataAvailable() { return this._dateNewProvisioningDataAvailable.HasValue; } /// /// Gets and sets the property DateProvisioned. /// /// The timestamp when DMS provisioned replication resources. /// /// public DateTime DateProvisioned { get { return this._dateProvisioned.GetValueOrDefault(); } set { this._dateProvisioned = value; } } // Check to see if DateProvisioned property is set internal bool IsSetDateProvisioned() { return this._dateProvisioned.HasValue; } /// /// Gets and sets the property IsNewProvisioningAvailable. /// /// Whether the new provisioning is available to the replication. /// /// public bool IsNewProvisioningAvailable { get { return this._isNewProvisioningAvailable.GetValueOrDefault(); } set { this._isNewProvisioningAvailable = value; } } // Check to see if IsNewProvisioningAvailable property is set internal bool IsSetIsNewProvisioningAvailable() { return this._isNewProvisioningAvailable.HasValue; } /// /// Gets and sets the property ProvisionedCapacityUnits. /// /// The number of capacity units the replication is using. /// /// public int ProvisionedCapacityUnits { get { return this._provisionedCapacityUnits.GetValueOrDefault(); } set { this._provisionedCapacityUnits = value; } } // Check to see if ProvisionedCapacityUnits property is set internal bool IsSetProvisionedCapacityUnits() { return this._provisionedCapacityUnits.HasValue; } /// /// Gets and sets the property ProvisionState. /// /// The current provisioning state /// /// public string ProvisionState { get { return this._provisionState; } set { this._provisionState = value; } } // Check to see if ProvisionState property is set internal bool IsSetProvisionState() { return this._provisionState != null; } /// /// Gets and sets the property ReasonForNewProvisioningData. /// /// A message describing the reason that DMS provisioned new resources for the serverless /// replication. /// /// public string ReasonForNewProvisioningData { get { return this._reasonForNewProvisioningData; } set { this._reasonForNewProvisioningData = value; } } // Check to see if ReasonForNewProvisioningData property is set internal bool IsSetReasonForNewProvisioningData() { return this._reasonForNewProvisioningData != null; } } }