7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/amplifyuibuilder/model/ComponentBindingPropertiesValue.h>
9#include <aws/amplifyuibuilder/model/ComponentChild.h>
10#include <aws/amplifyuibuilder/model/ComponentDataConfiguration.h>
11#include <aws/amplifyuibuilder/model/ComponentEvent.h>
12#include <aws/amplifyuibuilder/model/ComponentProperty.h>
13#include <aws/amplifyuibuilder/model/ComponentVariant.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
16#include <aws/core/utils/memory/stl/AWSVector.h>
27namespace AmplifyUIBuilder {
49 template <
typename NameT = Aws::String>
51 m_nameHasBeenSet =
true;
52 m_name = std::forward<NameT>(value);
54 template <
typename NameT = Aws::String>
56 SetName(std::forward<NameT>(value));
68 template <
typename SourceIdT = Aws::String>
70 m_sourceIdHasBeenSet =
true;
71 m_sourceId = std::forward<SourceIdT>(value);
73 template <
typename SourceIdT = Aws::String>
87 template <
typename ComponentTypeT = Aws::String>
89 m_componentTypeHasBeenSet =
true;
90 m_componentType = std::forward<ComponentTypeT>(value);
92 template <
typename ComponentTypeT = Aws::String>
105 template <
typename PropertiesT = Aws::Map<Aws::String, ComponentProperty>>
107 m_propertiesHasBeenSet =
true;
108 m_properties = std::forward<PropertiesT>(value);
110 template <
typename PropertiesT = Aws::Map<Aws::String, ComponentProperty>>
115 template <
typename PropertiesKeyT = Aws::String,
typename PropertiesValueT = ComponentProperty>
117 m_propertiesHasBeenSet =
true;
118 m_properties.emplace(std::forward<PropertiesKeyT>(key), std::forward<PropertiesValueT>(value));
129 template <
typename ChildrenT = Aws::Vector<ComponentChild>>
131 m_childrenHasBeenSet =
true;
132 m_children = std::forward<ChildrenT>(value);
134 template <
typename ChildrenT = Aws::Vector<ComponentChild>>
139 template <
typename ChildrenT = ComponentChild>
141 m_childrenHasBeenSet =
true;
142 m_children.emplace_back(std::forward<ChildrenT>(value));
153 template <
typename VariantsT = Aws::Vector<ComponentVariant>>
155 m_variantsHasBeenSet =
true;
156 m_variants = std::forward<VariantsT>(value);
158 template <
typename VariantsT = Aws::Vector<ComponentVariant>>
163 template <
typename VariantsT = ComponentVariant>
165 m_variantsHasBeenSet =
true;
166 m_variants.emplace_back(std::forward<VariantsT>(value));
178 template <
typename Overr
idesT = Aws::Map<Aws::String, Aws::Map<Aws::String, Aws::String>>>
180 m_overridesHasBeenSet =
true;
181 m_overrides = std::forward<OverridesT>(value);
183 template <
typename Overr
idesT = Aws::Map<Aws::String, Aws::Map<Aws::String, Aws::String>>>
188 template <
typename Overr
idesKeyT = Aws::String,
typename Overr
idesValueT = Aws::Map<Aws::String, Aws::String>>
190 m_overridesHasBeenSet =
true;
191 m_overrides.emplace(std::forward<OverridesKeyT>(key), std::forward<OverridesValueT>(value));
202 template <
typename BindingPropertiesT = Aws::Map<Aws::String, ComponentBindingPropertiesValue>>
204 m_bindingPropertiesHasBeenSet =
true;
205 m_bindingProperties = std::forward<BindingPropertiesT>(value);
207 template <
typename BindingPropertiesT = Aws::Map<Aws::String, ComponentBindingPropertiesValue>>
212 template <
typename BindingPropertiesKeyT = Aws::String,
typename BindingPropertiesValueT = ComponentBindingPropertiesValue>
214 m_bindingPropertiesHasBeenSet =
true;
215 m_bindingProperties.emplace(std::forward<BindingPropertiesKeyT>(key), std::forward<BindingPropertiesValueT>(value));
227 template <
typename CollectionPropertiesT = Aws::Map<Aws::String, ComponentDataConfiguration>>
229 m_collectionPropertiesHasBeenSet =
true;
230 m_collectionProperties = std::forward<CollectionPropertiesT>(value);
232 template <
typename CollectionPropertiesT = Aws::Map<Aws::String, ComponentDataConfiguration>>
237 template <
typename CollectionPropertiesKeyT = Aws::String,
typename CollectionPropertiesValueT = ComponentDataConfiguration>
239 m_collectionPropertiesHasBeenSet =
true;
240 m_collectionProperties.emplace(std::forward<CollectionPropertiesKeyT>(key), std::forward<CollectionPropertiesValueT>(value));
251 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
253 m_tagsHasBeenSet =
true;
254 m_tags = std::forward<TagsT>(value);
256 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
258 SetTags(std::forward<TagsT>(value));
261 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
263 m_tagsHasBeenSet =
true;
264 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
276 template <
typename EventsT = Aws::Map<Aws::String, ComponentEvent>>
278 m_eventsHasBeenSet =
true;
279 m_events = std::forward<EventsT>(value);
281 template <
typename EventsT = Aws::Map<Aws::String, ComponentEvent>>
286 template <
typename EventsKeyT = Aws::String,
typename EventsValueT = ComponentEvent>
288 m_eventsHasBeenSet =
true;
289 m_events.emplace(std::forward<EventsKeyT>(key), std::forward<EventsValueT>(value));
300 template <
typename SchemaVersionT = Aws::String>
302 m_schemaVersionHasBeenSet =
true;
303 m_schemaVersion = std::forward<SchemaVersionT>(value);
305 template <
typename SchemaVersionT = Aws::String>
335 bool m_nameHasBeenSet =
false;
336 bool m_sourceIdHasBeenSet =
false;
337 bool m_componentTypeHasBeenSet =
false;
338 bool m_propertiesHasBeenSet =
false;
339 bool m_childrenHasBeenSet =
false;
340 bool m_variantsHasBeenSet =
false;
341 bool m_overridesHasBeenSet =
false;
342 bool m_bindingPropertiesHasBeenSet =
false;
343 bool m_collectionPropertiesHasBeenSet =
false;
344 bool m_tagsHasBeenSet =
false;
345 bool m_eventsHasBeenSet =
false;
346 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