AWS SDK for C++  1.9.20
AWS SDK for C++
ListLayersRequest.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 "ListLayers"; }
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 ListLayersRequest& WithCompatibleRuntime(const Runtime& value) { SetCompatibleRuntime(value); return *this;}
66 
70  inline ListLayersRequest& WithCompatibleRuntime(Runtime&& value) { SetCompatibleRuntime(std::move(value)); return *this;}
71 
72 
76  inline const Aws::String& GetMarker() const{ return m_marker; }
77 
81  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
82 
86  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
87 
91  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
92 
96  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
97 
101  inline ListLayersRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
102 
106  inline ListLayersRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
107 
111  inline ListLayersRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
112 
113 
117  inline int GetMaxItems() const{ return m_maxItems; }
118 
122  inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
123 
127  inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
128 
132  inline ListLayersRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;}
133 
134  private:
135 
136  Runtime m_compatibleRuntime;
137  bool m_compatibleRuntimeHasBeenSet;
138 
139  Aws::String m_marker;
140  bool m_markerHasBeenSet;
141 
142  int m_maxItems;
143  bool m_maxItemsHasBeenSet;
144  };
145 
146 } // namespace Model
147 } // namespace Lambda
148 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::Lambda::Model::ListLayersRequest::ListLayersRequest
ListLayersRequest()
Aws::Lambda::Model::ListLayersRequest
Definition: ListLayersRequest.h:27
Aws::Lambda::Model::ListLayersRequest::WithMarker
ListLayersRequest & WithMarker(const Aws::String &value)
Definition: ListLayersRequest.h:101
Aws::Lambda::Model::ListLayersRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListLayersRequest.h:86
Aws::Lambda::Model::ListLayersRequest::WithCompatibleRuntime
ListLayersRequest & WithCompatibleRuntime(const Runtime &value)
Definition: ListLayersRequest.h:65
Aws::Lambda::Model::Runtime
Runtime
Definition: Runtime.h:17
Aws::Lambda::Model::ListLayersRequest::WithMarker
ListLayersRequest & WithMarker(const char *value)
Definition: ListLayersRequest.h:111
Aws::Lambda::Model::ListLayersRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Lambda::Model::ListLayersRequest::SetMaxItems
void SetMaxItems(int value)
Definition: ListLayersRequest.h:127
Aws::Lambda::Model::ListLayersRequest::GetMaxItems
int GetMaxItems() const
Definition: ListLayersRequest.h:117
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:55
Aws::Lambda::Model::ListLayersRequest::WithMaxItems
ListLayersRequest & WithMaxItems(int value)
Definition: ListLayersRequest.h:132
Aws::Lambda::Model::ListLayersRequest::CompatibleRuntimeHasBeenSet
bool CompatibleRuntimeHasBeenSet() const
Definition: ListLayersRequest.h:50
Aws::Lambda::Model::ListLayersRequest::MaxItemsHasBeenSet
bool MaxItemsHasBeenSet() const
Definition: ListLayersRequest.h:122
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:45
LambdaRequest.h
Runtime.h
Aws::Lambda::LambdaRequest
Definition: LambdaRequest.h:18
Aws::Lambda::Model::ListLayersRequest::WithCompatibleRuntime
ListLayersRequest & WithCompatibleRuntime(Runtime &&value)
Definition: ListLayersRequest.h:70
Aws::Lambda::Model::ListLayersRequest::SetCompatibleRuntime
void SetCompatibleRuntime(Runtime &&value)
Definition: ListLayersRequest.h:60
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::ListLayersRequest::GetMarker
const Aws::String & GetMarker() const
Definition: ListLayersRequest.h:76
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lambda::Model::ListLayersRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: ListLayersRequest.h:81
Aws::Lambda::Model::ListLayersRequest::SetMarker
void SetMarker(const char *value)
Definition: ListLayersRequest.h:96
Aws::Lambda::Model::ListLayersRequest::WithMarker
ListLayersRequest & WithMarker(Aws::String &&value)
Definition: ListLayersRequest.h:106
Lambda_EXPORTS.h
Aws::Lambda::Model::ListLayersRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListLayersRequest.h:91
Aws::Lambda::Model::ListLayersRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListLayersRequest.h:35