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
57 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
72 inline void SetSourceId(
const char* value) { m_sourceIdHasBeenSet =
true; m_sourceId.assign(value); }
87 inline void SetComponentType(
const char* value) { m_componentTypeHasBeenSet =
true; m_componentType.assign(value); }
211 inline CreateComponentData&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
241 inline void SetSchemaVersion(
const char* value) { m_schemaVersionHasBeenSet =
true; m_schemaVersion.assign(value); }
249 bool m_nameHasBeenSet =
false;
252 bool m_sourceIdHasBeenSet =
false;
255 bool m_componentTypeHasBeenSet =
false;
258 bool m_propertiesHasBeenSet =
false;
261 bool m_childrenHasBeenSet =
false;
264 bool m_variantsHasBeenSet =
false;
267 bool m_overridesHasBeenSet =
false;
270 bool m_bindingPropertiesHasBeenSet =
false;
273 bool m_collectionPropertiesHasBeenSet =
false;
276 bool m_tagsHasBeenSet =
false;
279 bool m_eventsHasBeenSet =
false;
282 bool m_schemaVersionHasBeenSet =
false;
void SetComponentType(const char *value)
void SetSchemaVersion(const char *value)
CreateComponentData & WithSourceId(Aws::String &&value)
CreateComponentData & WithComponentType(const char *value)
bool OverridesHasBeenSet() const
CreateComponentData & WithVariants(const Aws::Vector< ComponentVariant > &value)
void SetSchemaVersion(Aws::String &&value)
CreateComponentData & AddProperties(const char *key, const ComponentProperty &value)
void SetBindingProperties(const Aws::Map< Aws::String, ComponentBindingPropertiesValue > &value)
void SetComponentType(Aws::String &&value)
void SetProperties(const Aws::Map< Aws::String, ComponentProperty > &value)
CreateComponentData & AddOverrides(const char *key, const Aws::Map< Aws::String, Aws::String > &value)
CreateComponentData & AddProperties(const char *key, ComponentProperty &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateComponentData & AddCollectionProperties(const char *key, const ComponentDataConfiguration &value)
void SetOverrides(const Aws::Map< Aws::String, Aws::Map< Aws::String, Aws::String > > &value)
CreateComponentData & AddChildren(ComponentChild &&value)
void SetSchemaVersion(const Aws::String &value)
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
CreateComponentData & AddCollectionProperties(Aws::String &&key, const ComponentDataConfiguration &value)
CreateComponentData & AddBindingProperties(Aws::String &&key, const ComponentBindingPropertiesValue &value)
CreateComponentData & WithSchemaVersion(const Aws::String &value)
const Aws::String & GetName() const
CreateComponentData & AddEvents(const Aws::String &key, const ComponentEvent &value)
CreateComponentData & WithVariants(Aws::Vector< ComponentVariant > &&value)
CreateComponentData & AddBindingProperties(const char *key, const ComponentBindingPropertiesValue &value)
void SetVariants(const Aws::Vector< ComponentVariant > &value)
CreateComponentData & WithName(const char *value)
CreateComponentData & AddEvents(const char *key, ComponentEvent &&value)
void SetVariants(Aws::Vector< ComponentVariant > &&value)
CreateComponentData & WithCollectionProperties(Aws::Map< Aws::String, ComponentDataConfiguration > &&value)
void SetSourceId(const char *value)
bool TagsHasBeenSet() const
AWS_AMPLIFYUIBUILDER_API CreateComponentData()
bool ComponentTypeHasBeenSet() const
CreateComponentData & WithCollectionProperties(const Aws::Map< Aws::String, ComponentDataConfiguration > &value)
void SetName(const Aws::String &value)
CreateComponentData & AddBindingProperties(const Aws::String &key, ComponentBindingPropertiesValue &&value)
void SetOverrides(Aws::Map< Aws::String, Aws::Map< Aws::String, Aws::String > > &&value)
const Aws::String & GetComponentType() const
CreateComponentData & AddBindingProperties(const char *key, ComponentBindingPropertiesValue &&value)
CreateComponentData & AddCollectionProperties(const Aws::String &key, const ComponentDataConfiguration &value)
const Aws::String & GetSourceId() const
CreateComponentData & AddVariants(const ComponentVariant &value)
CreateComponentData & AddTags(Aws::String &&key, Aws::String &&value)
CreateComponentData & AddOverrides(const char *key, Aws::Map< Aws::String, Aws::String > &&value)
CreateComponentData & AddTags(const Aws::String &key, Aws::String &&value)
bool PropertiesHasBeenSet() const
bool SchemaVersionHasBeenSet() const
void SetName(const char *value)
void SetSourceId(const Aws::String &value)
AWS_AMPLIFYUIBUILDER_API CreateComponentData & operator=(Aws::Utils::Json::JsonView jsonValue)
CreateComponentData & WithSourceId(const Aws::String &value)
CreateComponentData & AddTags(const Aws::String &key, const Aws::String &value)
CreateComponentData & AddProperties(const Aws::String &key, ComponentProperty &&value)
const Aws::Vector< ComponentChild > & GetChildren() const
CreateComponentData & AddOverrides(Aws::String &&key, const Aws::Map< Aws::String, Aws::String > &value)
CreateComponentData & AddCollectionProperties(const char *key, ComponentDataConfiguration &&value)
CreateComponentData & WithOverrides(const Aws::Map< Aws::String, Aws::Map< Aws::String, Aws::String > > &value)
bool CollectionPropertiesHasBeenSet() const
CreateComponentData & AddOverrides(const Aws::String &key, const Aws::Map< Aws::String, Aws::String > &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateComponentData & WithSchemaVersion(const char *value)
CreateComponentData & AddEvents(const Aws::String &key, ComponentEvent &&value)
const Aws::Map< Aws::String, ComponentEvent > & GetEvents() const
CreateComponentData & AddProperties(Aws::String &&key, const ComponentProperty &value)
void SetChildren(Aws::Vector< ComponentChild > &&value)
CreateComponentData & AddTags(const char *key, Aws::String &&value)
CreateComponentData & AddChildren(const ComponentChild &value)
const Aws::Map< Aws::String, Aws::Map< Aws::String, Aws::String > > & GetOverrides() const
bool ChildrenHasBeenSet() const
CreateComponentData & WithComponentType(const Aws::String &value)
CreateComponentData & WithOverrides(Aws::Map< Aws::String, Aws::Map< Aws::String, Aws::String > > &&value)
CreateComponentData & WithComponentType(Aws::String &&value)
CreateComponentData & WithSchemaVersion(Aws::String &&value)
void SetBindingProperties(Aws::Map< Aws::String, ComponentBindingPropertiesValue > &&value)
CreateComponentData & AddProperties(const Aws::String &key, const ComponentProperty &value)
CreateComponentData & AddEvents(Aws::String &&key, const ComponentEvent &value)
CreateComponentData & WithProperties(Aws::Map< Aws::String, ComponentProperty > &&value)
const Aws::Map< Aws::String, ComponentBindingPropertiesValue > & GetBindingProperties() const
CreateComponentData & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetName(Aws::String &&value)
CreateComponentData & WithEvents(const Aws::Map< Aws::String, ComponentEvent > &value)
CreateComponentData & AddProperties(Aws::String &&key, ComponentProperty &&value)
CreateComponentData & AddOverrides(const Aws::String &key, Aws::Map< Aws::String, Aws::String > &&value)
CreateComponentData & AddTags(Aws::String &&key, const Aws::String &value)
CreateComponentData & WithChildren(Aws::Vector< ComponentChild > &&value)
CreateComponentData & AddVariants(ComponentVariant &&value)
const Aws::Vector< ComponentVariant > & GetVariants() const
const Aws::Map< Aws::String, ComponentProperty > & GetProperties() const
CreateComponentData & AddCollectionProperties(const Aws::String &key, ComponentDataConfiguration &&value)
void SetCollectionProperties(Aws::Map< Aws::String, ComponentDataConfiguration > &&value)
AWS_AMPLIFYUIBUILDER_API CreateComponentData(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSchemaVersion() const
void SetEvents(const Aws::Map< Aws::String, ComponentEvent > &value)
CreateComponentData & AddEvents(const char *key, const ComponentEvent &value)
bool SourceIdHasBeenSet() const
CreateComponentData & WithName(Aws::String &&value)
CreateComponentData & WithChildren(const Aws::Vector< ComponentChild > &value)
void SetProperties(Aws::Map< Aws::String, ComponentProperty > &&value)
bool BindingPropertiesHasBeenSet() const
bool VariantsHasBeenSet() const
void SetSourceId(Aws::String &&value)
CreateComponentData & AddOverrides(Aws::String &&key, Aws::Map< Aws::String, Aws::String > &&value)
void SetChildren(const Aws::Vector< ComponentChild > &value)
CreateComponentData & AddTags(const char *key, const char *value)
CreateComponentData & WithName(const Aws::String &value)
CreateComponentData & WithBindingProperties(Aws::Map< Aws::String, ComponentBindingPropertiesValue > &&value)
CreateComponentData & AddBindingProperties(const Aws::String &key, const ComponentBindingPropertiesValue &value)
CreateComponentData & AddCollectionProperties(Aws::String &&key, ComponentDataConfiguration &&value)
CreateComponentData & WithBindingProperties(const Aws::Map< Aws::String, ComponentBindingPropertiesValue > &value)
CreateComponentData & WithSourceId(const char *value)
void SetComponentType(const Aws::String &value)
const Aws::Map< Aws::String, ComponentDataConfiguration > & GetCollectionProperties() const
CreateComponentData & WithEvents(Aws::Map< Aws::String, ComponentEvent > &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateComponentData & WithProperties(const Aws::Map< Aws::String, ComponentProperty > &value)
CreateComponentData & AddBindingProperties(Aws::String &&key, ComponentBindingPropertiesValue &&value)
void SetCollectionProperties(const Aws::Map< Aws::String, ComponentDataConfiguration > &value)
void SetEvents(Aws::Map< Aws::String, ComponentEvent > &&value)
CreateComponentData & AddTags(Aws::String &&key, const char *value)
bool EventsHasBeenSet() const
bool NameHasBeenSet() const
CreateComponentData & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateComponentData & AddEvents(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