/* * 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 { /// /// Container for the parameters to the ListLayers operation. /// Lists Lambda /// layers and shows information about the latest version of each. Specify a runtime /// identifier to list only layers that indicate that they're compatible with that /// runtime. Specify a compatible architecture to include only layers that are compatible /// with that instruction /// set architecture. /// public partial class ListLayersRequest : AmazonLambdaRequest { private Architecture _compatibleArchitecture; private Runtime _compatibleRuntime; private string _marker; private int? _maxItems; /// /// Gets and sets the property CompatibleArchitecture. /// /// The compatible instruction /// set architecture. /// /// public Architecture CompatibleArchitecture { get { return this._compatibleArchitecture; } set { this._compatibleArchitecture = value; } } // Check to see if CompatibleArchitecture property is set internal bool IsSetCompatibleArchitecture() { return this._compatibleArchitecture != null; } /// /// Gets and sets the property CompatibleRuntime. /// /// A runtime identifier. For example, go1.x. /// /// /// /// The following list includes deprecated runtimes. For more information, see Runtime /// deprecation policy. /// /// public Runtime CompatibleRuntime { get { return this._compatibleRuntime; } set { this._compatibleRuntime = value; } } // Check to see if CompatibleRuntime property is set internal bool IsSetCompatibleRuntime() { return this._compatibleRuntime != null; } /// /// Gets and sets the property Marker. /// /// A pagination token returned by a previous call. /// /// public string Marker { get { return this._marker; } set { this._marker = value; } } // Check to see if Marker property is set internal bool IsSetMarker() { return this._marker != null; } /// /// Gets and sets the property MaxItems. /// /// The maximum number of layers to return. /// /// [AWSProperty(Min=1, Max=50)] public int MaxItems { get { return this._maxItems.GetValueOrDefault(); } set { this._maxItems = value; } } // Check to see if MaxItems property is set internal bool IsSetMaxItems() { return this._maxItems.HasValue; } } }