/* * 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 GetLayerVersionByArn operation. /// public partial class GetLayerVersionByArnResponse : AmazonWebServiceResponse { private List _compatibleArchitectures = new List(); private List _compatibleRuntimes = new List(); private LayerVersionContentOutput _content; private string _createdDate; private string _description; private string _layerArn; private string _layerVersionArn; private string _licenseInfo; private long? _version; /// /// Gets and sets the property CompatibleArchitectures. /// /// A list of compatible instruction /// set architectures. /// /// [AWSProperty(Max=2)] public List CompatibleArchitectures { get { return this._compatibleArchitectures; } set { this._compatibleArchitectures = value; } } // Check to see if CompatibleArchitectures property is set internal bool IsSetCompatibleArchitectures() { return this._compatibleArchitectures != null && this._compatibleArchitectures.Count > 0; } /// /// Gets and sets the property CompatibleRuntimes. /// /// The layer's compatible runtimes. /// /// /// /// The following list includes deprecated runtimes. For more information, see Runtime /// deprecation policy. /// /// [AWSProperty(Max=15)] public List CompatibleRuntimes { get { return this._compatibleRuntimes; } set { this._compatibleRuntimes = value; } } // Check to see if CompatibleRuntimes property is set internal bool IsSetCompatibleRuntimes() { return this._compatibleRuntimes != null && this._compatibleRuntimes.Count > 0; } /// /// Gets and sets the property Content. /// /// Details about the layer version. /// /// public LayerVersionContentOutput Content { get { return this._content; } set { this._content = value; } } // Check to see if Content property is set internal bool IsSetContent() { return this._content != null; } /// /// Gets and sets the property CreatedDate. /// /// The date that the layer version was created, in ISO-8601 /// format (YYYY-MM-DDThh:mm:ss.sTZD). /// /// public string CreatedDate { get { return this._createdDate; } set { this._createdDate = value; } } // Check to see if CreatedDate property is set internal bool IsSetCreatedDate() { return this._createdDate != null; } /// /// Gets and sets the property Description. /// /// The description of the version. /// /// [AWSProperty(Min=0, Max=256)] public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// /// Gets and sets the property LayerArn. /// /// The ARN of the layer. /// /// [AWSProperty(Min=1, Max=140)] public string LayerArn { get { return this._layerArn; } set { this._layerArn = value; } } // Check to see if LayerArn property is set internal bool IsSetLayerArn() { return this._layerArn != null; } /// /// Gets and sets the property LayerVersionArn. /// /// The ARN of the layer version. /// /// [AWSProperty(Min=1, Max=140)] public string LayerVersionArn { get { return this._layerVersionArn; } set { this._layerVersionArn = value; } } // Check to see if LayerVersionArn property is set internal bool IsSetLayerVersionArn() { return this._layerVersionArn != null; } /// /// Gets and sets the property LicenseInfo. /// /// The layer's software license. /// /// [AWSProperty(Max=512)] public string LicenseInfo { get { return this._licenseInfo; } set { this._licenseInfo = value; } } // Check to see if LicenseInfo property is set internal bool IsSetLicenseInfo() { return this._licenseInfo != null; } /// /// Gets and sets the property Version. /// /// The version number. /// /// public long Version { get { return this._version.GetValueOrDefault(); } set { this._version = value; } } // Check to see if Version property is set internal bool IsSetVersion() { return this._version.HasValue; } } }