AWS SDK for C++

AWS SDK for C++ Version 1.11.834

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
44 inline Architecture GetCompatibleArchitecture() const { return m_compatibleArchitecture; }
45 inline bool CompatibleArchitectureHasBeenSet() const { return m_compatibleArchitectureHasBeenSet; }
47 m_compatibleArchitectureHasBeenSet = true;
48 m_compatibleArchitecture = value;
49 }
52 return *this;
53 }
55
57
66 inline Runtime GetCompatibleRuntime() const { return m_compatibleRuntime; }
67 inline bool CompatibleRuntimeHasBeenSet() const { return m_compatibleRuntimeHasBeenSet; }
68 inline void SetCompatibleRuntime(Runtime value) {
69 m_compatibleRuntimeHasBeenSet = true;
70 m_compatibleRuntime = value;
71 }
74 return *this;
75 }
77
79
82 inline const Aws::String& GetMarker() const { return m_marker; }
83 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
84 template <typename MarkerT = Aws::String>
85 void SetMarker(MarkerT&& value) {
86 m_markerHasBeenSet = true;
87 m_marker = std::forward<MarkerT>(value);
88 }
89 template <typename MarkerT = Aws::String>
90 ListLayersRequest& WithMarker(MarkerT&& value) {
91 SetMarker(std::forward<MarkerT>(value));
92 return *this;
93 }
95
97
100 inline int GetMaxItems() const { return m_maxItems; }
101 inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
102 inline void SetMaxItems(int value) {
103 m_maxItemsHasBeenSet = true;
104 m_maxItems = value;
105 }
106 inline ListLayersRequest& WithMaxItems(int value) {
107 SetMaxItems(value);
108 return *this;
109 }
111 private:
112 Architecture m_compatibleArchitecture{Architecture::NOT_SET};
113
114 Runtime m_compatibleRuntime{Runtime::NOT_SET};
115
116 Aws::String m_marker;
117
118 int m_maxItems{0};
119 bool m_compatibleArchitectureHasBeenSet = false;
120 bool m_compatibleRuntimeHasBeenSet = false;
121 bool m_markerHasBeenSet = false;
122 bool m_maxItemsHasBeenSet = 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