AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListAliasesRequest.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 <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace Lambda
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_LAMBDA_API ListAliasesRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "ListAliases"; }
35
36 AWS_LAMBDA_API Aws::String SerializePayload() const override;
37
38 AWS_LAMBDA_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
52 inline const Aws::String& GetFunctionName() const { return m_functionName; }
53 inline bool FunctionNameHasBeenSet() const { return m_functionNameHasBeenSet; }
54 template<typename FunctionNameT = Aws::String>
55 void SetFunctionName(FunctionNameT&& value) { m_functionNameHasBeenSet = true; m_functionName = std::forward<FunctionNameT>(value); }
56 template<typename FunctionNameT = Aws::String>
57 ListAliasesRequest& WithFunctionName(FunctionNameT&& value) { SetFunctionName(std::forward<FunctionNameT>(value)); return *this;}
59
61
64 inline const Aws::String& GetFunctionVersion() const { return m_functionVersion; }
65 inline bool FunctionVersionHasBeenSet() const { return m_functionVersionHasBeenSet; }
66 template<typename FunctionVersionT = Aws::String>
67 void SetFunctionVersion(FunctionVersionT&& value) { m_functionVersionHasBeenSet = true; m_functionVersion = std::forward<FunctionVersionT>(value); }
68 template<typename FunctionVersionT = Aws::String>
69 ListAliasesRequest& WithFunctionVersion(FunctionVersionT&& value) { SetFunctionVersion(std::forward<FunctionVersionT>(value)); return *this;}
71
73
77 inline const Aws::String& GetMarker() const { return m_marker; }
78 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
79 template<typename MarkerT = Aws::String>
80 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
81 template<typename MarkerT = Aws::String>
82 ListAliasesRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
84
86
89 inline int GetMaxItems() const { return m_maxItems; }
90 inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
91 inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
92 inline ListAliasesRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;}
94 private:
95
96 Aws::String m_functionName;
97 bool m_functionNameHasBeenSet = false;
98
99 Aws::String m_functionVersion;
100 bool m_functionVersionHasBeenSet = false;
101
102 Aws::String m_marker;
103 bool m_markerHasBeenSet = false;
104
105 int m_maxItems{0};
106 bool m_maxItemsHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace Lambda
111} // 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