7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/amplifyuibuilder/model/ComponentPropertyBindingProperties.h>
9#include <aws/amplifyuibuilder/model/FormBindingElement.h>
10#include <aws/core/utils/memory/stl/AWSAllocator.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
24namespace AmplifyUIBuilder {
26class ComponentConditionProperty;
48 template <
typename ValueT = Aws::String>
50 m_valueHasBeenSet =
true;
51 m_value = std::forward<ValueT>(value);
53 template <
typename ValueT = Aws::String>
55 SetValue(std::forward<ValueT>(value));
66 template <
typename BindingPropertiesT = ComponentPropertyBindingProperties>
68 m_bindingPropertiesHasBeenSet =
true;
69 m_bindingProperties = std::forward<BindingPropertiesT>(value);
71 template <
typename BindingPropertiesT = ComponentPropertyBindingProperties>
85 template <
typename CollectionBindingPropertiesT = ComponentPropertyBindingProperties>
87 m_collectionBindingPropertiesHasBeenSet =
true;
88 m_collectionBindingProperties = std::forward<CollectionBindingPropertiesT>(value);
90 template <
typename CollectionBindingPropertiesT = ComponentPropertyBindingProperties>
103 template <
typename DefaultValueT = Aws::String>
105 m_defaultValueHasBeenSet =
true;
106 m_defaultValue = std::forward<DefaultValueT>(value);
108 template <
typename DefaultValueT = Aws::String>
121 template <
typename ModelT = Aws::String>
123 m_modelHasBeenSet =
true;
124 m_model = std::forward<ModelT>(value);
126 template <
typename ModelT = Aws::String>
128 SetModel(std::forward<ModelT>(value));
139 template <
typename BindingsT = Aws::Map<Aws::String, FormBindingElement>>
141 m_bindingsHasBeenSet =
true;
142 m_bindings = std::forward<BindingsT>(value);
144 template <
typename BindingsT = Aws::Map<Aws::String, FormBindingElement>>
149 template <
typename BindingsKeyT = Aws::String,
typename BindingsValueT = FormBindingElement>
151 m_bindingsHasBeenSet =
true;
152 m_bindings.emplace(std::forward<BindingsKeyT>(key), std::forward<BindingsValueT>(value));
163 template <
typename EventT = Aws::String>
165 m_eventHasBeenSet =
true;
166 m_event = std::forward<EventT>(value);
168 template <
typename EventT = Aws::String>
170 SetEvent(std::forward<EventT>(value));
182 template <
typename UserAttributeT = Aws::String>
184 m_userAttributeHasBeenSet =
true;
185 m_userAttribute = std::forward<UserAttributeT>(value);
187 template <
typename UserAttributeT = Aws::String>
201 template <
typename ConcatT = Aws::Vector<ComponentProperty>>
203 m_concatHasBeenSet =
true;
204 m_concat = std::forward<ConcatT>(value);
206 template <
typename ConcatT = Aws::Vector<ComponentProperty>>
211 template <
typename ConcatT = ComponentProperty>
213 m_concatHasBeenSet =
true;
214 m_concat.emplace_back(std::forward<ConcatT>(value));
226 template <
typename ConditionT = ComponentConditionProperty>
228 m_conditionHasBeenSet =
true;
231 template <
typename ConditionT = ComponentConditionProperty>
246 m_configuredHasBeenSet =
true;
247 m_configured = value;
261 template <
typename TypeT = Aws::String>
263 m_typeHasBeenSet =
true;
264 m_type = std::forward<TypeT>(value);
266 template <
typename TypeT = Aws::String>
268 SetType(std::forward<TypeT>(value));
280 template <
typename ImportedValueT = Aws::String>
282 m_importedValueHasBeenSet =
true;
283 m_importedValue = std::forward<ImportedValueT>(value);
285 template <
typename ImportedValueT = Aws::String>
298 template <
typename ComponentNameT = Aws::String>
300 m_componentNameHasBeenSet =
true;
301 m_componentName = std::forward<ComponentNameT>(value);
303 template <
typename ComponentNameT = Aws::String>
316 template <
typename PropertyT = Aws::String>
318 m_propertyHasBeenSet =
true;
319 m_property = std::forward<PropertyT>(value);
321 template <
typename PropertyT = Aws::String>
346 std::shared_ptr<ComponentConditionProperty> m_condition;
348 bool m_configured{
false};
357 bool m_valueHasBeenSet =
false;
358 bool m_bindingPropertiesHasBeenSet =
false;
359 bool m_collectionBindingPropertiesHasBeenSet =
false;
360 bool m_defaultValueHasBeenSet =
false;
361 bool m_modelHasBeenSet =
false;
362 bool m_bindingsHasBeenSet =
false;
363 bool m_eventHasBeenSet =
false;
364 bool m_userAttributeHasBeenSet =
false;
365 bool m_concatHasBeenSet =
false;
366 bool m_conditionHasBeenSet =
false;
367 bool m_configuredHasBeenSet =
false;
368 bool m_typeHasBeenSet =
false;
369 bool m_importedValueHasBeenSet =
false;
370 bool m_componentNameHasBeenSet =
false;
371 bool m_propertyHasBeenSet =
false;
bool UserAttributeHasBeenSet() const
const Aws::String & GetImportedValue() const
AWS_AMPLIFYUIBUILDER_API ComponentProperty(Aws::Utils::Json::JsonView jsonValue)
ComponentProperty & WithModel(ModelT &&value)
bool GetConfigured() const
ComponentProperty & WithCondition(ConditionT &&value)
void SetUserAttribute(UserAttributeT &&value)
const Aws::String & GetUserAttribute() const
const Aws::Map< Aws::String, FormBindingElement > & GetBindings() const
void SetDefaultValue(DefaultValueT &&value)
ComponentProperty & WithComponentName(ComponentNameT &&value)
void SetImportedValue(ImportedValueT &&value)
ComponentProperty & WithBindings(BindingsT &&value)
const ComponentPropertyBindingProperties & GetBindingProperties() const
void SetValue(ValueT &&value)
const Aws::Vector< ComponentProperty > & GetConcat() const
bool ConfiguredHasBeenSet() const
bool ValueHasBeenSet() const
bool ComponentNameHasBeenSet() const
ComponentProperty & WithCollectionBindingProperties(CollectionBindingPropertiesT &&value)
bool TypeHasBeenSet() const
ComponentProperty & WithProperty(PropertyT &&value)
bool PropertyHasBeenSet() const
ComponentProperty & WithConcat(ConcatT &&value)
bool BindingPropertiesHasBeenSet() const
const ComponentConditionProperty & GetCondition() const
const Aws::String & GetProperty() const
const Aws::String & GetDefaultValue() const
bool EventHasBeenSet() const
void SetCondition(ConditionT &&value)
ComponentProperty & WithConfigured(bool value)
void SetProperty(PropertyT &&value)
AWS_AMPLIFYUIBUILDER_API ComponentProperty()=default
bool ModelHasBeenSet() const
const Aws::String & GetComponentName() const
ComponentProperty & WithEvent(EventT &&value)
AWS_AMPLIFYUIBUILDER_API ComponentProperty & operator=(Aws::Utils::Json::JsonView jsonValue)
const ComponentPropertyBindingProperties & GetCollectionBindingProperties() const
void SetBindings(BindingsT &&value)
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
bool ConcatHasBeenSet() const
ComponentProperty & AddBindings(BindingsKeyT &&key, BindingsValueT &&value)
ComponentProperty & WithUserAttribute(UserAttributeT &&value)
void SetEvent(EventT &&value)
bool DefaultValueHasBeenSet() const
void SetBindingProperties(BindingPropertiesT &&value)
const Aws::String & GetValue() const
void SetConfigured(bool value)
void SetType(TypeT &&value)
bool ImportedValueHasBeenSet() const
ComponentProperty & WithType(TypeT &&value)
const Aws::String & GetModel() const
bool ConditionHasBeenSet() const
ComponentProperty & WithBindingProperties(BindingPropertiesT &&value)
ComponentProperty & WithValue(ValueT &&value)
bool BindingsHasBeenSet() const
void SetModel(ModelT &&value)
const Aws::String & GetEvent() const
void SetCollectionBindingProperties(CollectionBindingPropertiesT &&value)
ComponentProperty & WithImportedValue(ImportedValueT &&value)
bool CollectionBindingPropertiesHasBeenSet() const
void SetConcat(ConcatT &&value)
ComponentProperty & AddConcat(ConcatT &&value)
const Aws::String & GetType() const
void SetComponentName(ComponentNameT &&value)
ComponentProperty & WithDefaultValue(DefaultValueT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
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