AWS SDK for C++  1.9.123
AWS SDK for C++
ListLayerVersionsRequest.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 "ListLayerVersions"; }
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 ListLayerVersionsRequest& WithCompatibleRuntime(const Runtime& value) { SetCompatibleRuntime(value); return *this;}
67 
71  inline ListLayerVersionsRequest& WithCompatibleRuntime(Runtime&& value) { SetCompatibleRuntime(std::move(value)); return *this;}
72 
73 
77  inline const Aws::String& GetLayerName() const{ return m_layerName; }
78 
82  inline bool LayerNameHasBeenSet() const { return m_layerNameHasBeenSet; }
83 
87  inline void SetLayerName(const Aws::String& value) { m_layerNameHasBeenSet = true; m_layerName = value; }
88 
92  inline void SetLayerName(Aws::String&& value) { m_layerNameHasBeenSet = true; m_layerName = std::move(value); }
93 
97  inline void SetLayerName(const char* value) { m_layerNameHasBeenSet = true; m_layerName.assign(value); }
98 
102  inline ListLayerVersionsRequest& WithLayerName(const Aws::String& value) { SetLayerName(value); return *this;}
103 
107  inline ListLayerVersionsRequest& WithLayerName(Aws::String&& value) { SetLayerName(std::move(value)); return *this;}
108 
112  inline ListLayerVersionsRequest& WithLayerName(const char* value) { SetLayerName(value); return *this;}
113 
114 
118  inline const Aws::String& GetMarker() const{ return m_marker; }
119 
123  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
124 
128  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
129 
133  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
134 
138  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
139 
143  inline ListLayerVersionsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
144 
148  inline ListLayerVersionsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
149 
153  inline ListLayerVersionsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
154 
155 
159  inline int GetMaxItems() const{ return m_maxItems; }
160 
164  inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
165 
169  inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
170 
174  inline ListLayerVersionsRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;}
175 
176 
182  inline const Architecture& GetCompatibleArchitecture() const{ return m_compatibleArchitecture; }
183 
189  inline bool CompatibleArchitectureHasBeenSet() const { return m_compatibleArchitectureHasBeenSet; }
190 
196  inline void SetCompatibleArchitecture(const Architecture& value) { m_compatibleArchitectureHasBeenSet = true; m_compatibleArchitecture = value; }
197 
203  inline void SetCompatibleArchitecture(Architecture&& value) { m_compatibleArchitectureHasBeenSet = true; m_compatibleArchitecture = std::move(value); }
204 
210  inline ListLayerVersionsRequest& WithCompatibleArchitecture(const Architecture& value) { SetCompatibleArchitecture(value); return *this;}
211 
217  inline ListLayerVersionsRequest& WithCompatibleArchitecture(Architecture&& value) { SetCompatibleArchitecture(std::move(value)); return *this;}
218 
219  private:
220 
221  Runtime m_compatibleRuntime;
222  bool m_compatibleRuntimeHasBeenSet;
223 
224  Aws::String m_layerName;
225  bool m_layerNameHasBeenSet;
226 
227  Aws::String m_marker;
228  bool m_markerHasBeenSet;
229 
230  int m_maxItems;
231  bool m_maxItemsHasBeenSet;
232 
233  Architecture m_compatibleArchitecture;
234  bool m_compatibleArchitectureHasBeenSet;
235  };
236 
237 } // namespace Model
238 } // namespace Lambda
239 } // namespace Aws
Aws::Lambda::Model::ListLayerVersionsRequest::GetMarker
const Aws::String & GetMarker() const
Definition: ListLayerVersionsRequest.h:118
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:174
Aws::Lambda::Model::ListLayerVersionsRequest::WithCompatibleArchitecture
ListLayerVersionsRequest & WithCompatibleArchitecture(Architecture &&value)
Definition: ListLayerVersionsRequest.h:217
Aws::Lambda::Model::ListLayerVersionsRequest::WithMarker
ListLayerVersionsRequest & WithMarker(const char *value)
Definition: ListLayerVersionsRequest.h:153
Aws::Lambda::Model::ListLayerVersionsRequest::SetMaxItems
void SetMaxItems(int value)
Definition: ListLayerVersionsRequest.h:169
Aws::Lambda::Model::ListLayerVersionsRequest::WithCompatibleRuntime
ListLayerVersionsRequest & WithCompatibleRuntime(Runtime &&value)
Definition: ListLayerVersionsRequest.h:71
Runtime.h
Aws::Lambda::Model::ListLayerVersionsRequest::GetCompatibleRuntime
const Runtime & GetCompatibleRuntime() const
Definition: ListLayerVersionsRequest.h:46
Aws::Lambda::Model::ListLayerVersionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListLayerVersionsRequest.h:36
Aws::Lambda::Model::ListLayerVersionsRequest::WithLayerName
ListLayerVersionsRequest & WithLayerName(const char *value)
Definition: ListLayerVersionsRequest.h:112
Aws::Lambda::Model::ListLayerVersionsRequest::CompatibleArchitectureHasBeenSet
bool CompatibleArchitectureHasBeenSet() const
Definition: ListLayerVersionsRequest.h:189
Aws::Lambda::Model::ListLayerVersionsRequest::SetCompatibleArchitecture
void SetCompatibleArchitecture(const Architecture &value)
Definition: ListLayerVersionsRequest.h:196
Aws::Lambda::Model::ListLayerVersionsRequest::SetLayerName
void SetLayerName(const Aws::String &value)
Definition: ListLayerVersionsRequest.h:87
Aws::Lambda::Model::ListLayerVersionsRequest::WithLayerName
ListLayerVersionsRequest & WithLayerName(const Aws::String &value)
Definition: ListLayerVersionsRequest.h:102
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:159
Aws::Lambda::Model::ListLayerVersionsRequest::SetLayerName
void SetLayerName(const char *value)
Definition: ListLayerVersionsRequest.h:97
Aws::Lambda::Model::ListLayerVersionsRequest::SetCompatibleRuntime
void SetCompatibleRuntime(Runtime &&value)
Definition: ListLayerVersionsRequest.h:61
Aws::Lambda::Model::ListLayerVersionsRequest::GetCompatibleArchitecture
const Architecture & GetCompatibleArchitecture() const
Definition: ListLayerVersionsRequest.h:182
Architecture.h
AWSString.h
Aws::Lambda::Model::ListLayerVersionsRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListLayerVersionsRequest.h:133
Aws::Lambda::Model::ListLayerVersionsRequest::SetCompatibleArchitecture
void SetCompatibleArchitecture(Architecture &&value)
Definition: ListLayerVersionsRequest.h:203
Aws::Lambda::Model::ListLayerVersionsRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: ListLayerVersionsRequest.h:123
LambdaRequest.h
Aws::Lambda::Model::ListLayerVersionsRequest::LayerNameHasBeenSet
bool LayerNameHasBeenSet() const
Definition: ListLayerVersionsRequest.h:82
Aws::Lambda::LambdaRequest
Definition: LambdaRequest.h:18
Aws::Lambda::Model::ListLayerVersionsRequest::WithMarker
ListLayerVersionsRequest & WithMarker(Aws::String &&value)
Definition: ListLayerVersionsRequest.h:148
Aws::Lambda::Model::ListLayerVersionsRequest::WithCompatibleRuntime
ListLayerVersionsRequest & WithCompatibleRuntime(const Runtime &value)
Definition: ListLayerVersionsRequest.h:66
Aws::Lambda::Model::ListLayerVersionsRequest::SetLayerName
void SetLayerName(Aws::String &&value)
Definition: ListLayerVersionsRequest.h:92
Aws::Lambda::Model::ListLayerVersionsRequest
Definition: ListLayerVersionsRequest.h:28
Aws::Lambda::Model::ListLayerVersionsRequest::WithLayerName
ListLayerVersionsRequest & WithLayerName(Aws::String &&value)
Definition: ListLayerVersionsRequest.h:107
Aws::Lambda::Model::ListLayerVersionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Lambda::Model::ListLayerVersionsRequest::SetCompatibleRuntime
void SetCompatibleRuntime(const Runtime &value)
Definition: ListLayerVersionsRequest.h:56
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:77
Aws::Lambda::Model::Architecture
Architecture
Definition: Architecture.h:17
Aws::Lambda::Model::ListLayerVersionsRequest::CompatibleRuntimeHasBeenSet
bool CompatibleRuntimeHasBeenSet() const
Definition: ListLayerVersionsRequest.h:51
Aws::Lambda::Model::ListLayerVersionsRequest::MaxItemsHasBeenSet
bool MaxItemsHasBeenSet() const
Definition: ListLayerVersionsRequest.h:164
Aws::Lambda::Model::ListLayerVersionsRequest::WithMarker
ListLayerVersionsRequest & WithMarker(const Aws::String &value)
Definition: ListLayerVersionsRequest.h:143
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:128
Aws::Lambda::Model::ListLayerVersionsRequest::WithCompatibleArchitecture
ListLayerVersionsRequest & WithCompatibleArchitecture(const Architecture &value)
Definition: ListLayerVersionsRequest.h:210
Lambda_EXPORTS.h
Aws::Lambda::Model::ListLayerVersionsRequest::SetMarker
void SetMarker(const char *value)
Definition: ListLayerVersionsRequest.h:138