7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lambda/Lambda_EXPORTS.h>
11#include <aws/lambda/model/Concurrency.h>
12#include <aws/lambda/model/FunctionCodeLocation.h>
13#include <aws/lambda/model/FunctionConfiguration.h>
14#include <aws/lambda/model/TagsError.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
40 template <
typename ConfigurationT = FunctionConfiguration>
42 m_configurationHasBeenSet =
true;
43 m_configuration = std::forward<ConfigurationT>(value);
45 template <
typename ConfigurationT = FunctionConfiguration>
57 template <
typename CodeT = FunctionCodeLocation>
59 m_codeHasBeenSet =
true;
60 m_code = std::forward<CodeT>(value);
62 template <
typename CodeT = FunctionCodeLocation>
64 SetCode(std::forward<CodeT>(value));
77 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
79 m_tagsHasBeenSet =
true;
80 m_tags = std::forward<TagsT>(value);
82 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
84 SetTags(std::forward<TagsT>(value));
87 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
89 m_tagsHasBeenSet =
true;
90 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
101 template <
typename TagsErrorT = TagsError>
103 m_tagsErrorHasBeenSet =
true;
104 m_tagsError = std::forward<TagsErrorT>(value);
106 template <
typename TagsErrorT = TagsError>
120 template <
typename ConcurrencyT = Concurrency>
122 m_concurrencyHasBeenSet =
true;
123 m_concurrency = std::forward<ConcurrencyT>(value);
125 template <
typename ConcurrencyT = Concurrency>
135 template <
typename RequestIdT = Aws::String>
137 m_requestIdHasBeenSet =
true;
138 m_requestId = std::forward<RequestIdT>(value);
140 template <
typename RequestIdT = Aws::String>
161 bool m_configurationHasBeenSet =
false;
162 bool m_codeHasBeenSet =
false;
163 bool m_tagsHasBeenSet =
false;
164 bool m_tagsErrorHasBeenSet =
false;
165 bool m_concurrencyHasBeenSet =
false;
166 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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