/* * 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 datapipeline-2012-10-29.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.DataPipeline.Model { /// /// Contains information about a pipeline task that is assigned to a task runner. /// public partial class TaskObject { private string _attemptId; private Dictionary _objects = new Dictionary(); private string _pipelineId; private string _taskId; /// /// Gets and sets the property AttemptId. /// /// The ID of the pipeline task attempt object. AWS Data Pipeline uses this value to track /// how many times a task is attempted. /// /// [AWSProperty(Min=1, Max=1024)] public string AttemptId { get { return this._attemptId; } set { this._attemptId = value; } } // Check to see if AttemptId property is set internal bool IsSetAttemptId() { return this._attemptId != null; } /// /// Gets and sets the property Objects. /// /// Connection information for the location where the task runner will publish the output /// of the task. /// /// public Dictionary Objects { get { return this._objects; } set { this._objects = value; } } // Check to see if Objects property is set internal bool IsSetObjects() { return this._objects != null && this._objects.Count > 0; } /// /// Gets and sets the property PipelineId. /// /// The ID of the pipeline that provided the task. /// /// [AWSProperty(Min=1, Max=1024)] public string PipelineId { get { return this._pipelineId; } set { this._pipelineId = value; } } // Check to see if PipelineId property is set internal bool IsSetPipelineId() { return this._pipelineId != null; } /// /// Gets and sets the property TaskId. /// /// An internal identifier for the task. This ID is passed to the SetTaskStatus /// and ReportTaskProgress actions. /// /// [AWSProperty(Min=1, Max=2048)] 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; } } }