7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elementalinference/ElementalInference_EXPORTS.h>
10#include <aws/elementalinference/model/ContextType.h>
11#include <aws/elementalinference/model/FunctionStatus.h>
12#include <aws/elementalinference/model/FunctionTarget.h>
23namespace ElementalInference {
45 template <
typename ArnT = Aws::String>
47 m_arnHasBeenSet =
true;
48 m_arn = std::forward<ArnT>(value);
50 template <
typename ArnT = Aws::String>
52 SetArn(std::forward<ArnT>(value));
63 template <
typename IdT = Aws::String>
65 m_idHasBeenSet =
true;
66 m_id = std::forward<IdT>(value);
68 template <
typename IdT = Aws::String>
70 SetId(std::forward<IdT>(value));
81 template <
typename NameT = Aws::String>
83 m_nameHasBeenSet =
true;
84 m_name = std::forward<NameT>(value);
86 template <
typename NameT = Aws::String>
88 SetName(std::forward<NameT>(value));
99 template <
typename DescriptionT = Aws::String>
101 m_descriptionHasBeenSet =
true;
102 m_description = std::forward<DescriptionT>(value);
104 template <
typename DescriptionT = Aws::String>
118 m_statusHasBeenSet =
true;
133 template <
typename TargetT = FunctionTarget>
135 m_targetHasBeenSet =
true;
136 m_target = std::forward<TargetT>(value);
138 template <
typename TargetT = FunctionTarget>
154 template <
typename ContextTypesT = Aws::Vector<ContextType>>
156 m_contextTypesHasBeenSet =
true;
157 m_contextTypes = std::forward<ContextTypesT>(value);
159 template <
typename ContextTypesT = Aws::Vector<ContextType>>
165 m_contextTypesHasBeenSet =
true;
166 m_contextTypes.push_back(value);
181 FunctionTarget m_target;
184 bool m_arnHasBeenSet =
false;
185 bool m_idHasBeenSet =
false;
186 bool m_nameHasBeenSet =
false;
187 bool m_descriptionHasBeenSet =
false;
188 bool m_statusHasBeenSet =
false;
189 bool m_targetHasBeenSet =
false;
190 bool m_contextTypesHasBeenSet =
false;
AWS_ELEMENTALINFERENCE_API FunctionSummary()=default
AWS_ELEMENTALINFERENCE_API Aws::Utils::Json::JsonValue Jsonize() const
FunctionStatus GetStatus() const
FunctionSummary & WithId(IdT &&value)
AWS_ELEMENTALINFERENCE_API FunctionSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ContextType > & GetContextTypes() const
const FunctionTarget & GetTarget() const
bool NameHasBeenSet() const
FunctionSummary & WithStatus(FunctionStatus value)
const Aws::String & GetDescription() const
FunctionSummary & WithName(NameT &&value)
const Aws::String & GetId() const
AWS_ELEMENTALINFERENCE_API FunctionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool IdHasBeenSet() const
bool DescriptionHasBeenSet() const
void SetStatus(FunctionStatus value)
FunctionSummary & WithDescription(DescriptionT &&value)
void SetName(NameT &&value)
FunctionSummary & WithTarget(TargetT &&value)
const Aws::String & GetArn() const
void SetTarget(TargetT &&value)
FunctionSummary & WithContextTypes(ContextTypesT &&value)
FunctionSummary & AddContextTypes(ContextType value)
bool ArnHasBeenSet() const
void SetContextTypes(ContextTypesT &&value)
bool TargetHasBeenSet() const
void SetDescription(DescriptionT &&value)
const Aws::String & GetName() const
bool StatusHasBeenSet() const
bool ContextTypesHasBeenSet() const
FunctionSummary & WithArn(ArnT &&value)
void SetArn(ArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue