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/DateTime.h>
15#include <aws/core/utils/memory/stl/AWSMap.h>
16#include <aws/core/utils/memory/stl/AWSString.h>
17#include <aws/core/utils/memory/stl/AWSVector.h>
28namespace AmplifyUIBuilder {
53 template <
typename AppIdT = Aws::String>
55 m_appIdHasBeenSet =
true;
56 m_appId = std::forward<AppIdT>(value);
58 template <
typename AppIdT = Aws::String>
60 SetAppId(std::forward<AppIdT>(value));
71 template <
typename EnvironmentNameT = Aws::String>
73 m_environmentNameHasBeenSet =
true;
74 m_environmentName = std::forward<EnvironmentNameT>(value);
76 template <
typename EnvironmentNameT = Aws::String>
90 template <
typename SourceIdT = Aws::String>
92 m_sourceIdHasBeenSet =
true;
93 m_sourceId = std::forward<SourceIdT>(value);
95 template <
typename SourceIdT = Aws::String>
108 template <
typename IdT = Aws::String>
110 m_idHasBeenSet =
true;
111 m_id = std::forward<IdT>(value);
113 template <
typename IdT = Aws::String>
115 SetId(std::forward<IdT>(value));
126 template <
typename NameT = Aws::String>
128 m_nameHasBeenSet =
true;
129 m_name = std::forward<NameT>(value);
131 template <
typename NameT = Aws::String>
133 SetName(std::forward<NameT>(value));
145 template <
typename ComponentTypeT = Aws::String>
147 m_componentTypeHasBeenSet =
true;
148 m_componentType = std::forward<ComponentTypeT>(value);
150 template <
typename ComponentTypeT = Aws::String>
164 template <
typename PropertiesT = Aws::Map<Aws::String, ComponentProperty>>
166 m_propertiesHasBeenSet =
true;
167 m_properties = std::forward<PropertiesT>(value);
169 template <
typename PropertiesT = Aws::Map<Aws::String, ComponentProperty>>
174 template <
typename PropertiesKeyT = Aws::String,
typename PropertiesValueT = ComponentProperty>
176 m_propertiesHasBeenSet =
true;
177 m_properties.emplace(std::forward<PropertiesKeyT>(key), std::forward<PropertiesValueT>(value));
188 template <
typename ChildrenT = Aws::Vector<ComponentChild>>
190 m_childrenHasBeenSet =
true;
191 m_children = std::forward<ChildrenT>(value);
193 template <
typename ChildrenT = Aws::Vector<ComponentChild>>
198 template <
typename ChildrenT = ComponentChild>
200 m_childrenHasBeenSet =
true;
201 m_children.emplace_back(std::forward<ChildrenT>(value));
213 template <
typename VariantsT = Aws::Vector<ComponentVariant>>
215 m_variantsHasBeenSet =
true;
216 m_variants = std::forward<VariantsT>(value);
218 template <
typename VariantsT = Aws::Vector<ComponentVariant>>
223 template <
typename VariantsT = ComponentVariant>
225 m_variantsHasBeenSet =
true;
226 m_variants.emplace_back(std::forward<VariantsT>(value));
239 template <
typename Overr
idesT = Aws::Map<Aws::String, Aws::Map<Aws::String, Aws::String>>>
241 m_overridesHasBeenSet =
true;
242 m_overrides = std::forward<OverridesT>(value);
244 template <
typename Overr
idesT = Aws::Map<Aws::String, Aws::Map<Aws::String, Aws::String>>>
249 template <
typename Overr
idesKeyT = Aws::String,
typename Overr
idesValueT = Aws::Map<Aws::String, Aws::String>>
251 m_overridesHasBeenSet =
true;
252 m_overrides.emplace(std::forward<OverridesKeyT>(key), std::forward<OverridesValueT>(value));
265 template <
typename BindingPropertiesT = Aws::Map<Aws::String, ComponentBindingPropertiesValue>>
267 m_bindingPropertiesHasBeenSet =
true;
268 m_bindingProperties = std::forward<BindingPropertiesT>(value);
270 template <
typename BindingPropertiesT = Aws::Map<Aws::String, ComponentBindingPropertiesValue>>
275 template <
typename BindingPropertiesKeyT = Aws::String,
typename BindingPropertiesValueT = ComponentBindingPropertiesValue>
277 m_bindingPropertiesHasBeenSet =
true;
278 m_bindingProperties.emplace(std::forward<BindingPropertiesKeyT>(key), std::forward<BindingPropertiesValueT>(value));
291 template <
typename CollectionPropertiesT = Aws::Map<Aws::String, ComponentDataConfiguration>>
293 m_collectionPropertiesHasBeenSet =
true;
294 m_collectionProperties = std::forward<CollectionPropertiesT>(value);
296 template <
typename CollectionPropertiesT = Aws::Map<Aws::String, ComponentDataConfiguration>>
301 template <
typename CollectionPropertiesKeyT = Aws::String,
typename CollectionPropertiesValueT = ComponentDataConfiguration>
303 m_collectionPropertiesHasBeenSet =
true;
304 m_collectionProperties.emplace(std::forward<CollectionPropertiesKeyT>(key), std::forward<CollectionPropertiesValueT>(value));
315 template <
typename CreatedAtT = Aws::Utils::DateTime>
317 m_createdAtHasBeenSet =
true;
318 m_createdAt = std::forward<CreatedAtT>(value);
320 template <
typename CreatedAtT = Aws::Utils::DateTime>
333 template <
typename ModifiedAtT = Aws::Utils::DateTime>
335 m_modifiedAtHasBeenSet =
true;
336 m_modifiedAt = std::forward<ModifiedAtT>(value);
338 template <
typename ModifiedAtT = Aws::Utils::DateTime>
351 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
353 m_tagsHasBeenSet =
true;
354 m_tags = std::forward<TagsT>(value);
356 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
358 SetTags(std::forward<TagsT>(value));
361 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
363 m_tagsHasBeenSet =
true;
364 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
377 template <
typename EventsT = Aws::Map<Aws::String, ComponentEvent>>
379 m_eventsHasBeenSet =
true;
380 m_events = std::forward<EventsT>(value);
382 template <
typename EventsT = Aws::Map<Aws::String, ComponentEvent>>
387 template <
typename EventsKeyT = Aws::String,
typename EventsValueT = ComponentEvent>
389 m_eventsHasBeenSet =
true;
390 m_events.emplace(std::forward<EventsKeyT>(key), std::forward<EventsValueT>(value));
401 template <
typename SchemaVersionT = Aws::String>
403 m_schemaVersionHasBeenSet =
true;
404 m_schemaVersion = std::forward<SchemaVersionT>(value);
406 template <
typename SchemaVersionT = Aws::String>
446 bool m_appIdHasBeenSet =
false;
447 bool m_environmentNameHasBeenSet =
false;
448 bool m_sourceIdHasBeenSet =
false;
449 bool m_idHasBeenSet =
false;
450 bool m_nameHasBeenSet =
false;
451 bool m_componentTypeHasBeenSet =
false;
452 bool m_propertiesHasBeenSet =
false;
453 bool m_childrenHasBeenSet =
false;
454 bool m_variantsHasBeenSet =
false;
455 bool m_overridesHasBeenSet =
false;
456 bool m_bindingPropertiesHasBeenSet =
false;
457 bool m_collectionPropertiesHasBeenSet =
false;
458 bool m_createdAtHasBeenSet =
false;
459 bool m_modifiedAtHasBeenSet =
false;
460 bool m_tagsHasBeenSet =
false;
461 bool m_eventsHasBeenSet =
false;
462 bool m_schemaVersionHasBeenSet =
false;
bool ModifiedAtHasBeenSet() const
void SetProperties(PropertiesT &&value)
Component & AddChildren(ChildrenT &&value)
void SetSchemaVersion(SchemaVersionT &&value)
Component & WithEnvironmentName(EnvironmentNameT &&value)
Component & WithEvents(EventsT &&value)
bool PropertiesHasBeenSet() const
void SetEnvironmentName(EnvironmentNameT &&value)
Component & WithOverrides(OverridesT &&value)
bool SchemaVersionHasBeenSet() const
void SetChildren(ChildrenT &&value)
void SetAppId(AppIdT &&value)
bool AppIdHasBeenSet() const
void SetTags(TagsT &&value)
Component & WithChildren(ChildrenT &&value)
bool NameHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
Component & AddEvents(EventsKeyT &&key, EventsValueT &&value)
bool VariantsHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetSourceId(SourceIdT &&value)
void SetVariants(VariantsT &&value)
bool EventsHasBeenSet() const
bool IdHasBeenSet() const
Component & WithModifiedAt(ModifiedAtT &&value)
Component & WithCreatedAt(CreatedAtT &&value)
Component & WithTags(TagsT &&value)
const Aws::String & GetSourceId() const
Component & WithAppId(AppIdT &&value)
Component & WithId(IdT &&value)
Component & WithVariants(VariantsT &&value)
const Aws::String & GetAppId() const
const Aws::Vector< ComponentChild > & GetChildren() const
const Aws::String & GetName() const
void SetName(NameT &&value)
bool OverridesHasBeenSet() const
void SetComponentType(ComponentTypeT &&value)
const Aws::String & GetSchemaVersion() const
const Aws::Map< Aws::String, ComponentDataConfiguration > & GetCollectionProperties() const
const Aws::String & GetEnvironmentName() const
Component & AddCollectionProperties(CollectionPropertiesKeyT &&key, CollectionPropertiesValueT &&value)
void SetBindingProperties(BindingPropertiesT &&value)
Component & AddProperties(PropertiesKeyT &&key, PropertiesValueT &&value)
Component & WithProperties(PropertiesT &&value)
const Aws::Map< Aws::String, ComponentProperty > & GetProperties() const
Component & WithCollectionProperties(CollectionPropertiesT &&value)
Component & WithComponentType(ComponentTypeT &&value)
bool ComponentTypeHasBeenSet() const
const Aws::String & GetComponentType() const
Component & AddOverrides(OverridesKeyT &&key, OverridesValueT &&value)
AWS_AMPLIFYUIBUILDER_API Component()=default
void SetModifiedAt(ModifiedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
bool EnvironmentNameHasBeenSet() const
AWS_AMPLIFYUIBUILDER_API Component(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetModifiedAt() const
bool ChildrenHasBeenSet() const
bool CreatedAtHasBeenSet() const
bool BindingPropertiesHasBeenSet() const
const Aws::Map< Aws::String, ComponentEvent > & GetEvents() const
Component & AddVariants(VariantsT &&value)
Component & WithBindingProperties(BindingPropertiesT &&value)
bool CollectionPropertiesHasBeenSet() const
void SetOverrides(OverridesT &&value)
bool SourceIdHasBeenSet() const
Component & WithName(NameT &&value)
const Aws::Map< Aws::String, ComponentBindingPropertiesValue > & GetBindingProperties() const
Component & AddTags(TagsKeyT &&key, TagsValueT &&value)
Component & AddBindingProperties(BindingPropertiesKeyT &&key, BindingPropertiesValueT &&value)
void SetCollectionProperties(CollectionPropertiesT &&value)
const Aws::Map< Aws::String, Aws::Map< Aws::String, Aws::String > > & GetOverrides() const
Component & WithSourceId(SourceIdT &&value)
const Aws::Vector< ComponentVariant > & GetVariants() const
AWS_AMPLIFYUIBUILDER_API Component & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetId() const
bool TagsHasBeenSet() const
Component & WithSchemaVersion(SchemaVersionT &&value)
void SetEvents(EventsT &&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