AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetMasterRegion(const Aws::String& value) { m_masterRegionHasBeenSet = true; m_masterRegion = value; }
53 inline void SetMasterRegion(Aws::String&& value) { m_masterRegionHasBeenSet = true; m_masterRegion = std::move(value); }
54 inline void SetMasterRegion(const char* value) { m_masterRegionHasBeenSet = true; m_masterRegion.assign(value); }
55 inline ListFunctionsRequest& WithMasterRegion(const Aws::String& value) { SetMasterRegion(value); return *this;}
56 inline ListFunctionsRequest& WithMasterRegion(Aws::String&& value) { SetMasterRegion(std::move(value)); return *this;}
57 inline ListFunctionsRequest& WithMasterRegion(const char* value) { SetMasterRegion(value); return *this;}
59
61
65 inline const FunctionVersion& GetFunctionVersion() const{ return m_functionVersion; }
66 inline bool FunctionVersionHasBeenSet() const { return m_functionVersionHasBeenSet; }
67 inline void SetFunctionVersion(const FunctionVersion& value) { m_functionVersionHasBeenSet = true; m_functionVersion = value; }
68 inline void SetFunctionVersion(FunctionVersion&& value) { m_functionVersionHasBeenSet = true; m_functionVersion = std::move(value); }
69 inline ListFunctionsRequest& WithFunctionVersion(const FunctionVersion& value) { SetFunctionVersion(value); return *this;}
70 inline ListFunctionsRequest& WithFunctionVersion(FunctionVersion&& value) { SetFunctionVersion(std::move(value)); return *this;}
72
74
78 inline const Aws::String& GetMarker() const{ return m_marker; }
79 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
80 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
81 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
82 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
83 inline ListFunctionsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
84 inline ListFunctionsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
85 inline ListFunctionsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
87
89
94 inline int GetMaxItems() const{ return m_maxItems; }
95 inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
96 inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
97 inline ListFunctionsRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;}
99 private:
100
101 Aws::String m_masterRegion;
102 bool m_masterRegionHasBeenSet = false;
103
104 FunctionVersion m_functionVersion;
105 bool m_functionVersionHasBeenSet = false;
106
107 Aws::String m_marker;
108 bool m_markerHasBeenSet = false;
109
110 int m_maxItems;
111 bool m_maxItemsHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace Lambda
116} // namespace Aws
ListFunctionsRequest & WithMarker(Aws::String &&value)
void SetFunctionVersion(const FunctionVersion &value)
ListFunctionsRequest & WithFunctionVersion(const FunctionVersion &value)
ListFunctionsRequest & WithMarker(const Aws::String &value)
ListFunctionsRequest & WithMasterRegion(Aws::String &&value)
const FunctionVersion & GetFunctionVersion() const
ListFunctionsRequest & WithFunctionVersion(FunctionVersion &&value)
ListFunctionsRequest & WithMarker(const char *value)
void SetMarker(const Aws::String &value)
ListFunctionsRequest & WithMasterRegion(const Aws::String &value)
ListFunctionsRequest & WithMaxItems(int value)
AWS_LAMBDA_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetMasterRegion(const Aws::String &value)
void SetFunctionVersion(FunctionVersion &&value)
ListFunctionsRequest & WithMasterRegion(const char *value)
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