/* * 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 greengrass-2017-06-07.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.Greengrass.Model { /// /// This is the response object from the GetDeploymentStatus operation. /// public partial class GetDeploymentStatusResponse : AmazonWebServiceResponse { private string _deploymentStatus; private DeploymentType _deploymentType; private List _errorDetails = new List(); private string _errorMessage; private string _updatedAt; /// /// Gets and sets the property DeploymentStatus. The status of the deployment: ''InProgress'', /// ''Building'', ''Success'', or ''Failure''. /// public string DeploymentStatus { get { return this._deploymentStatus; } set { this._deploymentStatus = value; } } // Check to see if DeploymentStatus property is set internal bool IsSetDeploymentStatus() { return this._deploymentStatus != null; } /// /// Gets and sets the property DeploymentType. The type of the deployment. /// public DeploymentType DeploymentType { get { return this._deploymentType; } set { this._deploymentType = value; } } // Check to see if DeploymentType property is set internal bool IsSetDeploymentType() { return this._deploymentType != null; } /// /// Gets and sets the property ErrorDetails. Error details /// public List ErrorDetails { get { return this._errorDetails; } set { this._errorDetails = value; } } // Check to see if ErrorDetails property is set internal bool IsSetErrorDetails() { return this._errorDetails != null && this._errorDetails.Count > 0; } /// /// Gets and sets the property ErrorMessage. Error message /// public string ErrorMessage { get { return this._errorMessage; } set { this._errorMessage = value; } } // Check to see if ErrorMessage property is set internal bool IsSetErrorMessage() { return this._errorMessage != null; } /// /// Gets and sets the property UpdatedAt. The time, in milliseconds since the epoch, when /// the deployment status was updated. /// public string UpdatedAt { get { return this._updatedAt; } set { this._updatedAt = value; } } // Check to see if UpdatedAt property is set internal bool IsSetUpdatedAt() { return this._updatedAt != null; } } }