/* * 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 lambda-2015-03-31.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.Lambda.Model { /// /// This is the response object from the InvokeWithResponseStream operation. /// public partial class InvokeWithResponseStreamResponse : AmazonWebServiceResponse { private InvokeWithResponseStreamResponseEvent _eventStream; private string _executedVersion; private string _responseStreamContentType; private int? _statusCode; /// /// Gets and sets the property EventStream. /// /// The stream of response payloads. /// /// public InvokeWithResponseStreamResponseEvent EventStream { get { return this._eventStream; } set { this._eventStream = value; } } // Check to see if EventStream property is set internal bool IsSetEventStream() { return this._eventStream != null; } /// /// Gets and sets the property ExecutedVersion. /// /// The version of the function that executed. When you invoke a function with an alias, /// this indicates which version the alias resolved to. /// /// [AWSProperty(Min=1, Max=1024)] public string ExecutedVersion { get { return this._executedVersion; } set { this._executedVersion = value; } } // Check to see if ExecutedVersion property is set internal bool IsSetExecutedVersion() { return this._executedVersion != null; } /// /// Gets and sets the property ResponseStreamContentType. /// /// The type of data the stream is returning. /// /// public string ResponseStreamContentType { get { return this._responseStreamContentType; } set { this._responseStreamContentType = value; } } // Check to see if ResponseStreamContentType property is set internal bool IsSetResponseStreamContentType() { return this._responseStreamContentType != null; } /// /// Gets and sets the property StatusCode. /// /// For a successful request, the HTTP status code is in the 200 range. For the RequestResponse /// invocation type, this status code is 200. For the DryRun invocation type, /// this status code is 204. /// /// public int StatusCode { get { return this._statusCode.GetValueOrDefault(); } set { this._statusCode = value; } } // Check to see if StatusCode property is set internal bool IsSetStatusCode() { return this._statusCode.HasValue; } } }