/* * 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 { /// /// The details for an execution object. /// public partial class DescribedExecution { private string _executionId; private string _executionRole; private FileLocation _initialFileLocation; private LoggingConfiguration _loggingConfiguration; private PosixProfile _posixProfile; private ExecutionResults _results; private ServiceMetadata _serviceMetadata; private ExecutionStatus _status; /// /// Gets and sets the property ExecutionId. /// /// A unique identifier for the execution of a workflow. /// /// [AWSProperty(Min=36, Max=36)] public string ExecutionId { get { return this._executionId; } set { this._executionId = value; } } // Check to see if ExecutionId property is set internal bool IsSetExecutionId() { return this._executionId != null; } /// /// Gets and sets the property ExecutionRole. /// /// The IAM role associated with the execution. /// /// [AWSProperty(Min=20, Max=2048)] public string ExecutionRole { get { return this._executionRole; } set { this._executionRole = value; } } // Check to see if ExecutionRole property is set internal bool IsSetExecutionRole() { return this._executionRole != null; } /// /// Gets and sets the property InitialFileLocation. /// /// A structure that describes the Amazon S3 or EFS file location. This is the file location /// when the execution begins: if the file is being copied, this is the initial (as opposed /// to destination) file location. /// /// public FileLocation InitialFileLocation { get { return this._initialFileLocation; } set { this._initialFileLocation = value; } } // Check to see if InitialFileLocation property is set internal bool IsSetInitialFileLocation() { return this._initialFileLocation != null; } /// /// Gets and sets the property LoggingConfiguration. /// /// The IAM logging role associated with the execution. /// /// public LoggingConfiguration LoggingConfiguration { get { return this._loggingConfiguration; } set { this._loggingConfiguration = value; } } // Check to see if LoggingConfiguration property is set internal bool IsSetLoggingConfiguration() { return this._loggingConfiguration != null; } /// /// Gets and sets the property PosixProfile. /// public PosixProfile PosixProfile { get { return this._posixProfile; } set { this._posixProfile = value; } } // Check to see if PosixProfile property is set internal bool IsSetPosixProfile() { return this._posixProfile != null; } /// /// Gets and sets the property Results. /// /// A structure that describes the execution results. This includes a list of the steps /// along with the details of each step, error type and message (if any), and the OnExceptionSteps /// structure. /// /// public ExecutionResults Results { get { return this._results; } set { this._results = value; } } // Check to see if Results property is set internal bool IsSetResults() { return this._results != null; } /// /// Gets and sets the property ServiceMetadata. /// /// A container object for the session details that are associated with a workflow. /// /// public ServiceMetadata ServiceMetadata { get { return this._serviceMetadata; } set { this._serviceMetadata = value; } } // Check to see if ServiceMetadata property is set internal bool IsSetServiceMetadata() { return this._serviceMetadata != null; } /// /// Gets and sets the property Status. /// /// The status is one of the execution. Can be in progress, completed, exception encountered, /// or handling the exception. /// /// public ExecutionStatus Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } } }