/* * 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 opsworks-2013-02-18.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.OpsWorks.Model { /// /// Describes a command. /// public partial class Command { private string _acknowledgedAt; private string _commandId; private string _completedAt; private string _createdAt; private string _deploymentId; private int? _exitCode; private string _instanceId; private string _logUrl; private string _status; private string _type; /// /// Gets and sets the property AcknowledgedAt. /// /// Date and time when the command was acknowledged. /// /// public string AcknowledgedAt { get { return this._acknowledgedAt; } set { this._acknowledgedAt = value; } } // Check to see if AcknowledgedAt property is set internal bool IsSetAcknowledgedAt() { return this._acknowledgedAt != null; } /// /// Gets and sets the property CommandId. /// /// The command ID. /// /// public string CommandId { get { return this._commandId; } set { this._commandId = value; } } // Check to see if CommandId property is set internal bool IsSetCommandId() { return this._commandId != null; } /// /// Gets and sets the property CompletedAt. /// /// Date when the command completed. /// /// public string CompletedAt { get { return this._completedAt; } set { this._completedAt = value; } } // Check to see if CompletedAt property is set internal bool IsSetCompletedAt() { return this._completedAt != null; } /// /// Gets and sets the property CreatedAt. /// /// Date and time when the command was run. /// /// 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 DeploymentId. /// /// The command deployment ID. /// /// 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 ExitCode. /// /// The command exit code. /// /// public int ExitCode { get { return this._exitCode.GetValueOrDefault(); } set { this._exitCode = value; } } // Check to see if ExitCode property is set internal bool IsSetExitCode() { return this._exitCode.HasValue; } /// /// Gets and sets the property InstanceId. /// /// The ID of the instance where the command was executed. /// /// public string InstanceId { get { return this._instanceId; } set { this._instanceId = value; } } // Check to see if InstanceId property is set internal bool IsSetInstanceId() { return this._instanceId != null; } /// /// Gets and sets the property LogUrl. /// /// The URL of the command log. /// /// public string LogUrl { get { return this._logUrl; } set { this._logUrl = value; } } // Check to see if LogUrl property is set internal bool IsSetLogUrl() { return this._logUrl != null; } /// /// Gets and sets the property Status. /// /// The command status: /// /// /// public string 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 Type. /// /// The command type: /// /// /// public string Type { get { return this._type; } set { this._type = value; } } // Check to see if Type property is set internal bool IsSetType() { return this._type != null; } } }