AWS SDK for C++  1.9.20
AWS SDK for C++
ListLayerVersionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Http
16 {
17  class URI;
18 } //namespace Http
19 namespace Lambda
20 {
21 namespace Model
22 {
23 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "ListLayerVersions"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40 
41 
45  inline const Runtime& GetCompatibleRuntime() const{ return m_compatibleRuntime; }
46 
50  inline bool CompatibleRuntimeHasBeenSet() const { return m_compatibleRuntimeHasBeenSet; }
51 
55  inline void SetCompatibleRuntime(const Runtime& value) { m_compatibleRuntimeHasBeenSet = true; m_compatibleRuntime = value; }
56 
60  inline void SetCompatibleRuntime(Runtime&& value) { m_compatibleRuntimeHasBeenSet = true; m_compatibleRuntime = std::move(value); }
61 
65  inline ListLayerVersionsRequest& WithCompatibleRuntime(const Runtime& value) { SetCompatibleRuntime(value); return *this;}
66 
70  inline ListLayerVersionsRequest& WithCompatibleRuntime(Runtime&& value) { SetCompatibleRuntime(std::move(value)); return *this;}
71 
72 
76  inline const Aws::String& GetLayerName() const{ return m_layerName; }
77 
81  inline bool LayerNameHasBeenSet() const { return m_layerNameHasBeenSet; }
82 
86  inline void SetLayerName(const Aws::String& value) { m_layerNameHasBeenSet = true; m_layerName = value; }
87 
91  inline void SetLayerName(Aws::String&& value) { m_layerNameHasBeenSet = true; m_layerName = std::move(value); }
92 
96  inline void SetLayerName(const char* value) { m_layerNameHasBeenSet = true; m_layerName.assign(value); }
97 
101  inline ListLayerVersionsRequest& WithLayerName(const Aws::String& value) { SetLayerName(value); return *this;}
102 
106  inline ListLayerVersionsRequest& WithLayerName(Aws::String&& value) { SetLayerName(std::move(value)); return *this;}
107 
111  inline ListLayerVersionsRequest& WithLayerName(const char* value) { SetLayerName(value); return *this;}
112 
113 
117  inline const Aws::String& GetMarker() const{ return m_marker; }
118 
122  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
123 
127  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
128 
132  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
133 
137  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
138 
142  inline ListLayerVersionsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
143 
147  inline ListLayerVersionsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
148 
152  inline ListLayerVersionsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
153 
154 
158  inline int GetMaxItems() const{ return m_maxItems; }
159 
163  inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
164 
168  inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
169 
173  inline ListLayerVersionsRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;}
174 
175  private:
176 
177  Runtime m_compatibleRuntime;
178  bool m_compatibleRuntimeHasBeenSet;
179 
180  Aws::String m_layerName;
181  bool m_layerNameHasBeenSet;
182 
183  Aws::String m_marker;
184  bool m_markerHasBeenSet;
185 
186  int m_maxItems;
187  bool m_maxItemsHasBeenSet;
188  };
189 
190 } // namespace Model
191 } // namespace Lambda
192 } // namespace Aws
Aws::Lambda::Model::ListLayerVersionsRequest::GetMarker
const Aws::String & GetMarker() const
Definition: ListLayerVersionsRequest.h:117
Aws::Lambda::Model::ListLayerVersionsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Http::URI
Definition: URI.h:32
Aws::Lambda::Model::ListLayerVersionsRequest::WithMaxItems
ListLayerVersionsRequest & WithMaxItems(int value)
Definition: ListLayerVersionsRequest.h:173
Aws::Lambda::Model::ListLayerVersionsRequest::WithMarker
ListLayerVersionsRequest & WithMarker(const char *value)
Definition: ListLayerVersionsRequest.h:152
Aws::Lambda::Model::ListLayerVersionsRequest::SetMaxItems
void SetMaxItems(int value)
Definition: ListLayerVersionsRequest.h:168
Aws::Lambda::Model::ListLayerVersionsRequest::WithCompatibleRuntime
ListLayerVersionsRequest & WithCompatibleRuntime(Runtime &&value)
Definition: ListLayerVersionsRequest.h:70
Aws::Lambda::Model::ListLayerVersionsRequest::GetCompatibleRuntime
const Runtime & GetCompatibleRuntime() const
Definition: ListLayerVersionsRequest.h:45
Aws::Lambda::Model::ListLayerVersionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListLayerVersionsRequest.h:35
Aws::Lambda::Model::ListLayerVersionsRequest::WithLayerName
ListLayerVersionsRequest & WithLayerName(const char *value)
Definition: ListLayerVersionsRequest.h:111
Aws::Lambda::Model::ListLayerVersionsRequest::SetLayerName
void SetLayerName(const Aws::String &value)
Definition: ListLayerVersionsRequest.h:86
Aws::Lambda::Model::ListLayerVersionsRequest::WithLayerName
ListLayerVersionsRequest & WithLayerName(const Aws::String &value)
Definition: ListLayerVersionsRequest.h:101
Aws::Lambda::Model::Runtime
Runtime
Definition: Runtime.h:17
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::ListLayerVersionsRequest::GetMaxItems
int GetMaxItems() const
Definition: ListLayerVersionsRequest.h:158
Aws::Lambda::Model::ListLayerVersionsRequest::SetLayerName
void SetLayerName(const char *value)
Definition: ListLayerVersionsRequest.h:96
Aws::Lambda::Model::ListLayerVersionsRequest::SetCompatibleRuntime
void SetCompatibleRuntime(Runtime &&value)
Definition: ListLayerVersionsRequest.h:60
AWSString.h
Aws::Lambda::Model::ListLayerVersionsRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListLayerVersionsRequest.h:132
Aws::Lambda::Model::ListLayerVersionsRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: ListLayerVersionsRequest.h:122
LambdaRequest.h
Aws::Lambda::Model::ListLayerVersionsRequest::LayerNameHasBeenSet
bool LayerNameHasBeenSet() const
Definition: ListLayerVersionsRequest.h:81
Runtime.h
Aws::Lambda::LambdaRequest
Definition: LambdaRequest.h:18
Aws::Lambda::Model::ListLayerVersionsRequest::WithMarker
ListLayerVersionsRequest & WithMarker(Aws::String &&value)
Definition: ListLayerVersionsRequest.h:147
Aws::Lambda::Model::ListLayerVersionsRequest::WithCompatibleRuntime
ListLayerVersionsRequest & WithCompatibleRuntime(const Runtime &value)
Definition: ListLayerVersionsRequest.h:65
Aws::Lambda::Model::ListLayerVersionsRequest::SetLayerName
void SetLayerName(Aws::String &&value)
Definition: ListLayerVersionsRequest.h:91
Aws::Lambda::Model::ListLayerVersionsRequest
Definition: ListLayerVersionsRequest.h:27
Aws::Lambda::Model::ListLayerVersionsRequest::WithLayerName
ListLayerVersionsRequest & WithLayerName(Aws::String &&value)
Definition: ListLayerVersionsRequest.h:106
Aws::Lambda::Model::ListLayerVersionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Lambda::Model::ListLayerVersionsRequest::SetCompatibleRuntime
void SetCompatibleRuntime(const Runtime &value)
Definition: ListLayerVersionsRequest.h:55
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::ListLayerVersionsRequest::GetLayerName
const Aws::String & GetLayerName() const
Definition: ListLayerVersionsRequest.h:76
Aws::Lambda::Model::ListLayerVersionsRequest::CompatibleRuntimeHasBeenSet
bool CompatibleRuntimeHasBeenSet() const
Definition: ListLayerVersionsRequest.h:50
Aws::Lambda::Model::ListLayerVersionsRequest::MaxItemsHasBeenSet
bool MaxItemsHasBeenSet() const
Definition: ListLayerVersionsRequest.h:163
Aws::Lambda::Model::ListLayerVersionsRequest::WithMarker
ListLayerVersionsRequest & WithMarker(const Aws::String &value)
Definition: ListLayerVersionsRequest.h:142
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lambda::Model::ListLayerVersionsRequest::ListLayerVersionsRequest
ListLayerVersionsRequest()
Aws::Lambda::Model::ListLayerVersionsRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListLayerVersionsRequest.h:127
Lambda_EXPORTS.h
Aws::Lambda::Model::ListLayerVersionsRequest::SetMarker
void SetMarker(const char *value)
Definition: ListLayerVersionsRequest.h:137