AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
ListFunctionsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lambda/LambdaRequest.h>
9#include <aws/lambda/Lambda_EXPORTS.h>
10#include <aws/lambda/model/FunctionVersion.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace Lambda {
19namespace Model {
20
24 public:
25 AWS_LAMBDA_API ListFunctionsRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ListFunctions"; }
32
33 AWS_LAMBDA_API Aws::String SerializePayload() const override;
34
35 AWS_LAMBDA_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
45 inline const Aws::String& GetMasterRegion() const { return m_masterRegion; }
46 inline bool MasterRegionHasBeenSet() const { return m_masterRegionHasBeenSet; }
47 template <typename MasterRegionT = Aws::String>
48 void SetMasterRegion(MasterRegionT&& value) {
49 m_masterRegionHasBeenSet = true;
50 m_masterRegion = std::forward<MasterRegionT>(value);
51 }
52 template <typename MasterRegionT = Aws::String>
53 ListFunctionsRequest& WithMasterRegion(MasterRegionT&& value) {
54 SetMasterRegion(std::forward<MasterRegionT>(value));
55 return *this;
56 }
58
60
64 inline FunctionVersion GetFunctionVersion() const { return m_functionVersion; }
65 inline bool FunctionVersionHasBeenSet() const { return m_functionVersionHasBeenSet; }
67 m_functionVersionHasBeenSet = true;
68 m_functionVersion = value;
69 }
71 SetFunctionVersion(value);
72 return *this;
73 }
75
77
81 inline const Aws::String& GetMarker() const { return m_marker; }
82 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
83 template <typename MarkerT = Aws::String>
84 void SetMarker(MarkerT&& value) {
85 m_markerHasBeenSet = true;
86 m_marker = std::forward<MarkerT>(value);
87 }
88 template <typename MarkerT = Aws::String>
89 ListFunctionsRequest& WithMarker(MarkerT&& value) {
90 SetMarker(std::forward<MarkerT>(value));
91 return *this;
92 }
94
96
101 inline int GetMaxItems() const { return m_maxItems; }
102 inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
103 inline void SetMaxItems(int value) {
104 m_maxItemsHasBeenSet = true;
105 m_maxItems = value;
106 }
108 SetMaxItems(value);
109 return *this;
110 }
112 private:
113 Aws::String m_masterRegion;
114 bool m_masterRegionHasBeenSet = false;
115
116 FunctionVersion m_functionVersion{FunctionVersion::NOT_SET};
117 bool m_functionVersionHasBeenSet = false;
118
119 Aws::String m_marker;
120 bool m_markerHasBeenSet = false;
121
122 int m_maxItems{0};
123 bool m_maxItemsHasBeenSet = false;
124};
125
126} // namespace Model
127} // namespace Lambda
128} // 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