/* * 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 ListWorkflowExecutions operation. /// public partial class ListWorkflowExecutionsResponse : AmazonWebServiceResponse { private string _imageBuildVersionArn; private string _message; private string _nextToken; private string _requestId; private List _workflowExecutions = new List(); /// /// Gets and sets the property ImageBuildVersionArn. /// /// The resource ARN of the image build version for which you requested a list of workflow /// runtime details. /// /// 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 list action, 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 NextToken. /// /// The next token used for paginated responses. When this field isn't empty, there are /// additional elements that the service has'ot included in this request. Use this token /// with the next request to retrieve additional objects. /// /// [AWSProperty(Min=1, Max=65535)] public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != 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 WorkflowExecutions. /// /// Contains an array of runtime details that represents each time a workflow ran for /// the requested image build version. /// /// public List WorkflowExecutions { get { return this._workflowExecutions; } set { this._workflowExecutions = value; } } // Check to see if WorkflowExecutions property is set internal bool IsSetWorkflowExecutions() { return this._workflowExecutions != null && this._workflowExecutions.Count > 0; } } }