7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/amplifyuibuilder/model/ComponentEvent.h>
9#include <aws/amplifyuibuilder/model/ComponentProperty.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
23namespace AmplifyUIBuilder {
45 template <
typename ComponentTypeT = Aws::String>
47 m_componentTypeHasBeenSet =
true;
48 m_componentType = std::forward<ComponentTypeT>(value);
50 template <
typename ComponentTypeT = Aws::String>
63 template <
typename NameT = Aws::String>
65 m_nameHasBeenSet =
true;
66 m_name = std::forward<NameT>(value);
68 template <
typename NameT = Aws::String>
70 SetName(std::forward<NameT>(value));
82 template <
typename PropertiesT = Aws::Map<Aws::String, ComponentProperty>>
84 m_propertiesHasBeenSet =
true;
85 m_properties = std::forward<PropertiesT>(value);
87 template <
typename PropertiesT = Aws::Map<Aws::String, ComponentProperty>>
92 template <
typename PropertiesKeyT = Aws::String,
typename PropertiesValueT = ComponentProperty>
94 m_propertiesHasBeenSet =
true;
95 m_properties.emplace(std::forward<PropertiesKeyT>(key), std::forward<PropertiesValueT>(value));
106 template <
typename ChildrenT = Aws::Vector<ComponentChild>>
108 m_childrenHasBeenSet =
true;
109 m_children = std::forward<ChildrenT>(value);
111 template <
typename ChildrenT = Aws::Vector<ComponentChild>>
116 template <
typename ChildrenT = ComponentChild>
118 m_childrenHasBeenSet =
true;
119 m_children.emplace_back(std::forward<ChildrenT>(value));
132 template <
typename EventsT = Aws::Map<Aws::String, ComponentEvent>>
134 m_eventsHasBeenSet =
true;
135 m_events = std::forward<EventsT>(value);
137 template <
typename EventsT = Aws::Map<Aws::String, ComponentEvent>>
142 template <
typename EventsKeyT = Aws::String,
typename EventsValueT = ComponentEvent>
144 m_eventsHasBeenSet =
true;
145 m_events.emplace(std::forward<EventsKeyT>(key), std::forward<EventsValueT>(value));
157 template <
typename SourceIdT = Aws::String>
159 m_sourceIdHasBeenSet =
true;
160 m_sourceId = std::forward<SourceIdT>(value);
162 template <
typename SourceIdT = Aws::String>
180 bool m_componentTypeHasBeenSet =
false;
181 bool m_nameHasBeenSet =
false;
182 bool m_propertiesHasBeenSet =
false;
183 bool m_childrenHasBeenSet =
false;
184 bool m_eventsHasBeenSet =
false;
185 bool m_sourceIdHasBeenSet =
false;
void SetEvents(EventsT &&value)
ComponentChild & WithEvents(EventsT &&value)
ComponentChild & WithProperties(PropertiesT &&value)
AWS_AMPLIFYUIBUILDER_API ComponentChild(Aws::Utils::Json::JsonView jsonValue)
ComponentChild & AddEvents(EventsKeyT &&key, EventsValueT &&value)
ComponentChild & AddProperties(PropertiesKeyT &&key, PropertiesValueT &&value)
bool NameHasBeenSet() const
ComponentChild & WithChildren(ChildrenT &&value)
ComponentChild & AddChildren(ChildrenT &&value)
void SetChildren(ChildrenT &&value)
AWS_AMPLIFYUIBUILDER_API ComponentChild()=default
void SetProperties(PropertiesT &&value)
const Aws::Map< Aws::String, ComponentProperty > & GetProperties() const
const Aws::String & GetComponentType() const
bool ChildrenHasBeenSet() const
void SetName(NameT &&value)
ComponentChild & WithComponentType(ComponentTypeT &&value)
ComponentChild & WithSourceId(SourceIdT &&value)
bool EventsHasBeenSet() const
const Aws::Map< Aws::String, ComponentEvent > & GetEvents() const
void SetSourceId(SourceIdT &&value)
void SetComponentType(ComponentTypeT &&value)
bool SourceIdHasBeenSet() const
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetSourceId() const
ComponentChild & WithName(NameT &&value)
const Aws::String & GetName() const
bool ComponentTypeHasBeenSet() const
const Aws::Vector< ComponentChild > & GetChildren() const
bool PropertiesHasBeenSet() const
AWS_AMPLIFYUIBUILDER_API ComponentChild & operator=(Aws::Utils::Json::JsonView jsonValue)
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