AWS SDK for C++

AWS SDK for C++ Version 1.11.785

Loading...
Searching...
No Matches
ListFunctionsResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/lambda/Lambda_EXPORTS.h>
11#include <aws/lambda/model/FunctionConfiguration.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Lambda {
25namespace Model {
32 public:
33 AWS_LAMBDA_API ListFunctionsResult() = default;
36
38
41 inline const Aws::String& GetNextMarker() const { return m_nextMarker; }
42 template <typename NextMarkerT = Aws::String>
43 void SetNextMarker(NextMarkerT&& value) {
44 m_nextMarkerHasBeenSet = true;
45 m_nextMarker = std::forward<NextMarkerT>(value);
46 }
47 template <typename NextMarkerT = Aws::String>
48 ListFunctionsResult& WithNextMarker(NextMarkerT&& value) {
49 SetNextMarker(std::forward<NextMarkerT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::Vector<FunctionConfiguration>& GetFunctions() const { return m_functions; }
59 template <typename FunctionsT = Aws::Vector<FunctionConfiguration>>
60 void SetFunctions(FunctionsT&& value) {
61 m_functionsHasBeenSet = true;
62 m_functions = std::forward<FunctionsT>(value);
63 }
64 template <typename FunctionsT = Aws::Vector<FunctionConfiguration>>
65 ListFunctionsResult& WithFunctions(FunctionsT&& value) {
66 SetFunctions(std::forward<FunctionsT>(value));
67 return *this;
68 }
69 template <typename FunctionsT = FunctionConfiguration>
70 ListFunctionsResult& AddFunctions(FunctionsT&& value) {
71 m_functionsHasBeenSet = true;
72 m_functions.emplace_back(std::forward<FunctionsT>(value));
73 return *this;
74 }
76
78
79 inline const Aws::String& GetRequestId() const { return m_requestId; }
80 template <typename RequestIdT = Aws::String>
81 void SetRequestId(RequestIdT&& value) {
82 m_requestIdHasBeenSet = true;
83 m_requestId = std::forward<RequestIdT>(value);
84 }
85 template <typename RequestIdT = Aws::String>
86 ListFunctionsResult& WithRequestId(RequestIdT&& value) {
87 SetRequestId(std::forward<RequestIdT>(value));
88 return *this;
89 }
91 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
92
93 private:
94 Aws::String m_nextMarker;
95
97
98 Aws::String m_requestId;
99 Aws::Http::HttpResponseCode m_HttpResponseCode;
100 bool m_nextMarkerHasBeenSet = false;
101 bool m_functionsHasBeenSet = false;
102 bool m_requestIdHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace Lambda
107} // namespace Aws
AWS_LAMBDA_API ListFunctionsResult()=default
AWS_LAMBDA_API ListFunctionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListFunctionsResult & WithNextMarker(NextMarkerT &&value)
ListFunctionsResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< FunctionConfiguration > & GetFunctions() const
AWS_LAMBDA_API ListFunctionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListFunctionsResult & AddFunctions(FunctionsT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetNextMarker() const
ListFunctionsResult & WithFunctions(FunctionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue