7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lambda/Lambda_EXPORTS.h>
10#include <aws/lambda/model/Concurrency.h>
11#include <aws/lambda/model/FunctionCodeLocation.h>
12#include <aws/lambda/model/FunctionConfiguration.h>
13#include <aws/lambda/model/TagsError.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
39 template <
typename ConfigurationT = FunctionConfiguration>
41 m_configurationHasBeenSet =
true;
42 m_configuration = std::forward<ConfigurationT>(value);
44 template <
typename ConfigurationT = FunctionConfiguration>
56 template <
typename CodeT = FunctionCodeLocation>
58 m_codeHasBeenSet =
true;
59 m_code = std::forward<CodeT>(value);
61 template <
typename CodeT = FunctionCodeLocation>
63 SetCode(std::forward<CodeT>(value));
76 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
78 m_tagsHasBeenSet =
true;
79 m_tags = std::forward<TagsT>(value);
81 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
83 SetTags(std::forward<TagsT>(value));
86 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
88 m_tagsHasBeenSet =
true;
89 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
100 template <
typename TagsErrorT = TagsError>
102 m_tagsErrorHasBeenSet =
true;
103 m_tagsError = std::forward<TagsErrorT>(value);
105 template <
typename TagsErrorT = TagsError>
119 template <
typename ConcurrencyT = Concurrency>
121 m_concurrencyHasBeenSet =
true;
122 m_concurrency = std::forward<ConcurrencyT>(value);
124 template <
typename ConcurrencyT = Concurrency>
134 template <
typename RequestIdT = Aws::String>
136 m_requestIdHasBeenSet =
true;
137 m_requestId = std::forward<RequestIdT>(value);
139 template <
typename RequestIdT = Aws::String>
157 bool m_configurationHasBeenSet =
false;
158 bool m_codeHasBeenSet =
false;
159 bool m_tagsHasBeenSet =
false;
160 bool m_tagsErrorHasBeenSet =
false;
161 bool m_concurrencyHasBeenSet =
false;
162 bool m_requestIdHasBeenSet =
false;
AWS_LAMBDA_API GetFunctionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
const TagsError & GetTagsError() const
AWS_LAMBDA_API GetFunctionResult()=default
GetFunctionResult & WithRequestId(RequestIdT &&value)
GetFunctionResult & WithCode(CodeT &&value)
GetFunctionResult & WithConcurrency(ConcurrencyT &&value)
const FunctionCodeLocation & GetCode() const
void SetConcurrency(ConcurrencyT &&value)
void SetTagsError(TagsErrorT &&value)
void SetConfiguration(ConfigurationT &&value)
GetFunctionResult & WithConfiguration(ConfigurationT &&value)
GetFunctionResult & WithTags(TagsT &&value)
const Concurrency & GetConcurrency() const
const FunctionConfiguration & GetConfiguration() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetTags(TagsT &&value)
GetFunctionResult & WithTagsError(TagsErrorT &&value)
void SetCode(CodeT &&value)
AWS_LAMBDA_API GetFunctionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetFunctionResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue