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 IdT = Aws::String>
56 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
57 template<
typename IdT = Aws::String>
67 template<
typename NameT = Aws::String>
68 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
69 template<
typename NameT = Aws::String>
80 template<
typename SourceIdT = Aws::String>
81 void SetSourceId(SourceIdT&& value) { m_sourceIdHasBeenSet =
true; m_sourceId = std::forward<SourceIdT>(value); }
82 template<
typename SourceIdT = Aws::String>
93 template<
typename ComponentTypeT = Aws::String>
94 void SetComponentType(ComponentTypeT&& value) { m_componentTypeHasBeenSet =
true; m_componentType = std::forward<ComponentTypeT>(value); }
95 template<
typename ComponentTypeT = Aws::String>
105 template<
typename PropertiesT = Aws::Map<Aws::String, ComponentProperty>>
106 void SetProperties(PropertiesT&& value) { m_propertiesHasBeenSet =
true; m_properties = std::forward<PropertiesT>(value); }
107 template<
typename PropertiesT = Aws::Map<Aws::String, ComponentProperty>>
109 template<
typename PropertiesKeyT = Aws::String,
typename PropertiesValueT = ComponentProperty>
111 m_propertiesHasBeenSet =
true; m_properties.emplace(std::forward<PropertiesKeyT>(key), std::forward<PropertiesValueT>(value));
return *
this;
121 template<
typename ChildrenT = Aws::Vector<ComponentChild>>
122 void SetChildren(ChildrenT&& value) { m_childrenHasBeenSet =
true; m_children = std::forward<ChildrenT>(value); }
123 template<
typename ChildrenT = Aws::Vector<ComponentChild>>
125 template<
typename ChildrenT = ComponentChild>
135 template<
typename VariantsT = Aws::Vector<ComponentVariant>>
136 void SetVariants(VariantsT&& value) { m_variantsHasBeenSet =
true; m_variants = std::forward<VariantsT>(value); }
137 template<
typename VariantsT = Aws::Vector<ComponentVariant>>
139 template<
typename VariantsT = ComponentVariant>
150 template<
typename Overr
idesT = Aws::Map<Aws::String, Aws::Map<Aws::String, Aws::String>>>
151 void SetOverrides(OverridesT&& value) { m_overridesHasBeenSet =
true; m_overrides = std::forward<OverridesT>(value); }
152 template<
typename Overr
idesT = Aws::Map<Aws::String, Aws::Map<Aws::String, Aws::String>>>
154 template<
typename Overr
idesKeyT = Aws::String,
typename Overr
idesValueT = Aws::Map<Aws::String, Aws::String>>
156 m_overridesHasBeenSet =
true; m_overrides.emplace(std::forward<OverridesKeyT>(key), std::forward<OverridesValueT>(value));
return *
this;
166 template<
typename BindingPropertiesT = Aws::Map<Aws::String, ComponentBindingPropertiesValue>>
167 void SetBindingProperties(BindingPropertiesT&& value) { m_bindingPropertiesHasBeenSet =
true; m_bindingProperties = std::forward<BindingPropertiesT>(value); }
168 template<
typename BindingPropertiesT = Aws::Map<Aws::String, ComponentBindingPropertiesValue>>
170 template<
typename BindingPropertiesKeyT = Aws::String,
typename BindingPropertiesValueT = ComponentBindingPropertiesValue>
172 m_bindingPropertiesHasBeenSet =
true; m_bindingProperties.emplace(std::forward<BindingPropertiesKeyT>(key), std::forward<BindingPropertiesValueT>(value));
return *
this;
183 template<
typename CollectionPropertiesT = Aws::Map<Aws::String, ComponentDataConfiguration>>
184 void SetCollectionProperties(CollectionPropertiesT&& value) { m_collectionPropertiesHasBeenSet =
true; m_collectionProperties = std::forward<CollectionPropertiesT>(value); }
185 template<
typename CollectionPropertiesT = Aws::Map<Aws::String, ComponentDataConfiguration>>
187 template<
typename CollectionPropertiesKeyT = Aws::String,
typename CollectionPropertiesValueT = ComponentDataConfiguration>
189 m_collectionPropertiesHasBeenSet =
true; m_collectionProperties.emplace(std::forward<CollectionPropertiesKeyT>(key), std::forward<CollectionPropertiesValueT>(value));
return *
this;
200 template<
typename EventsT = Aws::Map<Aws::String, ComponentEvent>>
201 void SetEvents(EventsT&& value) { m_eventsHasBeenSet =
true; m_events = std::forward<EventsT>(value); }
202 template<
typename EventsT = Aws::Map<Aws::String, ComponentEvent>>
204 template<
typename EventsKeyT = Aws::String,
typename EventsValueT = ComponentEvent>
206 m_eventsHasBeenSet =
true; m_events.emplace(std::forward<EventsKeyT>(key), std::forward<EventsValueT>(value));
return *
this;
216 template<
typename SchemaVersionT = Aws::String>
217 void SetSchemaVersion(SchemaVersionT&& value) { m_schemaVersionHasBeenSet =
true; m_schemaVersion = std::forward<SchemaVersionT>(value); }
218 template<
typename SchemaVersionT = Aws::String>
224 bool m_idHasBeenSet =
false;
227 bool m_nameHasBeenSet =
false;
230 bool m_sourceIdHasBeenSet =
false;
233 bool m_componentTypeHasBeenSet =
false;
236 bool m_propertiesHasBeenSet =
false;
239 bool m_childrenHasBeenSet =
false;
242 bool m_variantsHasBeenSet =
false;
245 bool m_overridesHasBeenSet =
false;
248 bool m_bindingPropertiesHasBeenSet =
false;
251 bool m_collectionPropertiesHasBeenSet =
false;
254 bool m_eventsHasBeenSet =
false;
257 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