/* * 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 transfer-2018-11-05.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.Transfer.Model { /// /// Describes the properties of the specified workflow /// public partial class DescribedWorkflow { private string _arn; private string _description; private List _onExceptionSteps = new List(); private List _steps = new List(); private List _tags = new List(); private string _workflowId; /// /// Gets and sets the property Arn. /// /// Specifies the unique Amazon Resource Name (ARN) for the workflow. /// /// [AWSProperty(Required=true, Min=20, Max=1600)] public string Arn { get { return this._arn; } set { this._arn = value; } } // Check to see if Arn property is set internal bool IsSetArn() { return this._arn != null; } /// /// Gets and sets the property Description. /// /// Specifies the text description for the workflow. /// /// [AWSProperty(Max=256)] public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// /// Gets and sets the property OnExceptionSteps. /// /// Specifies the steps (actions) to take if errors are encountered during execution of /// the workflow. /// /// [AWSProperty(Max=8)] public List OnExceptionSteps { get { return this._onExceptionSteps; } set { this._onExceptionSteps = value; } } // Check to see if OnExceptionSteps property is set internal bool IsSetOnExceptionSteps() { return this._onExceptionSteps != null && this._onExceptionSteps.Count > 0; } /// /// Gets and sets the property Steps. /// /// Specifies the details for the steps that are in the specified workflow. /// /// [AWSProperty(Max=8)] public List Steps { get { return this._steps; } set { this._steps = value; } } // Check to see if Steps property is set internal bool IsSetSteps() { return this._steps != null && this._steps.Count > 0; } /// /// Gets and sets the property Tags. /// /// Key-value pairs that can be used to group and search for workflows. Tags are metadata /// attached to workflows for any purpose. /// /// [AWSProperty(Min=1, Max=50)] public List Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } /// /// Gets and sets the property WorkflowId. /// /// A unique identifier for the workflow. /// /// [AWSProperty(Min=19, Max=19)] public string WorkflowId { get { return this._workflowId; } set { this._workflowId = value; } } // Check to see if WorkflowId property is set internal bool IsSetWorkflowId() { return this._workflowId != null; } } }