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/ComponentEvent.h>
25namespace AmplifyUIBuilder
53 inline void SetComponentType(
const char* value) { m_componentTypeHasBeenSet =
true; m_componentType.assign(value); }
67 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
135 inline void SetSourceId(
const char* value) { m_sourceIdHasBeenSet =
true; m_sourceId.assign(value); }
143 bool m_componentTypeHasBeenSet =
false;
146 bool m_nameHasBeenSet =
false;
149 bool m_propertiesHasBeenSet =
false;
152 bool m_childrenHasBeenSet =
false;
155 bool m_eventsHasBeenSet =
false;
158 bool m_sourceIdHasBeenSet =
false;
ComponentChild & AddProperties(const Aws::String &key, ComponentProperty &&value)
void SetSourceId(const Aws::String &value)
ComponentChild & WithName(const Aws::String &value)
AWS_AMPLIFYUIBUILDER_API ComponentChild(Aws::Utils::Json::JsonView jsonValue)
ComponentChild & WithComponentType(Aws::String &&value)
ComponentChild & WithSourceId(Aws::String &&value)
void SetProperties(const Aws::Map< Aws::String, ComponentProperty > &value)
bool NameHasBeenSet() const
void SetName(Aws::String &&value)
ComponentChild & WithEvents(const Aws::Map< Aws::String, ComponentEvent > &value)
void SetSourceId(Aws::String &&value)
AWS_AMPLIFYUIBUILDER_API ComponentChild()
void SetChildren(const Aws::Vector< ComponentChild > &value)
ComponentChild & AddProperties(const Aws::String &key, const ComponentProperty &value)
ComponentChild & WithEvents(Aws::Map< Aws::String, ComponentEvent > &&value)
ComponentChild & WithSourceId(const Aws::String &value)
ComponentChild & AddChildren(ComponentChild &&value)
ComponentChild & AddProperties(Aws::String &&key, const ComponentProperty &value)
void SetSourceId(const char *value)
ComponentChild & AddProperties(Aws::String &&key, ComponentProperty &&value)
ComponentChild & AddChildren(const ComponentChild &value)
ComponentChild & AddProperties(const char *key, const ComponentProperty &value)
const Aws::Map< Aws::String, ComponentProperty > & GetProperties() const
void SetEvents(const Aws::Map< Aws::String, ComponentEvent > &value)
void SetName(const Aws::String &value)
ComponentChild & WithProperties(const Aws::Map< Aws::String, ComponentProperty > &value)
const Aws::String & GetComponentType() const
ComponentChild & WithName(Aws::String &&value)
void SetComponentType(const Aws::String &value)
ComponentChild & AddEvents(const Aws::String &key, const ComponentEvent &value)
bool ChildrenHasBeenSet() const
ComponentChild & AddEvents(const char *key, const ComponentEvent &value)
bool EventsHasBeenSet() const
const Aws::Map< Aws::String, ComponentEvent > & GetEvents() const
void SetComponentType(const char *value)
void SetProperties(Aws::Map< Aws::String, ComponentProperty > &&value)
bool SourceIdHasBeenSet() const
void SetName(const char *value)
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetChildren(Aws::Vector< ComponentChild > &&value)
ComponentChild & WithProperties(Aws::Map< Aws::String, ComponentProperty > &&value)
void SetEvents(Aws::Map< Aws::String, ComponentEvent > &&value)
ComponentChild & AddEvents(Aws::String &&key, const ComponentEvent &value)
ComponentChild & WithChildren(const Aws::Vector< ComponentChild > &value)
ComponentChild & WithName(const char *value)
ComponentChild & WithSourceId(const char *value)
ComponentChild & WithComponentType(const Aws::String &value)
const Aws::String & GetSourceId() const
ComponentChild & AddEvents(Aws::String &&key, ComponentEvent &&value)
ComponentChild & WithChildren(Aws::Vector< ComponentChild > &&value)
const Aws::String & GetName() const
bool ComponentTypeHasBeenSet() const
const Aws::Vector< ComponentChild > & GetChildren() const
void SetComponentType(Aws::String &&value)
ComponentChild & WithComponentType(const char *value)
ComponentChild & AddEvents(const char *key, ComponentEvent &&value)
bool PropertiesHasBeenSet() const
ComponentChild & AddProperties(const char *key, ComponentProperty &&value)
AWS_AMPLIFYUIBUILDER_API ComponentChild & operator=(Aws::Utils::Json::JsonView jsonValue)
ComponentChild & AddEvents(const Aws::String &key, ComponentEvent &&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