/** * 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 ListLayersRequest : public LambdaRequest { public: AWS_LAMBDA_API ListLayersRequest(); // 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 "ListLayers"; } 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 ListLayersRequest& 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 ListLayersRequest& WithCompatibleRuntime(Runtime&& value) { SetCompatibleRuntime(std::move(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 ListLayersRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;} /** *

A pagination token returned by a previous call.

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

A pagination token returned by a previous call.

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

The maximum number of layers to return.

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

The maximum number of layers to return.

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

The maximum number of layers to return.

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

The maximum number of layers to return.

*/ inline ListLayersRequest& 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 ListLayersRequest& WithCompatibleArchitecture(const Architecture& value) { SetCompatibleArchitecture(value); return *this;} /** *

The compatible instruction * set architecture.

*/ inline ListLayersRequest& WithCompatibleArchitecture(Architecture&& value) { SetCompatibleArchitecture(std::move(value)); return *this;} private: Runtime m_compatibleRuntime; bool m_compatibleRuntimeHasBeenSet = 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