/* * 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 { /// /// Information about an individual group deployment in a bulk deployment operation. /// public partial class BulkDeploymentResult { private string _createdAt; private string _deploymentArn; private string _deploymentId; private string _deploymentStatus; private DeploymentType _deploymentType; private List _errorDetails = new List(); private string _errorMessage; private string _groupArn; /// /// Gets and sets the property CreatedAt. The time, in ISO format, when the deployment /// was created. /// public string CreatedAt { get { return this._createdAt; } set { this._createdAt = value; } } // Check to see if CreatedAt property is set internal bool IsSetCreatedAt() { return this._createdAt != null; } /// /// Gets and sets the property DeploymentArn. The ARN of the group deployment. /// public string DeploymentArn { get { return this._deploymentArn; } set { this._deploymentArn = value; } } // Check to see if DeploymentArn property is set internal bool IsSetDeploymentArn() { return this._deploymentArn != null; } /// /// Gets and sets the property DeploymentId. The ID of the group deployment. /// public string DeploymentId { get { return this._deploymentId; } set { this._deploymentId = value; } } // Check to see if DeploymentId property is set internal bool IsSetDeploymentId() { return this._deploymentId != null; } /// /// Gets and sets the property DeploymentStatus. The current status of the group 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. Details about the error. /// 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. The error message for a failed deployment /// 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 GroupArn. The ARN of the Greengrass group. /// public string GroupArn { get { return this._groupArn; } set { this._groupArn = value; } } // Check to see if GroupArn property is set internal bool IsSetGroupArn() { return this._groupArn != null; } } }