AWS SDK for C++  1.9.129
AWS SDK for C++
ListFunctionsRequest.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 "ListFunctions"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40 
41 
49  inline const Aws::String& GetMasterRegion() const{ return m_masterRegion; }
50 
58  inline bool MasterRegionHasBeenSet() const { return m_masterRegionHasBeenSet; }
59 
67  inline void SetMasterRegion(const Aws::String& value) { m_masterRegionHasBeenSet = true; m_masterRegion = value; }
68 
76  inline void SetMasterRegion(Aws::String&& value) { m_masterRegionHasBeenSet = true; m_masterRegion = std::move(value); }
77 
85  inline void SetMasterRegion(const char* value) { m_masterRegionHasBeenSet = true; m_masterRegion.assign(value); }
86 
94  inline ListFunctionsRequest& WithMasterRegion(const Aws::String& value) { SetMasterRegion(value); return *this;}
95 
103  inline ListFunctionsRequest& WithMasterRegion(Aws::String&& value) { SetMasterRegion(std::move(value)); return *this;}
104 
112  inline ListFunctionsRequest& WithMasterRegion(const char* value) { SetMasterRegion(value); return *this;}
113 
114 
119  inline const FunctionVersion& GetFunctionVersion() const{ return m_functionVersion; }
120 
125  inline bool FunctionVersionHasBeenSet() const { return m_functionVersionHasBeenSet; }
126 
131  inline void SetFunctionVersion(const FunctionVersion& value) { m_functionVersionHasBeenSet = true; m_functionVersion = value; }
132 
137  inline void SetFunctionVersion(FunctionVersion&& value) { m_functionVersionHasBeenSet = true; m_functionVersion = std::move(value); }
138 
143  inline ListFunctionsRequest& WithFunctionVersion(const FunctionVersion& value) { SetFunctionVersion(value); return *this;}
144 
149  inline ListFunctionsRequest& WithFunctionVersion(FunctionVersion&& value) { SetFunctionVersion(std::move(value)); return *this;}
150 
151 
156  inline const Aws::String& GetMarker() const{ return m_marker; }
157 
162  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
163 
168  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
169 
174  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
175 
180  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
181 
186  inline ListFunctionsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
187 
192  inline ListFunctionsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
193 
198  inline ListFunctionsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
199 
200 
206  inline int GetMaxItems() const{ return m_maxItems; }
207 
213  inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
214 
220  inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
221 
227  inline ListFunctionsRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;}
228 
229  private:
230 
231  Aws::String m_masterRegion;
232  bool m_masterRegionHasBeenSet;
233 
234  FunctionVersion m_functionVersion;
235  bool m_functionVersionHasBeenSet;
236 
237  Aws::String m_marker;
238  bool m_markerHasBeenSet;
239 
240  int m_maxItems;
241  bool m_maxItemsHasBeenSet;
242  };
243 
244 } // namespace Model
245 } // namespace Lambda
246 } // namespace Aws
Aws::Lambda::Model::ListFunctionsRequest::GetMarker
const Aws::String & GetMarker() const
Definition: ListFunctionsRequest.h:156
Aws::Lambda::Model::ListFunctionsRequest::FunctionVersionHasBeenSet
bool FunctionVersionHasBeenSet() const
Definition: ListFunctionsRequest.h:125
Aws::Lambda::Model::ListFunctionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Lambda::Model::ListFunctionsRequest::MasterRegionHasBeenSet
bool MasterRegionHasBeenSet() const
Definition: ListFunctionsRequest.h:58
Aws::Lambda::Model::ListFunctionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListFunctionsRequest.h:35
Aws::Http::URI
Definition: URI.h:32
Aws::Lambda::Model::ListFunctionsRequest::WithFunctionVersion
ListFunctionsRequest & WithFunctionVersion(FunctionVersion &&value)
Definition: ListFunctionsRequest.h:149
Aws::Lambda::Model::ListFunctionsRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListFunctionsRequest.h:174
Aws::Lambda::Model::ListFunctionsRequest::SetMasterRegion
void SetMasterRegion(const char *value)
Definition: ListFunctionsRequest.h:85
Aws::Lambda::Model::ListFunctionsRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListFunctionsRequest.h:168
Aws::Lambda::Model::ListFunctionsRequest::WithMasterRegion
ListFunctionsRequest & WithMasterRegion(Aws::String &&value)
Definition: ListFunctionsRequest.h:103
Aws::Lambda::Model::ListFunctionsRequest::WithFunctionVersion
ListFunctionsRequest & WithFunctionVersion(const FunctionVersion &value)
Definition: ListFunctionsRequest.h:143
Aws::Lambda::Model::ListFunctionsRequest
Definition: ListFunctionsRequest.h:27
Aws::Lambda::Model::ListFunctionsRequest::SetMarker
void SetMarker(const char *value)
Definition: ListFunctionsRequest.h:180
Aws::Lambda::Model::ListFunctionsRequest::SetMaxItems
void SetMaxItems(int value)
Definition: ListFunctionsRequest.h:220
Aws::Lambda::Model::ListFunctionsRequest::WithMarker
ListFunctionsRequest & WithMarker(Aws::String &&value)
Definition: ListFunctionsRequest.h:192
Aws::Lambda::Model::ListFunctionsRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: ListFunctionsRequest.h:162
Aws::Lambda::Model::ListFunctionsRequest::MaxItemsHasBeenSet
bool MaxItemsHasBeenSet() const
Definition: ListFunctionsRequest.h:213
Aws::Lambda::Model::ListFunctionsRequest::SetFunctionVersion
void SetFunctionVersion(const FunctionVersion &value)
Definition: ListFunctionsRequest.h:131
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
FunctionVersion.h
Aws::Lambda::Model::ListFunctionsRequest::WithMarker
ListFunctionsRequest & WithMarker(const char *value)
Definition: ListFunctionsRequest.h:198
Aws::Lambda::Model::ListFunctionsRequest::ListFunctionsRequest
ListFunctionsRequest()
Aws::Lambda::Model::FunctionVersion
FunctionVersion
Definition: FunctionVersion.h:17
Aws::Lambda::Model::ListFunctionsRequest::WithMasterRegion
ListFunctionsRequest & WithMasterRegion(const Aws::String &value)
Definition: ListFunctionsRequest.h:94
Aws::Lambda::Model::ListFunctionsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Lambda::Model::ListFunctionsRequest::GetMasterRegion
const Aws::String & GetMasterRegion() const
Definition: ListFunctionsRequest.h:49
Aws::Lambda::Model::ListFunctionsRequest::WithMaxItems
ListFunctionsRequest & WithMaxItems(int value)
Definition: ListFunctionsRequest.h:227
AWSString.h
LambdaRequest.h
Aws::Lambda::LambdaRequest
Definition: LambdaRequest.h:18
Aws::Lambda::Model::ListFunctionsRequest::WithMarker
ListFunctionsRequest & WithMarker(const Aws::String &value)
Definition: ListFunctionsRequest.h:186
Aws::Lambda::Model::ListFunctionsRequest::GetMaxItems
int GetMaxItems() const
Definition: ListFunctionsRequest.h:206
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::ListFunctionsRequest::SetMasterRegion
void SetMasterRegion(const Aws::String &value)
Definition: ListFunctionsRequest.h:67
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lambda::Model::ListFunctionsRequest::SetFunctionVersion
void SetFunctionVersion(FunctionVersion &&value)
Definition: ListFunctionsRequest.h:137
Aws::Lambda::Model::ListFunctionsRequest::SetMasterRegion
void SetMasterRegion(Aws::String &&value)
Definition: ListFunctionsRequest.h:76
Aws::Lambda::Model::ListFunctionsRequest::WithMasterRegion
ListFunctionsRequest & WithMasterRegion(const char *value)
Definition: ListFunctionsRequest.h:112
Lambda_EXPORTS.h
Aws::Lambda::Model::ListFunctionsRequest::GetFunctionVersion
const FunctionVersion & GetFunctionVersion() const
Definition: ListFunctionsRequest.h:119