/* * 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 migrationhubstrategy-2020-02-19.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.MigrationHubStrategyRecommendations.Model { /// /// Detailed information about an assessment. /// public partial class DataCollectionDetails { private DateTime? _completionTime; private int? _failed; private int? _inProgress; private int? _servers; private DateTime? _startTime; private AssessmentStatus _status; private string _statusMessage; private int? _success; /// /// Gets and sets the property CompletionTime. /// /// The time the assessment completes. /// /// public DateTime CompletionTime { get { return this._completionTime.GetValueOrDefault(); } set { this._completionTime = value; } } // Check to see if CompletionTime property is set internal bool IsSetCompletionTime() { return this._completionTime.HasValue; } /// /// Gets and sets the property Failed. /// /// The number of failed servers in the assessment. /// /// public int Failed { get { return this._failed.GetValueOrDefault(); } set { this._failed = value; } } // Check to see if Failed property is set internal bool IsSetFailed() { return this._failed.HasValue; } /// /// Gets and sets the property InProgress. /// /// The number of servers with the assessment status IN_PROGESS. /// /// public int InProgress { get { return this._inProgress.GetValueOrDefault(); } set { this._inProgress = value; } } // Check to see if InProgress property is set internal bool IsSetInProgress() { return this._inProgress.HasValue; } /// /// Gets and sets the property Servers. /// /// The total number of servers in the assessment. /// /// public int Servers { get { return this._servers.GetValueOrDefault(); } set { this._servers = value; } } // Check to see if Servers property is set internal bool IsSetServers() { return this._servers.HasValue; } /// /// Gets and sets the property StartTime. /// /// The start time of assessment. /// /// public DateTime StartTime { get { return this._startTime.GetValueOrDefault(); } set { this._startTime = value; } } // Check to see if StartTime property is set internal bool IsSetStartTime() { return this._startTime.HasValue; } /// /// Gets and sets the property Status. /// /// The status of the assessment. /// /// public AssessmentStatus Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } /// /// Gets and sets the property StatusMessage. /// /// The status message of the assessment. /// /// [AWSProperty(Min=0, Max=512)] public string StatusMessage { get { return this._statusMessage; } set { this._statusMessage = value; } } // Check to see if StatusMessage property is set internal bool IsSetStatusMessage() { return this._statusMessage != null; } /// /// Gets and sets the property Success. /// /// The number of successful servers in the assessment. /// /// public int Success { get { return this._success.GetValueOrDefault(); } set { this._success = value; } } // Check to see if Success property is set internal bool IsSetSuccess() { return this._success.HasValue; } } }