AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ListFunctionsResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/lambda/Lambda_EXPORTS.h>
10#include <aws/lambda/model/FunctionConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Lambda {
24namespace Model {
31 public:
32 AWS_LAMBDA_API ListFunctionsResult() = default;
35
37
40 inline const Aws::String& GetNextMarker() const { return m_nextMarker; }
41 template <typename NextMarkerT = Aws::String>
42 void SetNextMarker(NextMarkerT&& value) {
43 m_nextMarkerHasBeenSet = true;
44 m_nextMarker = std::forward<NextMarkerT>(value);
45 }
46 template <typename NextMarkerT = Aws::String>
47 ListFunctionsResult& WithNextMarker(NextMarkerT&& value) {
48 SetNextMarker(std::forward<NextMarkerT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::Vector<FunctionConfiguration>& GetFunctions() const { return m_functions; }
58 template <typename FunctionsT = Aws::Vector<FunctionConfiguration>>
59 void SetFunctions(FunctionsT&& value) {
60 m_functionsHasBeenSet = true;
61 m_functions = std::forward<FunctionsT>(value);
62 }
63 template <typename FunctionsT = Aws::Vector<FunctionConfiguration>>
64 ListFunctionsResult& WithFunctions(FunctionsT&& value) {
65 SetFunctions(std::forward<FunctionsT>(value));
66 return *this;
67 }
68 template <typename FunctionsT = FunctionConfiguration>
69 ListFunctionsResult& AddFunctions(FunctionsT&& value) {
70 m_functionsHasBeenSet = true;
71 m_functions.emplace_back(std::forward<FunctionsT>(value));
72 return *this;
73 }
75
77
78 inline const Aws::String& GetRequestId() const { return m_requestId; }
79 template <typename RequestIdT = Aws::String>
80 void SetRequestId(RequestIdT&& value) {
81 m_requestIdHasBeenSet = true;
82 m_requestId = std::forward<RequestIdT>(value);
83 }
84 template <typename RequestIdT = Aws::String>
85 ListFunctionsResult& WithRequestId(RequestIdT&& value) {
86 SetRequestId(std::forward<RequestIdT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_nextMarker;
92
94
95 Aws::String m_requestId;
96 bool m_nextMarkerHasBeenSet = false;
97 bool m_functionsHasBeenSet = false;
98 bool m_requestIdHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace Lambda
103} // 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)
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