/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Http { class URI; } //namespace Http namespace Lambda { namespace Model { /** */ class ListLayerVersionsRequest : public LambdaRequest { public: AWS_LAMBDA_API ListLayerVersionsRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "ListLayerVersions"; } AWS_LAMBDA_API Aws::String SerializePayload() const override; AWS_LAMBDA_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

A runtime identifier. For example, go1.x.

The following * list includes deprecated runtimes. For more information, see Runtime * deprecation policy.

*/ inline const Runtime& GetCompatibleRuntime() const{ return m_compatibleRuntime; } /** *

A runtime identifier. For example, go1.x.

The following * list includes deprecated runtimes. For more information, see Runtime * deprecation policy.

*/ inline bool CompatibleRuntimeHasBeenSet() const { return m_compatibleRuntimeHasBeenSet; } /** *

A runtime identifier. For example, go1.x.

The following * list includes deprecated runtimes. For more information, see Runtime * deprecation policy.

*/ inline void SetCompatibleRuntime(const Runtime& value) { m_compatibleRuntimeHasBeenSet = true; m_compatibleRuntime = value; } /** *

A runtime identifier. For example, go1.x.

The following * list includes deprecated runtimes. For more information, see Runtime * deprecation policy.

*/ inline void SetCompatibleRuntime(Runtime&& value) { m_compatibleRuntimeHasBeenSet = true; m_compatibleRuntime = std::move(value); } /** *

A runtime identifier. For example, go1.x.

The following * list includes deprecated runtimes. For more information, see Runtime * deprecation policy.

*/ inline ListLayerVersionsRequest& WithCompatibleRuntime(const Runtime& value) { SetCompatibleRuntime(value); return *this;} /** *

A runtime identifier. For example, go1.x.

The following * list includes deprecated runtimes. For more information, see Runtime * deprecation policy.

*/ inline ListLayerVersionsRequest& WithCompatibleRuntime(Runtime&& value) { SetCompatibleRuntime(std::move(value)); return *this;} /** *

The name or Amazon Resource Name (ARN) of the layer.

*/ inline const Aws::String& GetLayerName() const{ return m_layerName; } /** *

The name or Amazon Resource Name (ARN) of the layer.

*/ inline bool LayerNameHasBeenSet() const { return m_layerNameHasBeenSet; } /** *

The name or Amazon Resource Name (ARN) of the layer.

*/ inline void SetLayerName(const Aws::String& value) { m_layerNameHasBeenSet = true; m_layerName = value; } /** *

The name or Amazon Resource Name (ARN) of the layer.

*/ inline void SetLayerName(Aws::String&& value) { m_layerNameHasBeenSet = true; m_layerName = std::move(value); } /** *

The name or Amazon Resource Name (ARN) of the layer.

*/ inline void SetLayerName(const char* value) { m_layerNameHasBeenSet = true; m_layerName.assign(value); } /** *

The name or Amazon Resource Name (ARN) of the layer.

*/ inline ListLayerVersionsRequest& WithLayerName(const Aws::String& value) { SetLayerName(value); return *this;} /** *

The name or Amazon Resource Name (ARN) of the layer.

*/ inline ListLayerVersionsRequest& WithLayerName(Aws::String&& value) { SetLayerName(std::move(value)); return *this;} /** *

The name or Amazon Resource Name (ARN) of the layer.

*/ inline ListLayerVersionsRequest& WithLayerName(const char* value) { SetLayerName(value); return *this;} /** *

A pagination token returned by a previous call.

*/ inline const Aws::String& GetMarker() const{ return m_marker; } /** *

A pagination token returned by a previous call.

*/ inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; } /** *

A pagination token returned by a previous call.

*/ inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; } /** *

A pagination token returned by a previous call.

*/ inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); } /** *

A pagination token returned by a previous call.

*/ inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); } /** *

A pagination token returned by a previous call.

*/ inline ListLayerVersionsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;} /** *

A pagination token returned by a previous call.

*/ inline ListLayerVersionsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;} /** *

A pagination token returned by a previous call.

*/ inline ListLayerVersionsRequest& WithMarker(const char* value) { SetMarker(value); return *this;} /** *

The maximum number of versions to return.

*/ inline int GetMaxItems() const{ return m_maxItems; } /** *

The maximum number of versions to return.

*/ inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; } /** *

The maximum number of versions to return.

*/ inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; } /** *

The maximum number of versions to return.

*/ inline ListLayerVersionsRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;} /** *

The compatible instruction * set architecture.

*/ inline const Architecture& GetCompatibleArchitecture() const{ return m_compatibleArchitecture; } /** *

The compatible instruction * set architecture.

*/ inline bool CompatibleArchitectureHasBeenSet() const { return m_compatibleArchitectureHasBeenSet; } /** *

The compatible instruction * set architecture.

*/ inline void SetCompatibleArchitecture(const Architecture& value) { m_compatibleArchitectureHasBeenSet = true; m_compatibleArchitecture = value; } /** *

The compatible instruction * set architecture.

*/ inline void SetCompatibleArchitecture(Architecture&& value) { m_compatibleArchitectureHasBeenSet = true; m_compatibleArchitecture = std::move(value); } /** *

The compatible instruction * set architecture.

*/ inline ListLayerVersionsRequest& WithCompatibleArchitecture(const Architecture& value) { SetCompatibleArchitecture(value); return *this;} /** *

The compatible instruction * set architecture.

*/ inline ListLayerVersionsRequest& WithCompatibleArchitecture(Architecture&& value) { SetCompatibleArchitecture(std::move(value)); return *this;} private: Runtime m_compatibleRuntime; bool m_compatibleRuntimeHasBeenSet = false; Aws::String m_layerName; bool m_layerNameHasBeenSet = false; Aws::String m_marker; bool m_markerHasBeenSet = false; int m_maxItems; bool m_maxItemsHasBeenSet = false; Architecture m_compatibleArchitecture; bool m_compatibleArchitectureHasBeenSet = false; }; } // namespace Model } // namespace Lambda } // namespace Aws