AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
ListAliasesRequest.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
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace Lambda {
18namespace Model {
19
23 public:
24 AWS_LAMBDA_API ListAliasesRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "ListAliases"; }
31
32 AWS_LAMBDA_API Aws::String SerializePayload() const override;
33
34 AWS_LAMBDA_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
47 inline const Aws::String& GetFunctionName() const { return m_functionName; }
48 inline bool FunctionNameHasBeenSet() const { return m_functionNameHasBeenSet; }
49 template <typename FunctionNameT = Aws::String>
50 void SetFunctionName(FunctionNameT&& value) {
51 m_functionNameHasBeenSet = true;
52 m_functionName = std::forward<FunctionNameT>(value);
53 }
54 template <typename FunctionNameT = Aws::String>
55 ListAliasesRequest& WithFunctionName(FunctionNameT&& value) {
56 SetFunctionName(std::forward<FunctionNameT>(value));
57 return *this;
58 }
60
62
65 inline const Aws::String& GetFunctionVersion() const { return m_functionVersion; }
66 inline bool FunctionVersionHasBeenSet() const { return m_functionVersionHasBeenSet; }
67 template <typename FunctionVersionT = Aws::String>
68 void SetFunctionVersion(FunctionVersionT&& value) {
69 m_functionVersionHasBeenSet = true;
70 m_functionVersion = std::forward<FunctionVersionT>(value);
71 }
72 template <typename FunctionVersionT = Aws::String>
73 ListAliasesRequest& WithFunctionVersion(FunctionVersionT&& value) {
74 SetFunctionVersion(std::forward<FunctionVersionT>(value));
75 return *this;
76 }
78
80
84 inline const Aws::String& GetMarker() const { return m_marker; }
85 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
86 template <typename MarkerT = Aws::String>
87 void SetMarker(MarkerT&& value) {
88 m_markerHasBeenSet = true;
89 m_marker = std::forward<MarkerT>(value);
90 }
91 template <typename MarkerT = Aws::String>
92 ListAliasesRequest& WithMarker(MarkerT&& value) {
93 SetMarker(std::forward<MarkerT>(value));
94 return *this;
95 }
97
99
102 inline int GetMaxItems() const { return m_maxItems; }
103 inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
104 inline void SetMaxItems(int value) {
105 m_maxItemsHasBeenSet = true;
106 m_maxItems = value;
107 }
108 inline ListAliasesRequest& WithMaxItems(int value) {
109 SetMaxItems(value);
110 return *this;
111 }
113 private:
114 Aws::String m_functionName;
115 bool m_functionNameHasBeenSet = false;
116
117 Aws::String m_functionVersion;
118 bool m_functionVersionHasBeenSet = false;
119
120 Aws::String m_marker;
121 bool m_markerHasBeenSet = false;
122
123 int m_maxItems{0};
124 bool m_maxItemsHasBeenSet = false;
125};
126
127} // namespace Model
128} // namespace Lambda
129} // namespace Aws
void SetFunctionName(FunctionNameT &&value)
const Aws::String & GetMarker() const
ListAliasesRequest & WithFunctionVersion(FunctionVersionT &&value)
ListAliasesRequest & WithMaxItems(int value)
void SetFunctionVersion(FunctionVersionT &&value)
const Aws::String & GetFunctionName() const
ListAliasesRequest & WithFunctionName(FunctionNameT &&value)
AWS_LAMBDA_API Aws::String SerializePayload() const override
ListAliasesRequest & WithMarker(MarkerT &&value)
AWS_LAMBDA_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
const Aws::String & GetFunctionVersion() const
virtual const char * GetServiceRequestName() const override
AWS_LAMBDA_API ListAliasesRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String