AWS SDK for C++  1.9.123
AWS SDK for C++
ListFunctionsResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace Lambda
26 {
27 namespace Model
28 {
35  {
36  public:
40 
41 
45  inline const Aws::String& GetNextMarker() const{ return m_nextMarker; }
46 
50  inline void SetNextMarker(const Aws::String& value) { m_nextMarker = value; }
51 
55  inline void SetNextMarker(Aws::String&& value) { m_nextMarker = std::move(value); }
56 
60  inline void SetNextMarker(const char* value) { m_nextMarker.assign(value); }
61 
65  inline ListFunctionsResult& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
66 
70  inline ListFunctionsResult& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;}
71 
75  inline ListFunctionsResult& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
76 
77 
81  inline const Aws::Vector<FunctionConfiguration>& GetFunctions() const{ return m_functions; }
82 
86  inline void SetFunctions(const Aws::Vector<FunctionConfiguration>& value) { m_functions = value; }
87 
91  inline void SetFunctions(Aws::Vector<FunctionConfiguration>&& value) { m_functions = std::move(value); }
92 
96  inline ListFunctionsResult& WithFunctions(const Aws::Vector<FunctionConfiguration>& value) { SetFunctions(value); return *this;}
97 
101  inline ListFunctionsResult& WithFunctions(Aws::Vector<FunctionConfiguration>&& value) { SetFunctions(std::move(value)); return *this;}
102 
106  inline ListFunctionsResult& AddFunctions(const FunctionConfiguration& value) { m_functions.push_back(value); return *this; }
107 
111  inline ListFunctionsResult& AddFunctions(FunctionConfiguration&& value) { m_functions.push_back(std::move(value)); return *this; }
112 
113  private:
114 
115  Aws::String m_nextMarker;
116 
118  };
119 
120 } // namespace Model
121 } // namespace Lambda
122 } // namespace Aws
Aws::Lambda::Model::ListFunctionsResult::WithNextMarker
ListFunctionsResult & WithNextMarker(Aws::String &&value)
Definition: ListFunctionsResult.h:70
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
FunctionConfiguration.h
Aws::Lambda::Model::ListFunctionsResult::WithFunctions
ListFunctionsResult & WithFunctions(const Aws::Vector< FunctionConfiguration > &value)
Definition: ListFunctionsResult.h:96
Aws::Lambda::Model::ListFunctionsResult::GetNextMarker
const Aws::String & GetNextMarker() const
Definition: ListFunctionsResult.h:45
Aws::Lambda::Model::ListFunctionsResult::SetNextMarker
void SetNextMarker(const Aws::String &value)
Definition: ListFunctionsResult.h:50
Aws::Lambda::Model::ListFunctionsResult
Definition: ListFunctionsResult.h:35
Aws::Lambda::Model::ListFunctionsResult::GetFunctions
const Aws::Vector< FunctionConfiguration > & GetFunctions() const
Definition: ListFunctionsResult.h:81
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Lambda::Model::ListFunctionsResult::SetNextMarker
void SetNextMarker(Aws::String &&value)
Definition: ListFunctionsResult.h:55
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::ListFunctionsResult::ListFunctionsResult
ListFunctionsResult()
Aws::Lambda::Model::ListFunctionsResult::SetNextMarker
void SetNextMarker(const char *value)
Definition: ListFunctionsResult.h:60
Aws::Lambda::Model::ListFunctionsResult::WithNextMarker
ListFunctionsResult & WithNextMarker(const char *value)
Definition: ListFunctionsResult.h:75
AWSString.h
Aws::Lambda::Model::ListFunctionsResult::operator=
ListFunctionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lambda::Model::ListFunctionsResult::WithFunctions
ListFunctionsResult & WithFunctions(Aws::Vector< FunctionConfiguration > &&value)
Definition: ListFunctionsResult.h:101
Aws::Lambda::Model::ListFunctionsResult::AddFunctions
ListFunctionsResult & AddFunctions(FunctionConfiguration &&value)
Definition: ListFunctionsResult.h:111
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::ListFunctionsResult::ListFunctionsResult
ListFunctionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lambda::Model::ListFunctionsResult::SetFunctions
void SetFunctions(const Aws::Vector< FunctionConfiguration > &value)
Definition: ListFunctionsResult.h:86
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lambda::Model::ListFunctionsResult::SetFunctions
void SetFunctions(Aws::Vector< FunctionConfiguration > &&value)
Definition: ListFunctionsResult.h:91
Aws::Lambda::Model::ListFunctionsResult::WithNextMarker
ListFunctionsResult & WithNextMarker(const Aws::String &value)
Definition: ListFunctionsResult.h:65
Aws::Lambda::Model::ListFunctionsResult::AddFunctions
ListFunctionsResult & AddFunctions(const FunctionConfiguration &value)
Definition: ListFunctionsResult.h:106
Aws::Lambda::Model::FunctionConfiguration
Definition: FunctionConfiguration.h:47
Lambda_EXPORTS.h