AWS SDK for C++  1.9.129
AWS SDK for C++
ListLayersRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Http
17 {
18  class URI;
19 } //namespace Http
20 namespace Lambda
21 {
22 namespace Model
23 {
24 
28  {
29  public:
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 "ListLayers"; }
37 
38  Aws::String SerializePayload() const override;
39 
40  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41 
42 
46  inline const Runtime& GetCompatibleRuntime() const{ return m_compatibleRuntime; }
47 
51  inline bool CompatibleRuntimeHasBeenSet() const { return m_compatibleRuntimeHasBeenSet; }
52 
56  inline void SetCompatibleRuntime(const Runtime& value) { m_compatibleRuntimeHasBeenSet = true; m_compatibleRuntime = value; }
57 
61  inline void SetCompatibleRuntime(Runtime&& value) { m_compatibleRuntimeHasBeenSet = true; m_compatibleRuntime = std::move(value); }
62 
66  inline ListLayersRequest& WithCompatibleRuntime(const Runtime& value) { SetCompatibleRuntime(value); return *this;}
67 
71  inline ListLayersRequest& WithCompatibleRuntime(Runtime&& value) { SetCompatibleRuntime(std::move(value)); return *this;}
72 
73 
77  inline const Aws::String& GetMarker() const{ return m_marker; }
78 
82  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
83 
87  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
88 
92  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
93 
97  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
98 
102  inline ListLayersRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
103 
107  inline ListLayersRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
108 
112  inline ListLayersRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
113 
114 
118  inline int GetMaxItems() const{ return m_maxItems; }
119 
123  inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
124 
128  inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
129 
133  inline ListLayersRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;}
134 
135 
141  inline const Architecture& GetCompatibleArchitecture() const{ return m_compatibleArchitecture; }
142 
148  inline bool CompatibleArchitectureHasBeenSet() const { return m_compatibleArchitectureHasBeenSet; }
149 
155  inline void SetCompatibleArchitecture(const Architecture& value) { m_compatibleArchitectureHasBeenSet = true; m_compatibleArchitecture = value; }
156 
162  inline void SetCompatibleArchitecture(Architecture&& value) { m_compatibleArchitectureHasBeenSet = true; m_compatibleArchitecture = std::move(value); }
163 
169  inline ListLayersRequest& WithCompatibleArchitecture(const Architecture& value) { SetCompatibleArchitecture(value); return *this;}
170 
176  inline ListLayersRequest& WithCompatibleArchitecture(Architecture&& value) { SetCompatibleArchitecture(std::move(value)); return *this;}
177 
178  private:
179 
180  Runtime m_compatibleRuntime;
181  bool m_compatibleRuntimeHasBeenSet;
182 
183  Aws::String m_marker;
184  bool m_markerHasBeenSet;
185 
186  int m_maxItems;
187  bool m_maxItemsHasBeenSet;
188 
189  Architecture m_compatibleArchitecture;
190  bool m_compatibleArchitectureHasBeenSet;
191  };
192 
193 } // namespace Model
194 } // namespace Lambda
195 } // namespace Aws
Aws::Lambda::Model::ListLayersRequest::CompatibleArchitectureHasBeenSet
bool CompatibleArchitectureHasBeenSet() const
Definition: ListLayersRequest.h:148
Aws::Http::URI
Definition: URI.h:32
Aws::Lambda::Model::ListLayersRequest::ListLayersRequest
ListLayersRequest()
Aws::Lambda::Model::ListLayersRequest
Definition: ListLayersRequest.h:28
Aws::Lambda::Model::ListLayersRequest::WithMarker
ListLayersRequest & WithMarker(const Aws::String &value)
Definition: ListLayersRequest.h:102
Runtime.h
Aws::Lambda::Model::ListLayersRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListLayersRequest.h:87
Aws::Lambda::Model::ListLayersRequest::WithCompatibleArchitecture
ListLayersRequest & WithCompatibleArchitecture(const Architecture &value)
Definition: ListLayersRequest.h:169
Aws::Lambda::Model::ListLayersRequest::WithCompatibleRuntime
ListLayersRequest & WithCompatibleRuntime(const Runtime &value)
Definition: ListLayersRequest.h:66
Aws::Lambda::Model::Runtime
Runtime
Definition: Runtime.h:17
Aws::Lambda::Model::ListLayersRequest::WithMarker
ListLayersRequest & WithMarker(const char *value)
Definition: ListLayersRequest.h:112
Aws::Lambda::Model::ListLayersRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Lambda::Model::ListLayersRequest::SetMaxItems
void SetMaxItems(int value)
Definition: ListLayersRequest.h:128
Aws::Lambda::Model::ListLayersRequest::GetMaxItems
int GetMaxItems() const
Definition: ListLayersRequest.h:118
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::ListLayersRequest::SetCompatibleRuntime
void SetCompatibleRuntime(const Runtime &value)
Definition: ListLayersRequest.h:56
Aws::Lambda::Model::ListLayersRequest::WithMaxItems
ListLayersRequest & WithMaxItems(int value)
Definition: ListLayersRequest.h:133
Aws::Lambda::Model::ListLayersRequest::CompatibleRuntimeHasBeenSet
bool CompatibleRuntimeHasBeenSet() const
Definition: ListLayersRequest.h:51
Aws::Lambda::Model::ListLayersRequest::MaxItemsHasBeenSet
bool MaxItemsHasBeenSet() const
Definition: ListLayersRequest.h:123
Architecture.h
AWSString.h
Aws::Lambda::Model::ListLayersRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Lambda::Model::ListLayersRequest::GetCompatibleRuntime
const Runtime & GetCompatibleRuntime() const
Definition: ListLayersRequest.h:46
LambdaRequest.h
Aws::Lambda::LambdaRequest
Definition: LambdaRequest.h:18
Aws::Lambda::Model::ListLayersRequest::WithCompatibleRuntime
ListLayersRequest & WithCompatibleRuntime(Runtime &&value)
Definition: ListLayersRequest.h:71
Aws::Lambda::Model::ListLayersRequest::SetCompatibleRuntime
void SetCompatibleRuntime(Runtime &&value)
Definition: ListLayersRequest.h:61
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::Architecture
Architecture
Definition: Architecture.h:17
Aws::Lambda::Model::ListLayersRequest::GetMarker
const Aws::String & GetMarker() const
Definition: ListLayersRequest.h:77
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lambda::Model::ListLayersRequest::SetCompatibleArchitecture
void SetCompatibleArchitecture(const Architecture &value)
Definition: ListLayersRequest.h:155
Aws::Lambda::Model::ListLayersRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: ListLayersRequest.h:82
Aws::Lambda::Model::ListLayersRequest::SetCompatibleArchitecture
void SetCompatibleArchitecture(Architecture &&value)
Definition: ListLayersRequest.h:162
Aws::Lambda::Model::ListLayersRequest::SetMarker
void SetMarker(const char *value)
Definition: ListLayersRequest.h:97
Aws::Lambda::Model::ListLayersRequest::WithMarker
ListLayersRequest & WithMarker(Aws::String &&value)
Definition: ListLayersRequest.h:107
Aws::Lambda::Model::ListLayersRequest::GetCompatibleArchitecture
const Architecture & GetCompatibleArchitecture() const
Definition: ListLayersRequest.h:141
Aws::Lambda::Model::ListLayersRequest::WithCompatibleArchitecture
ListLayersRequest & WithCompatibleArchitecture(Architecture &&value)
Definition: ListLayersRequest.h:176
Lambda_EXPORTS.h
Aws::Lambda::Model::ListLayersRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListLayersRequest.h:92
Aws::Lambda::Model::ListLayersRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListLayersRequest.h:36