AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListFunctionsRequest.h
1
6#pragma once
7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/lambda/LambdaRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lambda/model/FunctionVersion.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace Lambda
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_LAMBDA_API ListFunctionsRequest() = default;
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_LAMBDA_API Aws::String SerializePayload() const override;
38
39 AWS_LAMBDA_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
50 inline const Aws::String& GetMasterRegion() const { return m_masterRegion; }
51 inline bool MasterRegionHasBeenSet() const { return m_masterRegionHasBeenSet; }
52 template<typename MasterRegionT = Aws::String>
53 void SetMasterRegion(MasterRegionT&& value) { m_masterRegionHasBeenSet = true; m_masterRegion = std::forward<MasterRegionT>(value); }
54 template<typename MasterRegionT = Aws::String>
55 ListFunctionsRequest& WithMasterRegion(MasterRegionT&& value) { SetMasterRegion(std::forward<MasterRegionT>(value)); return *this;}
57
59
63 inline FunctionVersion GetFunctionVersion() const { return m_functionVersion; }
64 inline bool FunctionVersionHasBeenSet() const { return m_functionVersionHasBeenSet; }
65 inline void SetFunctionVersion(FunctionVersion value) { m_functionVersionHasBeenSet = true; m_functionVersion = value; }
68
70
74 inline const Aws::String& GetMarker() const { return m_marker; }
75 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
76 template<typename MarkerT = Aws::String>
77 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
78 template<typename MarkerT = Aws::String>
79 ListFunctionsRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
81
83
88 inline int GetMaxItems() const { return m_maxItems; }
89 inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
90 inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
91 inline ListFunctionsRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;}
93 private:
94
95 Aws::String m_masterRegion;
96 bool m_masterRegionHasBeenSet = false;
97
99 bool m_functionVersionHasBeenSet = false;
100
101 Aws::String m_marker;
102 bool m_markerHasBeenSet = false;
103
104 int m_maxItems{0};
105 bool m_maxItemsHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace Lambda
110} // namespace Aws
ListFunctionsRequest & WithMarker(MarkerT &&value)
void SetFunctionVersion(FunctionVersion value)
AWS_LAMBDA_API ListFunctionsRequest()=default
ListFunctionsRequest & WithMaxItems(int value)
ListFunctionsRequest & WithFunctionVersion(FunctionVersion value)
ListFunctionsRequest & WithMasterRegion(MasterRegionT &&value)
AWS_LAMBDA_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_LAMBDA_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String