AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListLayerVersionsRequest.h
1
6#pragma once
7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/lambda/LambdaRequest.h>
9#include <aws/lambda/model/Runtime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/lambda/model/Architecture.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace Lambda
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_LAMBDA_API ListLayerVersionsRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "ListLayerVersions"; }
37
38 AWS_LAMBDA_API Aws::String SerializePayload() const override;
39
40 AWS_LAMBDA_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42
44
53 inline Runtime GetCompatibleRuntime() const { return m_compatibleRuntime; }
54 inline bool CompatibleRuntimeHasBeenSet() const { return m_compatibleRuntimeHasBeenSet; }
55 inline void SetCompatibleRuntime(Runtime value) { m_compatibleRuntimeHasBeenSet = true; m_compatibleRuntime = value; }
58
60
63 inline const Aws::String& GetLayerName() const { return m_layerName; }
64 inline bool LayerNameHasBeenSet() const { return m_layerNameHasBeenSet; }
65 template<typename LayerNameT = Aws::String>
66 void SetLayerName(LayerNameT&& value) { m_layerNameHasBeenSet = true; m_layerName = std::forward<LayerNameT>(value); }
67 template<typename LayerNameT = Aws::String>
68 ListLayerVersionsRequest& WithLayerName(LayerNameT&& value) { SetLayerName(std::forward<LayerNameT>(value)); return *this;}
70
72
75 inline const Aws::String& GetMarker() const { return m_marker; }
76 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
77 template<typename MarkerT = Aws::String>
78 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
79 template<typename MarkerT = Aws::String>
80 ListLayerVersionsRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
82
84
87 inline int GetMaxItems() const { return m_maxItems; }
88 inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
89 inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
90 inline ListLayerVersionsRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;}
92
94
99 inline Architecture GetCompatibleArchitecture() const { return m_compatibleArchitecture; }
100 inline bool CompatibleArchitectureHasBeenSet() const { return m_compatibleArchitectureHasBeenSet; }
101 inline void SetCompatibleArchitecture(Architecture value) { m_compatibleArchitectureHasBeenSet = true; m_compatibleArchitecture = value; }
104 private:
105
106 Runtime m_compatibleRuntime{Runtime::NOT_SET};
107 bool m_compatibleRuntimeHasBeenSet = false;
108
109 Aws::String m_layerName;
110 bool m_layerNameHasBeenSet = false;
111
112 Aws::String m_marker;
113 bool m_markerHasBeenSet = false;
114
115 int m_maxItems{0};
116 bool m_maxItemsHasBeenSet = false;
117
118 Architecture m_compatibleArchitecture{Architecture::NOT_SET};
119 bool m_compatibleArchitectureHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace Lambda
124} // namespace Aws
AWS_LAMBDA_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_LAMBDA_API Aws::String SerializePayload() const override
ListLayerVersionsRequest & WithMaxItems(int value)
ListLayerVersionsRequest & WithLayerName(LayerNameT &&value)
ListLayerVersionsRequest & WithMarker(MarkerT &&value)
ListLayerVersionsRequest & WithCompatibleRuntime(Runtime value)
AWS_LAMBDA_API ListLayerVersionsRequest()=default
virtual const char * GetServiceRequestName() const override
ListLayerVersionsRequest & WithCompatibleArchitecture(Architecture value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String