/* * 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 imagebuilder-2019-12-02.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.Imagebuilder.Model { /// /// This is the response object from the GetWorkflowExecution operation. /// public partial class GetWorkflowExecutionResponse : AmazonWebServiceResponse { private string _endTime; private string _imageBuildVersionArn; private string _message; private string _requestId; private string _startTime; private WorkflowExecutionStatus _status; private int? _totalStepCount; private int? _totalStepsFailed; private int? _totalStepsSkipped; private int? _totalStepsSucceeded; private WorkflowType _type; private string _workflowBuildVersionArn; private string _workflowExecutionId; /// /// Gets and sets the property EndTime. /// /// The timestamp when the specified runtime instance of the workflow finished. /// /// public string EndTime { get { return this._endTime; } set { this._endTime = value; } } // Check to see if EndTime property is set internal bool IsSetEndTime() { return this._endTime != null; } /// /// Gets and sets the property ImageBuildVersionArn. /// /// The Amazon Resource Name (ARN) of the image resource build version that the specified /// runtime instance of the workflow created. /// /// public string ImageBuildVersionArn { get { return this._imageBuildVersionArn; } set { this._imageBuildVersionArn = value; } } // Check to see if ImageBuildVersionArn property is set internal bool IsSetImageBuildVersionArn() { return this._imageBuildVersionArn != null; } /// /// Gets and sets the property Message. /// /// The output message from the specified runtime instance of the workflow, if applicable. /// /// [AWSProperty(Min=0, Max=500)] public string Message { get { return this._message; } set { this._message = value; } } // Check to see if Message property is set internal bool IsSetMessage() { return this._message != null; } /// /// Gets and sets the property RequestId. /// /// The request ID that uniquely identifies this request. /// /// [AWSProperty(Min=1, Max=1024)] public string RequestId { get { return this._requestId; } set { this._requestId = value; } } // Check to see if RequestId property is set internal bool IsSetRequestId() { return this._requestId != null; } /// /// Gets and sets the property StartTime. /// /// The timestamp when the specified runtime instance of the workflow started. /// /// public string StartTime { get { return this._startTime; } set { this._startTime = value; } } // Check to see if StartTime property is set internal bool IsSetStartTime() { return this._startTime != null; } /// /// Gets and sets the property Status. /// /// The current runtime status for the specified runtime instance of the workflow. /// /// public WorkflowExecutionStatus 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 TotalStepCount. /// /// The total number of steps in the specified runtime instance of the workflow that ran. /// This number should equal the sum of the step counts for steps that succeeded, were /// skipped, and failed. /// /// public int TotalStepCount { get { return this._totalStepCount.GetValueOrDefault(); } set { this._totalStepCount = value; } } // Check to see if TotalStepCount property is set internal bool IsSetTotalStepCount() { return this._totalStepCount.HasValue; } /// /// Gets and sets the property TotalStepsFailed. /// /// A runtime count for the number of steps that failed in the specified runtime instance /// of the workflow. /// /// public int TotalStepsFailed { get { return this._totalStepsFailed.GetValueOrDefault(); } set { this._totalStepsFailed = value; } } // Check to see if TotalStepsFailed property is set internal bool IsSetTotalStepsFailed() { return this._totalStepsFailed.HasValue; } /// /// Gets and sets the property TotalStepsSkipped. /// /// A runtime count for the number of steps that were skipped in the specified runtime /// instance of the workflow. /// /// public int TotalStepsSkipped { get { return this._totalStepsSkipped.GetValueOrDefault(); } set { this._totalStepsSkipped = value; } } // Check to see if TotalStepsSkipped property is set internal bool IsSetTotalStepsSkipped() { return this._totalStepsSkipped.HasValue; } /// /// Gets and sets the property TotalStepsSucceeded. /// /// A runtime count for the number of steps that ran successfully in the specified runtime /// instance of the workflow. /// /// public int TotalStepsSucceeded { get { return this._totalStepsSucceeded.GetValueOrDefault(); } set { this._totalStepsSucceeded = value; } } // Check to see if TotalStepsSucceeded property is set internal bool IsSetTotalStepsSucceeded() { return this._totalStepsSucceeded.HasValue; } /// /// Gets and sets the property Type. /// /// The type of workflow that Image Builder ran for the specified runtime instance of /// the workflow. /// /// public WorkflowType Type { get { return this._type; } set { this._type = value; } } // Check to see if Type property is set internal bool IsSetType() { return this._type != null; } /// /// Gets and sets the property WorkflowBuildVersionArn. /// /// The Amazon Resource Name (ARN) of the build version for the Image Builder workflow /// resource that defines the specified runtime instance of the workflow. /// /// [AWSProperty(Max=1024)] public string WorkflowBuildVersionArn { get { return this._workflowBuildVersionArn; } set { this._workflowBuildVersionArn = value; } } // Check to see if WorkflowBuildVersionArn property is set internal bool IsSetWorkflowBuildVersionArn() { return this._workflowBuildVersionArn != null; } /// /// Gets and sets the property WorkflowExecutionId. /// /// The unique identifier that Image Builder assigned to keep track of runtime details /// when it ran the workflow. /// /// public string WorkflowExecutionId { get { return this._workflowExecutionId; } set { this._workflowExecutionId = value; } } // Check to see if WorkflowExecutionId property is set internal bool IsSetWorkflowExecutionId() { return this._workflowExecutionId != null; } } }