/* * 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 snow-device-management-2021-08-04.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.SnowDeviceManagement.Model { /// /// This is the response object from the DescribeExecution operation. /// public partial class DescribeExecutionResponse : AmazonWebServiceResponse { private string _executionId; private DateTime? _lastUpdatedAt; private string _managedDeviceId; private DateTime? _startedAt; private ExecutionState _state; private string _taskId; /// /// Gets and sets the property ExecutionId. /// /// The ID of the execution. /// /// [AWSProperty(Min=1, Max=64)] public string ExecutionId { get { return this._executionId; } set { this._executionId = value; } } // Check to see if ExecutionId property is set internal bool IsSetExecutionId() { return this._executionId != null; } /// /// Gets and sets the property LastUpdatedAt. /// /// When the status of the execution was last updated. /// /// public DateTime LastUpdatedAt { get { return this._lastUpdatedAt.GetValueOrDefault(); } set { this._lastUpdatedAt = value; } } // Check to see if LastUpdatedAt property is set internal bool IsSetLastUpdatedAt() { return this._lastUpdatedAt.HasValue; } /// /// Gets and sets the property ManagedDeviceId. /// /// The ID of the managed device that the task is being executed on. /// /// [AWSProperty(Min=1, Max=64)] public string ManagedDeviceId { get { return this._managedDeviceId; } set { this._managedDeviceId = value; } } // Check to see if ManagedDeviceId property is set internal bool IsSetManagedDeviceId() { return this._managedDeviceId != null; } /// /// Gets and sets the property StartedAt. /// /// When the execution began. /// /// public DateTime StartedAt { get { return this._startedAt.GetValueOrDefault(); } set { this._startedAt = value; } } // Check to see if StartedAt property is set internal bool IsSetStartedAt() { return this._startedAt.HasValue; } /// /// Gets and sets the property State. /// /// The current state of the execution. /// /// public ExecutionState State { get { return this._state; } set { this._state = value; } } // Check to see if State property is set internal bool IsSetState() { return this._state != null; } /// /// Gets and sets the property TaskId. /// /// The ID of the task being executed on the device. /// /// [AWSProperty(Min=1, Max=64)] public string TaskId { get { return this._taskId; } set { this._taskId = value; } } // Check to see if TaskId property is set internal bool IsSetTaskId() { return this._taskId != null; } } }