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/core/utils/DateTime.h>
12#include <aws/amplifyuibuilder/model/ComponentProperty.h>
13#include <aws/amplifyuibuilder/model/ComponentChild.h>
14#include <aws/amplifyuibuilder/model/ComponentVariant.h>
15#include <aws/amplifyuibuilder/model/ComponentBindingPropertiesValue.h>
16#include <aws/amplifyuibuilder/model/ComponentDataConfiguration.h>
17#include <aws/amplifyuibuilder/model/ComponentEvent.h>
30namespace AmplifyUIBuilder
59 template<
typename AppIdT = Aws::String>
60 void SetAppId(AppIdT&& value) { m_appIdHasBeenSet =
true; m_appId = std::forward<AppIdT>(value); }
61 template<
typename AppIdT = Aws::String>
71 template<
typename EnvironmentNameT = Aws::String>
72 void SetEnvironmentName(EnvironmentNameT&& value) { m_environmentNameHasBeenSet =
true; m_environmentName = std::forward<EnvironmentNameT>(value); }
73 template<
typename EnvironmentNameT = Aws::String>
84 template<
typename SourceIdT = Aws::String>
85 void SetSourceId(SourceIdT&& value) { m_sourceIdHasBeenSet =
true; m_sourceId = std::forward<SourceIdT>(value); }
86 template<
typename SourceIdT = Aws::String>
96 template<
typename IdT = Aws::String>
97 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
98 template<
typename IdT = Aws::String>
108 template<
typename NameT = Aws::String>
109 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
110 template<
typename NameT = Aws::String>
121 template<
typename ComponentTypeT = Aws::String>
122 void SetComponentType(ComponentTypeT&& value) { m_componentTypeHasBeenSet =
true; m_componentType = std::forward<ComponentTypeT>(value); }
123 template<
typename ComponentTypeT = Aws::String>
134 template<
typename PropertiesT = Aws::Map<Aws::String, ComponentProperty>>
135 void SetProperties(PropertiesT&& value) { m_propertiesHasBeenSet =
true; m_properties = std::forward<PropertiesT>(value); }
136 template<
typename PropertiesT = Aws::Map<Aws::String, ComponentProperty>>
138 template<
typename PropertiesKeyT = Aws::String,
typename PropertiesValueT = ComponentProperty>
140 m_propertiesHasBeenSet =
true; m_properties.emplace(std::forward<PropertiesKeyT>(key), std::forward<PropertiesValueT>(value));
return *
this;
150 template<
typename ChildrenT = Aws::Vector<ComponentChild>>
151 void SetChildren(ChildrenT&& value) { m_childrenHasBeenSet =
true; m_children = std::forward<ChildrenT>(value); }
152 template<
typename ChildrenT = Aws::Vector<ComponentChild>>
154 template<
typename ChildrenT = ComponentChild>
155 Component&
AddChildren(ChildrenT&& value) { m_childrenHasBeenSet =
true; m_children.emplace_back(std::forward<ChildrenT>(value));
return *
this; }
165 template<
typename VariantsT = Aws::Vector<ComponentVariant>>
166 void SetVariants(VariantsT&& value) { m_variantsHasBeenSet =
true; m_variants = std::forward<VariantsT>(value); }
167 template<
typename VariantsT = Aws::Vector<ComponentVariant>>
169 template<
typename VariantsT = ComponentVariant>
170 Component&
AddVariants(VariantsT&& value) { m_variantsHasBeenSet =
true; m_variants.emplace_back(std::forward<VariantsT>(value));
return *
this; }
181 template<
typename Overr
idesT = Aws::Map<Aws::String, Aws::Map<Aws::String, Aws::String>>>
182 void SetOverrides(OverridesT&& value) { m_overridesHasBeenSet =
true; m_overrides = std::forward<OverridesT>(value); }
183 template<
typename Overr
idesT = Aws::Map<Aws::String, Aws::Map<Aws::String, Aws::String>>>
185 template<
typename Overr
idesKeyT = Aws::String,
typename Overr
idesValueT = Aws::Map<Aws::String, Aws::String>>
187 m_overridesHasBeenSet =
true; m_overrides.emplace(std::forward<OverridesKeyT>(key), std::forward<OverridesValueT>(value));
return *
this;
199 template<
typename BindingPropertiesT = Aws::Map<Aws::String, ComponentBindingPropertiesValue>>
200 void SetBindingProperties(BindingPropertiesT&& value) { m_bindingPropertiesHasBeenSet =
true; m_bindingProperties = std::forward<BindingPropertiesT>(value); }
201 template<
typename BindingPropertiesT = Aws::Map<Aws::String, ComponentBindingPropertiesValue>>
203 template<
typename BindingPropertiesKeyT = Aws::String,
typename BindingPropertiesValueT = ComponentBindingPropertiesValue>
205 m_bindingPropertiesHasBeenSet =
true; m_bindingProperties.emplace(std::forward<BindingPropertiesKeyT>(key), std::forward<BindingPropertiesValueT>(value));
return *
this;
217 template<
typename CollectionPropertiesT = Aws::Map<Aws::String, ComponentDataConfiguration>>
218 void SetCollectionProperties(CollectionPropertiesT&& value) { m_collectionPropertiesHasBeenSet =
true; m_collectionProperties = std::forward<CollectionPropertiesT>(value); }
219 template<
typename CollectionPropertiesT = Aws::Map<Aws::String, ComponentDataConfiguration>>
221 template<
typename CollectionPropertiesKeyT = Aws::String,
typename CollectionPropertiesValueT = ComponentDataConfiguration>
223 m_collectionPropertiesHasBeenSet =
true; m_collectionProperties.emplace(std::forward<CollectionPropertiesKeyT>(key), std::forward<CollectionPropertiesValueT>(value));
return *
this;
233 template<
typename CreatedAtT = Aws::Utils::DateTime>
234 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
235 template<
typename CreatedAtT = Aws::Utils::DateTime>
245 template<
typename ModifiedAtT = Aws::Utils::DateTime>
246 void SetModifiedAt(ModifiedAtT&& value) { m_modifiedAtHasBeenSet =
true; m_modifiedAt = std::forward<ModifiedAtT>(value); }
247 template<
typename ModifiedAtT = Aws::Utils::DateTime>
257 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
258 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
259 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
261 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
263 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
275 template<
typename EventsT = Aws::Map<Aws::String, ComponentEvent>>
276 void SetEvents(EventsT&& value) { m_eventsHasBeenSet =
true; m_events = std::forward<EventsT>(value); }
277 template<
typename EventsT = Aws::Map<Aws::String, ComponentEvent>>
279 template<
typename EventsKeyT = Aws::String,
typename EventsValueT = ComponentEvent>
281 m_eventsHasBeenSet =
true; m_events.emplace(std::forward<EventsKeyT>(key), std::forward<EventsValueT>(value));
return *
this;
291 template<
typename SchemaVersionT = Aws::String>
292 void SetSchemaVersion(SchemaVersionT&& value) { m_schemaVersionHasBeenSet =
true; m_schemaVersion = std::forward<SchemaVersionT>(value); }
293 template<
typename SchemaVersionT = Aws::String>
299 bool m_appIdHasBeenSet =
false;
302 bool m_environmentNameHasBeenSet =
false;
305 bool m_sourceIdHasBeenSet =
false;
308 bool m_idHasBeenSet =
false;
311 bool m_nameHasBeenSet =
false;
314 bool m_componentTypeHasBeenSet =
false;
317 bool m_propertiesHasBeenSet =
false;
320 bool m_childrenHasBeenSet =
false;
323 bool m_variantsHasBeenSet =
false;
326 bool m_overridesHasBeenSet =
false;
329 bool m_bindingPropertiesHasBeenSet =
false;
332 bool m_collectionPropertiesHasBeenSet =
false;
335 bool m_createdAtHasBeenSet =
false;
338 bool m_modifiedAtHasBeenSet =
false;
341 bool m_tagsHasBeenSet =
false;
344 bool m_eventsHasBeenSet =
false;
347 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