/* * 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 codepipeline-2015-07-09.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.CodePipeline.Model { /// /// Represents information about an execution of a pipeline. /// public partial class PipelineExecution { private List _artifactRevisions = new List(); private string _pipelineExecutionId; private string _pipelineName; private int? _pipelineVersion; private PipelineExecutionStatus _status; private string _statusSummary; /// /// Gets and sets the property ArtifactRevisions. /// /// A list of ArtifactRevision objects included in a pipeline execution. /// /// public List ArtifactRevisions { get { return this._artifactRevisions; } set { this._artifactRevisions = value; } } // Check to see if ArtifactRevisions property is set internal bool IsSetArtifactRevisions() { return this._artifactRevisions != null && this._artifactRevisions.Count > 0; } /// /// Gets and sets the property PipelineExecutionId. /// /// The ID of the pipeline execution. /// /// public string PipelineExecutionId { get { return this._pipelineExecutionId; } set { this._pipelineExecutionId = value; } } // Check to see if PipelineExecutionId property is set internal bool IsSetPipelineExecutionId() { return this._pipelineExecutionId != null; } /// /// Gets and sets the property PipelineName. /// /// The name of the pipeline with the specified pipeline execution. /// /// [AWSProperty(Min=1, Max=100)] public string PipelineName { get { return this._pipelineName; } set { this._pipelineName = value; } } // Check to see if PipelineName property is set internal bool IsSetPipelineName() { return this._pipelineName != null; } /// /// Gets and sets the property PipelineVersion. /// /// The version number of the pipeline with the specified pipeline execution. /// /// [AWSProperty(Min=1)] public int PipelineVersion { get { return this._pipelineVersion.GetValueOrDefault(); } set { this._pipelineVersion = value; } } // Check to see if PipelineVersion property is set internal bool IsSetPipelineVersion() { return this._pipelineVersion.HasValue; } /// /// Gets and sets the property Status. /// /// The status of the pipeline execution. /// ///
  • /// /// Cancelled: The pipeline’s definition was updated before the pipeline execution could /// be completed. /// ///
  • /// /// InProgress: The pipeline execution is currently running. /// ///
  • /// /// Stopped: The pipeline execution was manually stopped. For more information, see Stopped /// Executions. /// ///
  • /// /// Stopping: The pipeline execution received a request to be manually stopped. Depending /// on the selected stop mode, the execution is either completing or abandoning in-progress /// actions. For more information, see Stopped /// Executions. /// ///
  • /// /// Succeeded: The pipeline execution was completed successfully. /// ///
  • /// /// Superseded: While this pipeline execution was waiting for the next stage to be completed, /// a newer pipeline execution advanced and continued through the pipeline instead. For /// more information, see Superseded /// Executions. /// ///
  • /// /// Failed: The pipeline execution was not completed successfully. /// ///
///
public PipelineExecutionStatus Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } /// /// Gets and sets the property StatusSummary. /// /// A summary that contains a description of the pipeline execution status. /// /// public string StatusSummary { get { return this._statusSummary; } set { this._statusSummary = value; } } // Check to see if StatusSummary property is set internal bool IsSetStatusSummary() { return this._statusSummary != null; } } }