7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/lambda/model/FunctionConfiguration.h>
9#include <aws/lambda/model/FunctionCodeLocation.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/lambda/model/TagsError.h>
12#include <aws/lambda/model/Concurrency.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
45 template<
typename ConfigurationT = FunctionConfiguration>
46 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet =
true; m_configuration = std::forward<ConfigurationT>(value); }
47 template<
typename ConfigurationT = FunctionConfiguration>
56 template<
typename CodeT = FunctionCodeLocation>
57 void SetCode(CodeT&& value) { m_codeHasBeenSet =
true; m_code = std::forward<CodeT>(value); }
58 template<
typename CodeT = FunctionCodeLocation>
70 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
71 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
72 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
74 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
76 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
86 template<
typename TagsErrorT = TagsError>
87 void SetTagsError(TagsErrorT&& value) { m_tagsErrorHasBeenSet =
true; m_tagsError = std::forward<TagsErrorT>(value); }
88 template<
typename TagsErrorT = TagsError>
99 template<
typename ConcurrencyT = Concurrency>
100 void SetConcurrency(ConcurrencyT&& value) { m_concurrencyHasBeenSet =
true; m_concurrency = std::forward<ConcurrencyT>(value); }
101 template<
typename ConcurrencyT = Concurrency>
108 template<
typename RequestIdT = Aws::String>
109 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
110 template<
typename RequestIdT = Aws::String>
116 bool m_configurationHasBeenSet =
false;
119 bool m_codeHasBeenSet =
false;
122 bool m_tagsHasBeenSet =
false;
125 bool m_tagsErrorHasBeenSet =
false;
128 bool m_concurrencyHasBeenSet =
false;
131 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