/* * 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 tnb-2008-10-21.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.Tnb.Model { /// /// Gets the details of a network operation. /// /// /// /// A network operation is any operation that is done to your network, such as network /// instance instantiation or termination. /// /// public partial class GetSolNetworkOperationTaskDetails { private Dictionary _taskContext = new Dictionary(); private DateTime? _taskEndTime; private ErrorInfo _taskErrorDetails; private string _taskName; private DateTime? _taskStartTime; private TaskStatus _taskStatus; /// /// Gets and sets the property TaskContext. /// /// Context for the network operation task. /// /// public Dictionary TaskContext { get { return this._taskContext; } set { this._taskContext = value; } } // Check to see if TaskContext property is set internal bool IsSetTaskContext() { return this._taskContext != null && this._taskContext.Count > 0; } /// /// Gets and sets the property TaskEndTime. /// /// Task end time. /// /// public DateTime TaskEndTime { get { return this._taskEndTime.GetValueOrDefault(); } set { this._taskEndTime = value; } } // Check to see if TaskEndTime property is set internal bool IsSetTaskEndTime() { return this._taskEndTime.HasValue; } /// /// Gets and sets the property TaskErrorDetails. /// /// Task error details. /// /// public ErrorInfo TaskErrorDetails { get { return this._taskErrorDetails; } set { this._taskErrorDetails = value; } } // Check to see if TaskErrorDetails property is set internal bool IsSetTaskErrorDetails() { return this._taskErrorDetails != null; } /// /// Gets and sets the property TaskName. /// /// Task name. /// /// public string TaskName { get { return this._taskName; } set { this._taskName = value; } } // Check to see if TaskName property is set internal bool IsSetTaskName() { return this._taskName != null; } /// /// Gets and sets the property TaskStartTime. /// /// Task start time. /// /// public DateTime TaskStartTime { get { return this._taskStartTime.GetValueOrDefault(); } set { this._taskStartTime = value; } } // Check to see if TaskStartTime property is set internal bool IsSetTaskStartTime() { return this._taskStartTime.HasValue; } /// /// Gets and sets the property TaskStatus. /// /// Task status. /// /// public TaskStatus TaskStatus { get { return this._taskStatus; } set { this._taskStatus = value; } } // Check to see if TaskStatus property is set internal bool IsSetTaskStatus() { return this._taskStatus != null; } } }