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/core/utils/memory/stl/AWSVector.h>
11#include <aws/elementalinference/ElementalInference_EXPORTS.h>
12#include <aws/elementalinference/model/ContextType.h>
13#include <aws/elementalinference/model/EventBridgeDeliveryMode.h>
14#include <aws/elementalinference/model/FunctionStatus.h>
15#include <aws/elementalinference/model/FunctionTarget.h>
20template <
typename RESULT_TYPE>
21class AmazonWebServiceResult;
28namespace ElementalInference {
41 template <
typename NameT = Aws::String>
43 m_nameHasBeenSet =
true;
44 m_name = std::forward<NameT>(value);
46 template <
typename NameT = Aws::String>
48 SetName(std::forward<NameT>(value));
58 template <
typename TargetT = FunctionTarget>
60 m_targetHasBeenSet =
true;
61 m_target = std::forward<TargetT>(value);
63 template <
typename TargetT = FunctionTarget>
77 template <
typename RequestExpressionT = Aws::String>
79 m_requestExpressionHasBeenSet =
true;
80 m_requestExpression = std::forward<RequestExpressionT>(value);
82 template <
typename RequestExpressionT = Aws::String>
98 template <
typename ResponseExpressionT = Aws::String>
100 m_responseExpressionHasBeenSet =
true;
101 m_responseExpression = std::forward<ResponseExpressionT>(value);
103 template <
typename ResponseExpressionT = Aws::String>
115 template <
typename DescriptionT = Aws::String>
117 m_descriptionHasBeenSet =
true;
118 m_description = std::forward<DescriptionT>(value);
120 template <
typename DescriptionT = Aws::String>
137 m_eventBridgeDeliveryHasBeenSet =
true;
138 m_eventBridgeDelivery = value;
151 template <
typename ArnT = Aws::String>
153 m_arnHasBeenSet =
true;
154 m_arn = std::forward<ArnT>(value);
156 template <
typename ArnT = Aws::String>
158 SetArn(std::forward<ArnT>(value));
168 template <
typename IdT = Aws::String>
170 m_idHasBeenSet =
true;
171 m_id = std::forward<IdT>(value);
173 template <
typename IdT = Aws::String>
175 SetId(std::forward<IdT>(value));
186 m_statusHasBeenSet =
true;
202 template <
typename ReferencesT = Aws::Vector<Aws::String>>
204 m_referencesHasBeenSet =
true;
205 m_references = std::forward<ReferencesT>(value);
207 template <
typename ReferencesT = Aws::Vector<Aws::String>>
212 template <
typename ReferencesT = Aws::String>
214 m_referencesHasBeenSet =
true;
215 m_references.emplace_back(std::forward<ReferencesT>(value));
228 template <
typename ContextTypesT = Aws::Vector<ContextType>>
230 m_contextTypesHasBeenSet =
true;
231 m_contextTypes = std::forward<ContextTypesT>(value);
233 template <
typename ContextTypesT = Aws::Vector<ContextType>>
239 m_contextTypesHasBeenSet =
true;
240 m_contextTypes.push_back(value);
250 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
252 m_tagsHasBeenSet =
true;
253 m_tags = std::forward<TagsT>(value);
255 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
257 SetTags(std::forward<TagsT>(value));
260 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
262 m_tagsHasBeenSet =
true;
263 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
271 template <
typename RequestIdT = Aws::String>
273 m_requestIdHasBeenSet =
true;
274 m_requestId = std::forward<RequestIdT>(value);
276 template <
typename RequestIdT = Aws::String>
311 bool m_nameHasBeenSet =
false;
312 bool m_targetHasBeenSet =
false;
313 bool m_requestExpressionHasBeenSet =
false;
314 bool m_responseExpressionHasBeenSet =
false;
315 bool m_descriptionHasBeenSet =
false;
316 bool m_eventBridgeDeliveryHasBeenSet =
false;
317 bool m_arnHasBeenSet =
false;
318 bool m_idHasBeenSet =
false;
319 bool m_statusHasBeenSet =
false;
320 bool m_referencesHasBeenSet =
false;
321 bool m_contextTypesHasBeenSet =
false;
322 bool m_tagsHasBeenSet =
false;
323 bool m_requestIdHasBeenSet =
false;
const Aws::Vector< Aws::String > & GetReferences() const
UpdateFunctionResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
UpdateFunctionResult & WithResponseExpression(ResponseExpressionT &&value)
const Aws::Vector< ContextType > & GetContextTypes() const
UpdateFunctionResult & AddContextTypes(ContextType value)
UpdateFunctionResult & WithArn(ArnT &&value)
void SetDescription(DescriptionT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
EventBridgeDeliveryMode GetEventBridgeDelivery() const
UpdateFunctionResult & WithRequestExpression(RequestExpressionT &&value)
UpdateFunctionResult & WithStatus(FunctionStatus value)
const Aws::String & GetArn() const
const Aws::String & GetDescription() const
AWS_ELEMENTALINFERENCE_API UpdateFunctionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateFunctionResult & WithReferences(ReferencesT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetResponseExpression() const
void SetName(NameT &&value)
UpdateFunctionResult & WithTags(TagsT &&value)
void SetResponseExpression(ResponseExpressionT &&value)
const Aws::String & GetName() const
UpdateFunctionResult & WithId(IdT &&value)
void SetArn(ArnT &&value)
void SetReferences(ReferencesT &&value)
UpdateFunctionResult & WithDescription(DescriptionT &&value)
UpdateFunctionResult & WithTarget(TargetT &&value)
const FunctionTarget & GetTarget() const
UpdateFunctionResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetRequestExpression() const
void SetRequestExpression(RequestExpressionT &&value)
FunctionStatus GetStatus() const
const Aws::String & GetRequestId() const
UpdateFunctionResult & AddReferences(ReferencesT &&value)
AWS_ELEMENTALINFERENCE_API UpdateFunctionResult()=default
void SetStatus(FunctionStatus value)
UpdateFunctionResult & WithContextTypes(ContextTypesT &&value)
void SetTarget(TargetT &&value)
const Aws::String & GetId() const
UpdateFunctionResult & WithEventBridgeDelivery(EventBridgeDeliveryMode value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
UpdateFunctionResult & WithName(NameT &&value)
void SetContextTypes(ContextTypesT &&value)
void SetEventBridgeDelivery(EventBridgeDeliveryMode value)
AWS_ELEMENTALINFERENCE_API UpdateFunctionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetTags(TagsT &&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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue