7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elementalinference/ElementalInferenceRequest.h>
10#include <aws/elementalinference/ElementalInference_EXPORTS.h>
11#include <aws/elementalinference/model/EventBridgeDeliveryMode.h>
12#include <aws/elementalinference/model/FunctionTarget.h>
17namespace ElementalInference {
40 template <
typename NameT = Aws::String>
42 m_nameHasBeenSet =
true;
43 m_name = std::forward<NameT>(value);
45 template <
typename NameT = Aws::String>
47 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>
84 template <
typename RequestExpressionT = Aws::String>
86 m_requestExpressionHasBeenSet =
true;
87 m_requestExpression = std::forward<RequestExpressionT>(value);
89 template <
typename RequestExpressionT = Aws::String>
109 template <
typename ResponseExpressionT = Aws::String>
111 m_responseExpressionHasBeenSet =
true;
112 m_responseExpression = std::forward<ResponseExpressionT>(value);
114 template <
typename ResponseExpressionT = Aws::String>
127 template <
typename DescriptionT = Aws::String>
129 m_descriptionHasBeenSet =
true;
130 m_description = std::forward<DescriptionT>(value);
132 template <
typename DescriptionT = Aws::String>
158 m_eventBridgeDeliveryHasBeenSet =
true;
159 m_eventBridgeDelivery = value;
173 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
175 m_tagsHasBeenSet =
true;
176 m_tags = std::forward<TagsT>(value);
178 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
180 SetTags(std::forward<TagsT>(value));
183 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
185 m_tagsHasBeenSet =
true;
186 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
204 bool m_nameHasBeenSet =
false;
205 bool m_targetHasBeenSet =
false;
206 bool m_requestExpressionHasBeenSet =
false;
207 bool m_responseExpressionHasBeenSet =
false;
208 bool m_descriptionHasBeenSet =
false;
209 bool m_eventBridgeDeliveryHasBeenSet =
false;
210 bool m_tagsHasBeenSet =
false;
bool RequestExpressionHasBeenSet() const
CreateFunctionRequest & WithResponseExpression(ResponseExpressionT &&value)
CreateFunctionRequest & WithDescription(DescriptionT &&value)
void SetRequestExpression(RequestExpressionT &&value)
void SetEventBridgeDelivery(EventBridgeDeliveryMode value)
bool EventBridgeDeliveryHasBeenSet() const
bool TargetHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateFunctionRequest & WithTarget(TargetT &&value)
EventBridgeDeliveryMode GetEventBridgeDelivery() const
AWS_ELEMENTALINFERENCE_API CreateFunctionRequest()=default
CreateFunctionRequest & WithEventBridgeDelivery(EventBridgeDeliveryMode value)
const Aws::String & GetDescription() const
const Aws::String & GetResponseExpression() const
virtual const char * GetServiceRequestName() const override
void SetTags(TagsT &&value)
bool DescriptionHasBeenSet() const
CreateFunctionRequest & WithTags(TagsT &&value)
CreateFunctionRequest & WithRequestExpression(RequestExpressionT &&value)
CreateFunctionRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetRequestExpression() const
void SetName(NameT &&value)
AWS_ELEMENTALINFERENCE_API Aws::String SerializePayload() const override
bool NameHasBeenSet() const
void SetResponseExpression(ResponseExpressionT &&value)
const Aws::String & GetName() const
void SetDescription(DescriptionT &&value)
void SetTarget(TargetT &&value)
const FunctionTarget & GetTarget() const
bool ResponseExpressionHasBeenSet() const
CreateFunctionRequest & WithName(NameT &&value)
bool TagsHasBeenSet() const
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