AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
ListLayersRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lambda/LambdaRequest.h>
9#include <aws/lambda/Lambda_EXPORTS.h>
10#include <aws/lambda/model/Architecture.h>
11#include <aws/lambda/model/Runtime.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Http {
17class URI;
18} // namespace Http
19namespace Lambda {
20namespace Model {
21
25 public:
26 AWS_LAMBDA_API ListLayersRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "ListLayers"; }
33
34 AWS_LAMBDA_API Aws::String SerializePayload() const override;
35
36 AWS_LAMBDA_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
37
39
48 inline Runtime GetCompatibleRuntime() const { return m_compatibleRuntime; }
49 inline bool CompatibleRuntimeHasBeenSet() const { return m_compatibleRuntimeHasBeenSet; }
50 inline void SetCompatibleRuntime(Runtime value) {
51 m_compatibleRuntimeHasBeenSet = true;
52 m_compatibleRuntime = value;
53 }
56 return *this;
57 }
59
61
64 inline const Aws::String& GetMarker() const { return m_marker; }
65 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
66 template <typename MarkerT = Aws::String>
67 void SetMarker(MarkerT&& value) {
68 m_markerHasBeenSet = true;
69 m_marker = std::forward<MarkerT>(value);
70 }
71 template <typename MarkerT = Aws::String>
72 ListLayersRequest& WithMarker(MarkerT&& value) {
73 SetMarker(std::forward<MarkerT>(value));
74 return *this;
75 }
77
79
82 inline int GetMaxItems() const { return m_maxItems; }
83 inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
84 inline void SetMaxItems(int value) {
85 m_maxItemsHasBeenSet = true;
86 m_maxItems = value;
87 }
88 inline ListLayersRequest& WithMaxItems(int value) {
89 SetMaxItems(value);
90 return *this;
91 }
93
95
100 inline Architecture GetCompatibleArchitecture() const { return m_compatibleArchitecture; }
101 inline bool CompatibleArchitectureHasBeenSet() const { return m_compatibleArchitectureHasBeenSet; }
103 m_compatibleArchitectureHasBeenSet = true;
104 m_compatibleArchitecture = value;
105 }
108 return *this;
109 }
111 private:
112 Runtime m_compatibleRuntime{Runtime::NOT_SET};
113 bool m_compatibleRuntimeHasBeenSet = false;
114
115 Aws::String m_marker;
116 bool m_markerHasBeenSet = false;
117
118 int m_maxItems{0};
119 bool m_maxItemsHasBeenSet = false;
120
121 Architecture m_compatibleArchitecture{Architecture::NOT_SET};
122 bool m_compatibleArchitectureHasBeenSet = false;
123};
124
125} // namespace Model
126} // namespace Lambda
127} // namespace Aws
ListLayersRequest & WithCompatibleRuntime(Runtime value)
virtual const char * GetServiceRequestName() const override
AWS_LAMBDA_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListLayersRequest & WithMaxItems(int value)
AWS_LAMBDA_API Aws::String SerializePayload() const override
AWS_LAMBDA_API ListLayersRequest()=default
const Aws::String & GetMarker() const
ListLayersRequest & WithCompatibleArchitecture(Architecture value)
void SetCompatibleArchitecture(Architecture value)
ListLayersRequest & WithMarker(MarkerT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String