AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListFunctionsResult.h
1
6#pragma once
7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/lambda/model/FunctionConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Lambda
26{
27namespace Model
28{
35 {
36 public:
37 AWS_LAMBDA_API ListFunctionsResult();
40
41
43
46 inline const Aws::String& GetNextMarker() const{ return m_nextMarker; }
47 inline void SetNextMarker(const Aws::String& value) { m_nextMarker = value; }
48 inline void SetNextMarker(Aws::String&& value) { m_nextMarker = std::move(value); }
49 inline void SetNextMarker(const char* value) { m_nextMarker.assign(value); }
50 inline ListFunctionsResult& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
51 inline ListFunctionsResult& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;}
52 inline ListFunctionsResult& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
54
56
59 inline const Aws::Vector<FunctionConfiguration>& GetFunctions() const{ return m_functions; }
60 inline void SetFunctions(const Aws::Vector<FunctionConfiguration>& value) { m_functions = value; }
61 inline void SetFunctions(Aws::Vector<FunctionConfiguration>&& value) { m_functions = std::move(value); }
63 inline ListFunctionsResult& WithFunctions(Aws::Vector<FunctionConfiguration>&& value) { SetFunctions(std::move(value)); return *this;}
64 inline ListFunctionsResult& AddFunctions(const FunctionConfiguration& value) { m_functions.push_back(value); return *this; }
65 inline ListFunctionsResult& AddFunctions(FunctionConfiguration&& value) { m_functions.push_back(std::move(value)); return *this; }
67
69
70 inline const Aws::String& GetRequestId() const{ return m_requestId; }
71 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
72 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
73 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
74 inline ListFunctionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
75 inline ListFunctionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
76 inline ListFunctionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
78 private:
79
80 Aws::String m_nextMarker;
81
83
84 Aws::String m_requestId;
85 };
86
87} // namespace Model
88} // namespace Lambda
89} // namespace Aws
AWS_LAMBDA_API ListFunctionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListFunctionsResult & WithNextMarker(const Aws::String &value)
ListFunctionsResult & WithFunctions(const Aws::Vector< FunctionConfiguration > &value)
void SetFunctions(const Aws::Vector< FunctionConfiguration > &value)
ListFunctionsResult & WithFunctions(Aws::Vector< FunctionConfiguration > &&value)
void SetFunctions(Aws::Vector< FunctionConfiguration > &&value)
ListFunctionsResult & WithNextMarker(const char *value)
ListFunctionsResult & WithNextMarker(Aws::String &&value)
ListFunctionsResult & WithRequestId(const char *value)
const Aws::Vector< FunctionConfiguration > & GetFunctions() const
void SetNextMarker(const Aws::String &value)
ListFunctionsResult & AddFunctions(FunctionConfiguration &&value)
ListFunctionsResult & WithRequestId(Aws::String &&value)
ListFunctionsResult & AddFunctions(const FunctionConfiguration &value)
AWS_LAMBDA_API ListFunctionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetNextMarker() const
void SetRequestId(const Aws::String &value)
ListFunctionsResult & WithRequestId(const Aws::String &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