/* * 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 DecryptStepDetails { private InputFileLocation _destinationFileLocation; private string _name; private OverwriteExisting _overwriteExisting; private string _sourceFileLocation; private EncryptionType _type; /// /// Gets and sets the property DestinationFileLocation. /// /// Specifies the location for the file being decrypted. Use ${Transfer:UserName} /// or ${Transfer:UploadDate} in this field to parametrize the destination /// prefix by username or uploaded date. /// /// /// [AWSProperty(Required=true)] public InputFileLocation DestinationFileLocation { get { return this._destinationFileLocation; } set { this._destinationFileLocation = value; } } // Check to see if DestinationFileLocation property is set internal bool IsSetDestinationFileLocation() { return this._destinationFileLocation != null; } /// /// 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 OverwriteExisting. /// /// A flag that indicates whether to overwrite an existing file of the same name. The /// default is FALSE. /// /// /// /// If the workflow is processing a file that has the same name as an existing file, the /// behavior is as follows: /// /// /// public OverwriteExisting OverwriteExisting { get { return this._overwriteExisting; } set { this._overwriteExisting = value; } } // Check to see if OverwriteExisting property is set internal bool IsSetOverwriteExisting() { return this._overwriteExisting != 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 Type. /// /// The type of encryption used. Currently, this value must be PGP. /// /// [AWSProperty(Required=true)] public EncryptionType Type { get { return this._type; } set { this._type = value; } } // Check to see if Type property is set internal bool IsSetType() { return this._type != null; } } }