7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/amplifyuibuilder/model/ComponentProperty.h>
12#include <aws/amplifyuibuilder/model/ComponentChild.h>
13#include <aws/amplifyuibuilder/model/ComponentVariant.h>
14#include <aws/amplifyuibuilder/model/ComponentBindingPropertiesValue.h>
15#include <aws/amplifyuibuilder/model/ComponentDataConfiguration.h>
16#include <aws/amplifyuibuilder/model/ComponentEvent.h>
29namespace AmplifyUIBuilder
55 template<
typename NameT = Aws::String>
56 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
57 template<
typename NameT = Aws::String>
68 template<
typename SourceIdT = Aws::String>
69 void SetSourceId(SourceIdT&& value) { m_sourceIdHasBeenSet =
true; m_sourceId = std::forward<SourceIdT>(value); }
70 template<
typename SourceIdT = Aws::String>
81 template<
typename ComponentTypeT = Aws::String>
82 void SetComponentType(ComponentTypeT&& value) { m_componentTypeHasBeenSet =
true; m_componentType = std::forward<ComponentTypeT>(value); }
83 template<
typename ComponentTypeT = Aws::String>
93 template<
typename PropertiesT = Aws::Map<Aws::String, ComponentProperty>>
94 void SetProperties(PropertiesT&& value) { m_propertiesHasBeenSet =
true; m_properties = std::forward<PropertiesT>(value); }
95 template<
typename PropertiesT = Aws::Map<Aws::String, ComponentProperty>>
97 template<
typename PropertiesKeyT = Aws::String,
typename PropertiesValueT = ComponentProperty>
99 m_propertiesHasBeenSet =
true; m_properties.emplace(std::forward<PropertiesKeyT>(key), std::forward<PropertiesValueT>(value));
return *
this;
109 template<
typename ChildrenT = Aws::Vector<ComponentChild>>
110 void SetChildren(ChildrenT&& value) { m_childrenHasBeenSet =
true; m_children = std::forward<ChildrenT>(value); }
111 template<
typename ChildrenT = Aws::Vector<ComponentChild>>
113 template<
typename ChildrenT = ComponentChild>
123 template<
typename VariantsT = Aws::Vector<ComponentVariant>>
124 void SetVariants(VariantsT&& value) { m_variantsHasBeenSet =
true; m_variants = std::forward<VariantsT>(value); }
125 template<
typename VariantsT = Aws::Vector<ComponentVariant>>
127 template<
typename VariantsT = ComponentVariant>
138 template<
typename Overr
idesT = Aws::Map<Aws::String, Aws::Map<Aws::String, Aws::String>>>
139 void SetOverrides(OverridesT&& value) { m_overridesHasBeenSet =
true; m_overrides = std::forward<OverridesT>(value); }
140 template<
typename Overr
idesT = Aws::Map<Aws::String, Aws::Map<Aws::String, Aws::String>>>
142 template<
typename Overr
idesKeyT = Aws::String,
typename Overr
idesValueT = Aws::Map<Aws::String, Aws::String>>
144 m_overridesHasBeenSet =
true; m_overrides.emplace(std::forward<OverridesKeyT>(key), std::forward<OverridesValueT>(value));
return *
this;
154 template<
typename BindingPropertiesT = Aws::Map<Aws::String, ComponentBindingPropertiesValue>>
155 void SetBindingProperties(BindingPropertiesT&& value) { m_bindingPropertiesHasBeenSet =
true; m_bindingProperties = std::forward<BindingPropertiesT>(value); }
156 template<
typename BindingPropertiesT = Aws::Map<Aws::String, ComponentBindingPropertiesValue>>
158 template<
typename BindingPropertiesKeyT = Aws::String,
typename BindingPropertiesValueT = ComponentBindingPropertiesValue>
160 m_bindingPropertiesHasBeenSet =
true; m_bindingProperties.emplace(std::forward<BindingPropertiesKeyT>(key), std::forward<BindingPropertiesValueT>(value));
return *
this;
171 template<
typename CollectionPropertiesT = Aws::Map<Aws::String, ComponentDataConfiguration>>
172 void SetCollectionProperties(CollectionPropertiesT&& value) { m_collectionPropertiesHasBeenSet =
true; m_collectionProperties = std::forward<CollectionPropertiesT>(value); }
173 template<
typename CollectionPropertiesT = Aws::Map<Aws::String, ComponentDataConfiguration>>
175 template<
typename CollectionPropertiesKeyT = Aws::String,
typename CollectionPropertiesValueT = ComponentDataConfiguration>
177 m_collectionPropertiesHasBeenSet =
true; m_collectionProperties.emplace(std::forward<CollectionPropertiesKeyT>(key), std::forward<CollectionPropertiesValueT>(value));
return *
this;
187 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
188 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
189 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
191 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
193 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
204 template<
typename EventsT = Aws::Map<Aws::String, ComponentEvent>>
205 void SetEvents(EventsT&& value) { m_eventsHasBeenSet =
true; m_events = std::forward<EventsT>(value); }
206 template<
typename EventsT = Aws::Map<Aws::String, ComponentEvent>>
208 template<
typename EventsKeyT = Aws::String,
typename EventsValueT = ComponentEvent>
210 m_eventsHasBeenSet =
true; m_events.emplace(std::forward<EventsKeyT>(key), std::forward<EventsValueT>(value));
return *
this;
220 template<
typename SchemaVersionT = Aws::String>
221 void SetSchemaVersion(SchemaVersionT&& value) { m_schemaVersionHasBeenSet =
true; m_schemaVersion = std::forward<SchemaVersionT>(value); }
222 template<
typename SchemaVersionT = Aws::String>
228 bool m_nameHasBeenSet =
false;
231 bool m_sourceIdHasBeenSet =
false;
234 bool m_componentTypeHasBeenSet =
false;
237 bool m_propertiesHasBeenSet =
false;
240 bool m_childrenHasBeenSet =
false;
243 bool m_variantsHasBeenSet =
false;
246 bool m_overridesHasBeenSet =
false;
249 bool m_bindingPropertiesHasBeenSet =
false;
252 bool m_collectionPropertiesHasBeenSet =
false;
255 bool m_tagsHasBeenSet =
false;
258 bool m_eventsHasBeenSet =
false;
261 bool m_schemaVersionHasBeenSet =
false;
bool OverridesHasBeenSet() const
void SetVariants(VariantsT &&value)
void SetName(NameT &&value)
CreateComponentData & WithSchemaVersion(SchemaVersionT &&value)
CreateComponentData & AddBindingProperties(BindingPropertiesKeyT &&key, BindingPropertiesValueT &&value)
CreateComponentData & WithEvents(EventsT &&value)
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AMPLIFYUIBUILDER_API CreateComponentData()=default
const Aws::String & GetName() const
void SetTags(TagsT &&value)
CreateComponentData & AddOverrides(OverridesKeyT &&key, OverridesValueT &&value)
CreateComponentData & WithBindingProperties(BindingPropertiesT &&value)
void SetSchemaVersion(SchemaVersionT &&value)
CreateComponentData & WithProperties(PropertiesT &&value)
bool TagsHasBeenSet() const
CreateComponentData & WithTags(TagsT &&value)
CreateComponentData & AddVariants(VariantsT &&value)
bool ComponentTypeHasBeenSet() const
const Aws::String & GetComponentType() const
const Aws::String & GetSourceId() const
bool PropertiesHasBeenSet() const
bool SchemaVersionHasBeenSet() const
CreateComponentData & WithOverrides(OverridesT &&value)
void SetCollectionProperties(CollectionPropertiesT &&value)
AWS_AMPLIFYUIBUILDER_API CreateComponentData & operator=(Aws::Utils::Json::JsonView jsonValue)
CreateComponentData & AddCollectionProperties(CollectionPropertiesKeyT &&key, CollectionPropertiesValueT &&value)
const Aws::Vector< ComponentChild > & GetChildren() const
void SetChildren(ChildrenT &&value)
bool CollectionPropertiesHasBeenSet() const
CreateComponentData & WithSourceId(SourceIdT &&value)
CreateComponentData & AddChildren(ChildrenT &&value)
const Aws::Map< Aws::String, ComponentEvent > & GetEvents() const
const Aws::Map< Aws::String, Aws::Map< Aws::String, Aws::String > > & GetOverrides() const
bool ChildrenHasBeenSet() const
void SetOverrides(OverridesT &&value)
const Aws::Map< Aws::String, ComponentBindingPropertiesValue > & GetBindingProperties() const
CreateComponentData & WithName(NameT &&value)
const Aws::Vector< ComponentVariant > & GetVariants() const
const Aws::Map< Aws::String, ComponentProperty > & GetProperties() const
AWS_AMPLIFYUIBUILDER_API CreateComponentData(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSchemaVersion() const
CreateComponentData & WithChildren(ChildrenT &&value)
void SetComponentType(ComponentTypeT &&value)
bool SourceIdHasBeenSet() const
CreateComponentData & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool BindingPropertiesHasBeenSet() const
bool VariantsHasBeenSet() const
CreateComponentData & WithCollectionProperties(CollectionPropertiesT &&value)
void SetBindingProperties(BindingPropertiesT &&value)
void SetEvents(EventsT &&value)
const Aws::Map< Aws::String, ComponentDataConfiguration > & GetCollectionProperties() const
CreateComponentData & WithComponentType(ComponentTypeT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetSourceId(SourceIdT &&value)
CreateComponentData & WithVariants(VariantsT &&value)
CreateComponentData & AddProperties(PropertiesKeyT &&key, PropertiesValueT &&value)
bool EventsHasBeenSet() const
bool NameHasBeenSet() const
CreateComponentData & AddEvents(EventsKeyT &&key, EventsValueT &&value)
void SetProperties(PropertiesT &&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