/* * 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 { /// /// Each step type has its own StepDetails structure. /// public partial class CustomStepDetails { private string _name; private string _sourceFileLocation; private string _target; private int? _timeoutSeconds; /// /// Gets and sets the property Name. /// /// The name of the step, used as an identifier. /// /// [AWSProperty(Max=30)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// /// Gets and sets the property SourceFileLocation. /// /// Specifies which file to use as input to the workflow step: either the output from /// the previous step, or the originally uploaded file for the workflow. /// /// /// [AWSProperty(Max=256)] public string SourceFileLocation { get { return this._sourceFileLocation; } set { this._sourceFileLocation = value; } } // Check to see if SourceFileLocation property is set internal bool IsSetSourceFileLocation() { return this._sourceFileLocation != null; } /// /// Gets and sets the property Target. /// /// The ARN for the Lambda function that is being called. /// /// [AWSProperty(Max=170)] public string Target { get { return this._target; } set { this._target = value; } } // Check to see if Target property is set internal bool IsSetTarget() { return this._target != null; } /// /// Gets and sets the property TimeoutSeconds. /// /// Timeout, in seconds, for the step. /// /// [AWSProperty(Min=1, Max=1800)] public int TimeoutSeconds { get { return this._timeoutSeconds.GetValueOrDefault(); } set { this._timeoutSeconds = value; } } // Check to see if TimeoutSeconds property is set internal bool IsSetTimeoutSeconds() { return this._timeoutSeconds.HasValue; } } }