7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/amplifyuibuilder/model/ComponentPropertyBindingProperties.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/amplifyuibuilder/model/FormBindingElement.h>
13#include <aws/core/utils/memory/stl/AWSAllocator.h>
26namespace AmplifyUIBuilder
30 class ComponentConditionProperty;
54 template<
typename ValueT = Aws::String>
55 void SetValue(ValueT&& value) { m_valueHasBeenSet =
true; m_value = std::forward<ValueT>(value); }
56 template<
typename ValueT = Aws::String>
66 template<
typename BindingPropertiesT = ComponentPropertyBindingProperties>
67 void SetBindingProperties(BindingPropertiesT&& value) { m_bindingPropertiesHasBeenSet =
true; m_bindingProperties = std::forward<BindingPropertiesT>(value); }
68 template<
typename BindingPropertiesT = ComponentPropertyBindingProperties>
79 template<
typename CollectionBindingPropertiesT = ComponentPropertyBindingProperties>
80 void SetCollectionBindingProperties(CollectionBindingPropertiesT&& value) { m_collectionBindingPropertiesHasBeenSet =
true; m_collectionBindingProperties = std::forward<CollectionBindingPropertiesT>(value); }
81 template<
typename CollectionBindingPropertiesT = ComponentPropertyBindingProperties>
91 template<
typename DefaultValueT = Aws::String>
92 void SetDefaultValue(DefaultValueT&& value) { m_defaultValueHasBeenSet =
true; m_defaultValue = std::forward<DefaultValueT>(value); }
93 template<
typename DefaultValueT = Aws::String>
103 template<
typename ModelT = Aws::String>
104 void SetModel(ModelT&& value) { m_modelHasBeenSet =
true; m_model = std::forward<ModelT>(value); }
105 template<
typename ModelT = Aws::String>
115 template<
typename BindingsT = Aws::Map<Aws::String, FormBindingElement>>
116 void SetBindings(BindingsT&& value) { m_bindingsHasBeenSet =
true; m_bindings = std::forward<BindingsT>(value); }
117 template<
typename BindingsT = Aws::Map<Aws::String, FormBindingElement>>
119 template<
typename BindingsKeyT = Aws::String,
typename BindingsValueT = FormBindingElement>
121 m_bindingsHasBeenSet =
true; m_bindings.emplace(std::forward<BindingsKeyT>(key), std::forward<BindingsValueT>(value));
return *
this;
131 template<
typename EventT = Aws::String>
132 void SetEvent(EventT&& value) { m_eventHasBeenSet =
true; m_event = std::forward<EventT>(value); }
133 template<
typename EventT = Aws::String>
144 template<
typename UserAttributeT = Aws::String>
145 void SetUserAttribute(UserAttributeT&& value) { m_userAttributeHasBeenSet =
true; m_userAttribute = std::forward<UserAttributeT>(value); }
146 template<
typename UserAttributeT = Aws::String>
157 template<
typename ConcatT = Aws::Vector<ComponentProperty>>
158 void SetConcat(ConcatT&& value) { m_concatHasBeenSet =
true; m_concat = std::forward<ConcatT>(value); }
159 template<
typename ConcatT = Aws::Vector<ComponentProperty>>
161 template<
typename ConcatT = ComponentProperty>
162 ComponentProperty&
AddConcat(ConcatT&& value) { m_concatHasBeenSet =
true; m_concat.emplace_back(std::forward<ConcatT>(value));
return *
this; }
174 template<
typename ConditionT = ComponentConditionProperty>
176 m_conditionHasBeenSet =
true;
177 m_condition = Aws::MakeShared<ComponentConditionProperty>(
"ComponentProperty", std::forward<ConditionT>(value));
179 template<
typename ConditionT = ComponentConditionProperty>
190 inline void SetConfigured(
bool value) { m_configuredHasBeenSet =
true; m_configured = value; }
200 template<
typename TypeT = Aws::String>
201 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
202 template<
typename TypeT = Aws::String>
213 template<
typename ImportedValueT = Aws::String>
214 void SetImportedValue(ImportedValueT&& value) { m_importedValueHasBeenSet =
true; m_importedValue = std::forward<ImportedValueT>(value); }
215 template<
typename ImportedValueT = Aws::String>
225 template<
typename ComponentNameT = Aws::String>
226 void SetComponentName(ComponentNameT&& value) { m_componentNameHasBeenSet =
true; m_componentName = std::forward<ComponentNameT>(value); }
227 template<
typename ComponentNameT = Aws::String>
237 template<
typename PropertyT = Aws::String>
238 void SetProperty(PropertyT&& value) { m_propertyHasBeenSet =
true; m_property = std::forward<PropertyT>(value); }
239 template<
typename PropertyT = Aws::String>
245 bool m_valueHasBeenSet =
false;
248 bool m_bindingPropertiesHasBeenSet =
false;
251 bool m_collectionBindingPropertiesHasBeenSet =
false;
254 bool m_defaultValueHasBeenSet =
false;
257 bool m_modelHasBeenSet =
false;
260 bool m_bindingsHasBeenSet =
false;
263 bool m_eventHasBeenSet =
false;
266 bool m_userAttributeHasBeenSet =
false;
269 bool m_concatHasBeenSet =
false;
271 std::shared_ptr<ComponentConditionProperty> m_condition;
272 bool m_conditionHasBeenSet =
false;
274 bool m_configured{
false};
275 bool m_configuredHasBeenSet =
false;
278 bool m_typeHasBeenSet =
false;
281 bool m_importedValueHasBeenSet =
false;
284 bool m_componentNameHasBeenSet =
false;
287 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::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