/* * 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 robomaker-2018-06-29.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.RoboMaker.Model { /// /// Information about the progress of a deployment job. /// public partial class ProgressDetail { private RobotDeploymentStep _currentProgress; private int? _estimatedTimeRemainingSeconds; private float? _percentDone; private string _targetResource; /// /// Gets and sets the property CurrentProgress. /// /// The current progress status. /// ///
Validating
/// /// Validating the deployment. /// ///
DownloadingExtracting
/// /// Downloading and extracting the bundle on the robot. /// ///
ExecutingPreLaunch
/// /// Executing pre-launch script(s) if provided. /// ///
Launching
/// /// Launching the robot application. /// ///
ExecutingPostLaunch
/// /// Executing post-launch script(s) if provided. /// ///
Finished
/// /// Deployment is complete. /// ///
///
public RobotDeploymentStep CurrentProgress { get { return this._currentProgress; } set { this._currentProgress = value; } } // Check to see if CurrentProgress property is set internal bool IsSetCurrentProgress() { return this._currentProgress != null; } /// /// Gets and sets the property EstimatedTimeRemainingSeconds. /// /// Estimated amount of time in seconds remaining in the step. This currently only applies /// to the Downloading/Extracting step of the deployment. It is empty for /// other steps. /// /// public int EstimatedTimeRemainingSeconds { get { return this._estimatedTimeRemainingSeconds.GetValueOrDefault(); } set { this._estimatedTimeRemainingSeconds = value; } } // Check to see if EstimatedTimeRemainingSeconds property is set internal bool IsSetEstimatedTimeRemainingSeconds() { return this._estimatedTimeRemainingSeconds.HasValue; } /// /// Gets and sets the property PercentDone. /// /// Precentage of the step that is done. This currently only applies to the Downloading/Extracting /// step of the deployment. It is empty for other steps. /// /// [AWSProperty(Min=0, Max=100)] public float PercentDone { get { return this._percentDone.GetValueOrDefault(); } set { this._percentDone = value; } } // Check to see if PercentDone property is set internal bool IsSetPercentDone() { return this._percentDone.HasValue; } /// /// Gets and sets the property TargetResource. /// /// The Amazon Resource Name (ARN) of the deployment job. /// /// [AWSProperty(Min=0, Max=1024)] public string TargetResource { get { return this._targetResource; } set { this._targetResource = value; } } // Check to see if TargetResource property is set internal bool IsSetTargetResource() { return this._targetResource != null; } } }