AWS SDK for C++  1.9.20
AWS SDK for C++
GetFunctionResult.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 template<typename RESULT_TYPE>
18 class AmazonWebServiceResult;
19 
20 namespace Utils
21 {
22 namespace Json
23 {
24  class JsonValue;
25 } // namespace Json
26 } // namespace Utils
27 namespace Lambda
28 {
29 namespace Model
30 {
32  {
33  public:
37 
38 
42  inline const FunctionConfiguration& GetConfiguration() const{ return m_configuration; }
43 
47  inline void SetConfiguration(const FunctionConfiguration& value) { m_configuration = value; }
48 
52  inline void SetConfiguration(FunctionConfiguration&& value) { m_configuration = std::move(value); }
53 
57  inline GetFunctionResult& WithConfiguration(const FunctionConfiguration& value) { SetConfiguration(value); return *this;}
58 
62  inline GetFunctionResult& WithConfiguration(FunctionConfiguration&& value) { SetConfiguration(std::move(value)); return *this;}
63 
64 
68  inline const FunctionCodeLocation& GetCode() const{ return m_code; }
69 
73  inline void SetCode(const FunctionCodeLocation& value) { m_code = value; }
74 
78  inline void SetCode(FunctionCodeLocation&& value) { m_code = std::move(value); }
79 
83  inline GetFunctionResult& WithCode(const FunctionCodeLocation& value) { SetCode(value); return *this;}
84 
88  inline GetFunctionResult& WithCode(FunctionCodeLocation&& value) { SetCode(std::move(value)); return *this;}
89 
90 
95  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
96 
101  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
102 
107  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
108 
113  inline GetFunctionResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
114 
119  inline GetFunctionResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
120 
125  inline GetFunctionResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
126 
131  inline GetFunctionResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
132 
137  inline GetFunctionResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
138 
143  inline GetFunctionResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
144 
149  inline GetFunctionResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
150 
155  inline GetFunctionResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
156 
161  inline GetFunctionResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
162 
163 
169  inline const Concurrency& GetConcurrency() const{ return m_concurrency; }
170 
176  inline void SetConcurrency(const Concurrency& value) { m_concurrency = value; }
177 
183  inline void SetConcurrency(Concurrency&& value) { m_concurrency = std::move(value); }
184 
190  inline GetFunctionResult& WithConcurrency(const Concurrency& value) { SetConcurrency(value); return *this;}
191 
197  inline GetFunctionResult& WithConcurrency(Concurrency&& value) { SetConcurrency(std::move(value)); return *this;}
198 
199  private:
200 
201  FunctionConfiguration m_configuration;
202 
203  FunctionCodeLocation m_code;
204 
206 
207  Concurrency m_concurrency;
208  };
209 
210 } // namespace Model
211 } // namespace Lambda
212 } // namespace Aws
Aws::Lambda::Model::GetFunctionResult::AddTags
GetFunctionResult & AddTags(const char *key, Aws::String &&value)
Definition: GetFunctionResult.h:149
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Lambda::Model::Concurrency
Definition: Concurrency.h:25
FunctionConfiguration.h
Aws::Lambda::Model::GetFunctionResult::GetConcurrency
const Concurrency & GetConcurrency() const
Definition: GetFunctionResult.h:169
Aws::Lambda::Model::GetFunctionResult::WithConfiguration
GetFunctionResult & WithConfiguration(FunctionConfiguration &&value)
Definition: GetFunctionResult.h:62
Aws::Lambda::Model::GetFunctionResult::SetCode
void SetCode(const FunctionCodeLocation &value)
Definition: GetFunctionResult.h:73
Aws::Lambda::Model::GetFunctionResult::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: GetFunctionResult.h:95
FunctionCodeLocation.h
Aws::Lambda::Model::GetFunctionResult::WithCode
GetFunctionResult & WithCode(const FunctionCodeLocation &value)
Definition: GetFunctionResult.h:83
Aws::Lambda::Model::GetFunctionResult::SetConcurrency
void SetConcurrency(const Concurrency &value)
Definition: GetFunctionResult.h:176
Aws::Lambda::Model::GetFunctionResult::SetConfiguration
void SetConfiguration(const FunctionConfiguration &value)
Definition: GetFunctionResult.h:47
Aws::Lambda::Model::GetFunctionResult::WithTags
GetFunctionResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetFunctionResult.h:119
Aws::Lambda::Model::GetFunctionResult::GetFunctionResult
GetFunctionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lambda::Model::GetFunctionResult::SetConfiguration
void SetConfiguration(FunctionConfiguration &&value)
Definition: GetFunctionResult.h:52
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::GetFunctionResult::operator=
GetFunctionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lambda::Model::GetFunctionResult::AddTags
GetFunctionResult & AddTags(const Aws::String &key, Aws::String &&value)
Definition: GetFunctionResult.h:137
Aws::Lambda::Model::GetFunctionResult
Definition: GetFunctionResult.h:32
Aws::Lambda::Model::FunctionCodeLocation
Definition: FunctionCodeLocation.h:32
Concurrency.h
Aws::Lambda::Model::GetFunctionResult::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetFunctionResult.h:107
Aws::Lambda::Model::GetFunctionResult::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetFunctionResult.h:101
Aws::Lambda::Model::GetFunctionResult::AddTags
GetFunctionResult & AddTags(const char *key, const char *value)
Definition: GetFunctionResult.h:161
AWSString.h
Aws::Lambda::Model::GetFunctionResult::SetCode
void SetCode(FunctionCodeLocation &&value)
Definition: GetFunctionResult.h:78
Aws::Lambda::Model::GetFunctionResult::WithConcurrency
GetFunctionResult & WithConcurrency(const Concurrency &value)
Definition: GetFunctionResult.h:190
Aws::Lambda::Model::GetFunctionResult::AddTags
GetFunctionResult & AddTags(Aws::String &&key, Aws::String &&value)
Definition: GetFunctionResult.h:143
Aws::Lambda::Model::GetFunctionResult::GetFunctionResult
GetFunctionResult()
Aws::Lambda::Model::GetFunctionResult::GetCode
const FunctionCodeLocation & GetCode() const
Definition: GetFunctionResult.h:68
Aws::Lambda::Model::GetFunctionResult::GetConfiguration
const FunctionConfiguration & GetConfiguration() const
Definition: GetFunctionResult.h:42
Aws::Lambda::Model::GetFunctionResult::AddTags
GetFunctionResult & AddTags(const Aws::String &key, const Aws::String &value)
Definition: GetFunctionResult.h:125
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::GetFunctionResult::WithCode
GetFunctionResult & WithCode(FunctionCodeLocation &&value)
Definition: GetFunctionResult.h:88
Aws::Lambda::Model::GetFunctionResult::SetConcurrency
void SetConcurrency(Concurrency &&value)
Definition: GetFunctionResult.h:183
Aws::Lambda::Model::GetFunctionResult::WithTags
GetFunctionResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetFunctionResult.h:113
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lambda::Model::GetFunctionResult::AddTags
GetFunctionResult & AddTags(Aws::String &&key, const Aws::String &value)
Definition: GetFunctionResult.h:131
Aws::Lambda::Model::GetFunctionResult::WithConfiguration
GetFunctionResult & WithConfiguration(const FunctionConfiguration &value)
Definition: GetFunctionResult.h:57
Aws::Lambda::Model::GetFunctionResult::WithConcurrency
GetFunctionResult & WithConcurrency(Concurrency &&value)
Definition: GetFunctionResult.h:197
AWSMap.h
Aws::Lambda::Model::FunctionConfiguration
Definition: FunctionConfiguration.h:46
Lambda_EXPORTS.h
Aws::Lambda::Model::GetFunctionResult::AddTags
GetFunctionResult & AddTags(Aws::String &&key, const char *value)
Definition: GetFunctionResult.h:155
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19