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 IdT = Aws::String>
51 m_idHasBeenSet =
true;
52 m_id = std::forward<IdT>(value);
54 template <
typename IdT = Aws::String>
56 SetId(std::forward<IdT>(value));
67 template <
typename NameT = Aws::String>
69 m_nameHasBeenSet =
true;
70 m_name = std::forward<NameT>(value);
72 template <
typename NameT = Aws::String>
74 SetName(std::forward<NameT>(value));
86 template <
typename SourceIdT = Aws::String>
88 m_sourceIdHasBeenSet =
true;
89 m_sourceId = std::forward<SourceIdT>(value);
91 template <
typename SourceIdT = Aws::String>
105 template <
typename ComponentTypeT = Aws::String>
107 m_componentTypeHasBeenSet =
true;
108 m_componentType = std::forward<ComponentTypeT>(value);
110 template <
typename ComponentTypeT = Aws::String>
123 template <
typename PropertiesT = Aws::Map<Aws::String, ComponentProperty>>
125 m_propertiesHasBeenSet =
true;
126 m_properties = std::forward<PropertiesT>(value);
128 template <
typename PropertiesT = Aws::Map<Aws::String, ComponentProperty>>
133 template <
typename PropertiesKeyT = Aws::String,
typename PropertiesValueT = ComponentProperty>
135 m_propertiesHasBeenSet =
true;
136 m_properties.emplace(std::forward<PropertiesKeyT>(key), std::forward<PropertiesValueT>(value));
147 template <
typename ChildrenT = Aws::Vector<ComponentChild>>
149 m_childrenHasBeenSet =
true;
150 m_children = std::forward<ChildrenT>(value);
152 template <
typename ChildrenT = Aws::Vector<ComponentChild>>
157 template <
typename ChildrenT = ComponentChild>
159 m_childrenHasBeenSet =
true;
160 m_children.emplace_back(std::forward<ChildrenT>(value));
171 template <
typename VariantsT = Aws::Vector<ComponentVariant>>
173 m_variantsHasBeenSet =
true;
174 m_variants = std::forward<VariantsT>(value);
176 template <
typename VariantsT = Aws::Vector<ComponentVariant>>
181 template <
typename VariantsT = ComponentVariant>
183 m_variantsHasBeenSet =
true;
184 m_variants.emplace_back(std::forward<VariantsT>(value));
196 template <
typename Overr
idesT = Aws::Map<Aws::String, Aws::Map<Aws::String, Aws::String>>>
198 m_overridesHasBeenSet =
true;
199 m_overrides = std::forward<OverridesT>(value);
201 template <
typename Overr
idesT = Aws::Map<Aws::String, Aws::Map<Aws::String, Aws::String>>>
206 template <
typename Overr
idesKeyT = Aws::String,
typename Overr
idesValueT = Aws::Map<Aws::String, Aws::String>>
208 m_overridesHasBeenSet =
true;
209 m_overrides.emplace(std::forward<OverridesKeyT>(key), std::forward<OverridesValueT>(value));
220 template <
typename BindingPropertiesT = Aws::Map<Aws::String, ComponentBindingPropertiesValue>>
222 m_bindingPropertiesHasBeenSet =
true;
223 m_bindingProperties = std::forward<BindingPropertiesT>(value);
225 template <
typename BindingPropertiesT = Aws::Map<Aws::String, ComponentBindingPropertiesValue>>
230 template <
typename BindingPropertiesKeyT = Aws::String,
typename BindingPropertiesValueT = ComponentBindingPropertiesValue>
232 m_bindingPropertiesHasBeenSet =
true;
233 m_bindingProperties.emplace(std::forward<BindingPropertiesKeyT>(key), std::forward<BindingPropertiesValueT>(value));
245 template <
typename CollectionPropertiesT = Aws::Map<Aws::String, ComponentDataConfiguration>>
247 m_collectionPropertiesHasBeenSet =
true;
248 m_collectionProperties = std::forward<CollectionPropertiesT>(value);
250 template <
typename CollectionPropertiesT = Aws::Map<Aws::String, ComponentDataConfiguration>>
255 template <
typename CollectionPropertiesKeyT = Aws::String,
typename CollectionPropertiesValueT = ComponentDataConfiguration>
257 m_collectionPropertiesHasBeenSet =
true;
258 m_collectionProperties.emplace(std::forward<CollectionPropertiesKeyT>(key), std::forward<CollectionPropertiesValueT>(value));
270 template <
typename EventsT = Aws::Map<Aws::String, ComponentEvent>>
272 m_eventsHasBeenSet =
true;
273 m_events = std::forward<EventsT>(value);
275 template <
typename EventsT = Aws::Map<Aws::String, ComponentEvent>>
280 template <
typename EventsKeyT = Aws::String,
typename EventsValueT = ComponentEvent>
282 m_eventsHasBeenSet =
true;
283 m_events.emplace(std::forward<EventsKeyT>(key), std::forward<EventsValueT>(value));
294 template <
typename SchemaVersionT = Aws::String>
296 m_schemaVersionHasBeenSet =
true;
297 m_schemaVersion = std::forward<SchemaVersionT>(value);
299 template <
typename SchemaVersionT = Aws::String>
329 bool m_idHasBeenSet =
false;
330 bool m_nameHasBeenSet =
false;
331 bool m_sourceIdHasBeenSet =
false;
332 bool m_componentTypeHasBeenSet =
false;
333 bool m_propertiesHasBeenSet =
false;
334 bool m_childrenHasBeenSet =
false;
335 bool m_variantsHasBeenSet =
false;
336 bool m_overridesHasBeenSet =
false;
337 bool m_bindingPropertiesHasBeenSet =
false;
338 bool m_collectionPropertiesHasBeenSet =
false;
339 bool m_eventsHasBeenSet =
false;
340 bool m_schemaVersionHasBeenSet =
false;
void SetChildren(ChildrenT &&value)
void SetBindingProperties(BindingPropertiesT &&value)
bool PropertiesHasBeenSet() const
const Aws::String & GetSourceId() const
UpdateComponentData & WithVariants(VariantsT &&value)
const Aws::Map< Aws::String, ComponentBindingPropertiesValue > & GetBindingProperties() const
const Aws::Map< Aws::String, Aws::Map< Aws::String, Aws::String > > & GetOverrides() const
bool ChildrenHasBeenSet() const
UpdateComponentData & AddBindingProperties(BindingPropertiesKeyT &&key, BindingPropertiesValueT &&value)
const Aws::String & GetId() const
UpdateComponentData & AddCollectionProperties(CollectionPropertiesKeyT &&key, CollectionPropertiesValueT &&value)
bool SourceIdHasBeenSet() const
UpdateComponentData & AddProperties(PropertiesKeyT &&key, PropertiesValueT &&value)
AWS_AMPLIFYUIBUILDER_API UpdateComponentData()=default
AWS_AMPLIFYUIBUILDER_API UpdateComponentData & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_AMPLIFYUIBUILDER_API UpdateComponentData(Aws::Utils::Json::JsonView jsonValue)
UpdateComponentData & WithCollectionProperties(CollectionPropertiesT &&value)
const Aws::String & GetComponentType() const
UpdateComponentData & WithBindingProperties(BindingPropertiesT &&value)
void SetSchemaVersion(SchemaVersionT &&value)
bool ComponentTypeHasBeenSet() const
UpdateComponentData & WithName(NameT &&value)
bool BindingPropertiesHasBeenSet() const
void SetProperties(PropertiesT &&value)
UpdateComponentData & WithSourceId(SourceIdT &&value)
UpdateComponentData & AddOverrides(OverridesKeyT &&key, OverridesValueT &&value)
void SetOverrides(OverridesT &&value)
void SetVariants(VariantsT &&value)
UpdateComponentData & AddVariants(VariantsT &&value)
const Aws::String & GetSchemaVersion() const
bool IdHasBeenSet() const
bool EventsHasBeenSet() const
void SetEvents(EventsT &&value)
UpdateComponentData & WithEvents(EventsT &&value)
bool VariantsHasBeenSet() const
bool SchemaVersionHasBeenSet() const
const Aws::Map< Aws::String, ComponentProperty > & GetProperties() const
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateComponentData & WithOverrides(OverridesT &&value)
const Aws::String & GetName() const
void SetCollectionProperties(CollectionPropertiesT &&value)
UpdateComponentData & WithChildren(ChildrenT &&value)
void SetName(NameT &&value)
void SetSourceId(SourceIdT &&value)
UpdateComponentData & AddEvents(EventsKeyT &&key, EventsValueT &&value)
const Aws::Vector< ComponentVariant > & GetVariants() const
UpdateComponentData & WithProperties(PropertiesT &&value)
UpdateComponentData & AddChildren(ChildrenT &&value)
const Aws::Vector< ComponentChild > & GetChildren() const
const Aws::Map< Aws::String, ComponentEvent > & GetEvents() const
bool NameHasBeenSet() const
const Aws::Map< Aws::String, ComponentDataConfiguration > & GetCollectionProperties() const
void SetComponentType(ComponentTypeT &&value)
bool OverridesHasBeenSet() const
UpdateComponentData & WithId(IdT &&value)
bool CollectionPropertiesHasBeenSet() const
UpdateComponentData & WithComponentType(ComponentTypeT &&value)
UpdateComponentData & WithSchemaVersion(SchemaVersionT &&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