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
61 inline void SetAppId(
const char* value) { m_appIdHasBeenSet =
true; m_appId.assign(value); }
75 inline void SetEnvironmentName(
const char* value) { m_environmentNameHasBeenSet =
true; m_environmentName.assign(value); }
90 inline void SetSourceId(
const char* value) { m_sourceIdHasBeenSet =
true; m_sourceId.assign(value); }
104 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
118 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
133 inline void SetComponentType(
const char* value) { m_componentTypeHasBeenSet =
true; m_componentType.assign(value); }
287 inline Component&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
318 inline void SetSchemaVersion(
const char* value) { m_schemaVersionHasBeenSet =
true; m_schemaVersion.assign(value); }
326 bool m_appIdHasBeenSet =
false;
329 bool m_environmentNameHasBeenSet =
false;
332 bool m_sourceIdHasBeenSet =
false;
335 bool m_idHasBeenSet =
false;
338 bool m_nameHasBeenSet =
false;
341 bool m_componentTypeHasBeenSet =
false;
344 bool m_propertiesHasBeenSet =
false;
347 bool m_childrenHasBeenSet =
false;
350 bool m_variantsHasBeenSet =
false;
353 bool m_overridesHasBeenSet =
false;
356 bool m_bindingPropertiesHasBeenSet =
false;
359 bool m_collectionPropertiesHasBeenSet =
false;
362 bool m_createdAtHasBeenSet =
false;
365 bool m_modifiedAtHasBeenSet =
false;
368 bool m_tagsHasBeenSet =
false;
371 bool m_eventsHasBeenSet =
false;
374 bool m_schemaVersionHasBeenSet =
false;
bool ModifiedAtHasBeenSet() const
Component & WithProperties(Aws::Map< Aws::String, ComponentProperty > &&value)
Component & WithVariants(const Aws::Vector< ComponentVariant > &value)
Component & WithModifiedAt(Aws::Utils::DateTime &&value)
void SetProperties(const Aws::Map< Aws::String, ComponentProperty > &value)
Component & WithCreatedAt(Aws::Utils::DateTime &&value)
Component & AddOverrides(const char *key, const Aws::Map< Aws::String, Aws::String > &value)
bool PropertiesHasBeenSet() const
Component & AddProperties(const Aws::String &key, ComponentProperty &&value)
Component & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Component & AddBindingProperties(const char *key, const ComponentBindingPropertiesValue &value)
Component & AddEvents(Aws::String &&key, const ComponentEvent &value)
void SetModifiedAt(Aws::Utils::DateTime &&value)
Component & WithBindingProperties(const Aws::Map< Aws::String, ComponentBindingPropertiesValue > &value)
void SetModifiedAt(const Aws::Utils::DateTime &value)
Component & AddBindingProperties(const char *key, ComponentBindingPropertiesValue &&value)
Component & WithBindingProperties(Aws::Map< Aws::String, ComponentBindingPropertiesValue > &&value)
bool SchemaVersionHasBeenSet() const
Component & AddOverrides(const char *key, Aws::Map< Aws::String, Aws::String > &&value)
Component & WithEnvironmentName(const Aws::String &value)
void SetName(const char *value)
bool AppIdHasBeenSet() const
Component & WithEvents(const Aws::Map< Aws::String, ComponentEvent > &value)
Component & AddEvents(const Aws::String &key, ComponentEvent &&value)
bool NameHasBeenSet() const
void SetSchemaVersion(Aws::String &&value)
Component & AddOverrides(Aws::String &&key, Aws::Map< Aws::String, Aws::String > &&value)
void SetBindingProperties(Aws::Map< Aws::String, ComponentBindingPropertiesValue > &&value)
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
Component & AddCollectionProperties(Aws::String &&key, const ComponentDataConfiguration &value)
void SetSchemaVersion(const char *value)
Component & AddBindingProperties(const Aws::String &key, const ComponentBindingPropertiesValue &value)
bool VariantsHasBeenSet() const
void SetId(const char *value)
Component & WithAppId(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Component & AddProperties(const char *key, const ComponentProperty &value)
Component & WithName(const Aws::String &value)
void SetCollectionProperties(const Aws::Map< Aws::String, ComponentDataConfiguration > &value)
Component & WithVariants(Aws::Vector< ComponentVariant > &&value)
bool EventsHasBeenSet() const
bool IdHasBeenSet() const
Component & WithComponentType(const Aws::String &value)
Component & AddTags(const Aws::String &key, const Aws::String &value)
Component & AddOverrides(Aws::String &&key, const Aws::Map< Aws::String, Aws::String > &value)
void SetVariants(Aws::Vector< ComponentVariant > &&value)
Component & WithName(const char *value)
Component & WithCollectionProperties(Aws::Map< Aws::String, ComponentDataConfiguration > &&value)
void SetAppId(Aws::String &&value)
Component & WithSourceId(Aws::String &&value)
Component & AddEvents(const char *key, ComponentEvent &&value)
Component & AddTags(const Aws::String &key, Aws::String &&value)
Component & WithSchemaVersion(Aws::String &&value)
void SetChildren(Aws::Vector< ComponentChild > &&value)
const Aws::String & GetSourceId() const
Component & AddProperties(const Aws::String &key, const ComponentProperty &value)
Component & WithComponentType(Aws::String &&value)
Component & WithComponentType(const char *value)
Component & AddEvents(const char *key, const ComponentEvent &value)
Component & WithOverrides(Aws::Map< Aws::String, Aws::Map< Aws::String, Aws::String > > &&value)
const Aws::String & GetAppId() const
const Aws::Vector< ComponentChild > & GetChildren() const
Component & AddChildren(const ComponentChild &value)
Component & WithSchemaVersion(const Aws::String &value)
Component & WithAppId(Aws::String &&value)
void SetSourceId(const char *value)
void SetComponentType(const char *value)
const Aws::String & GetName() const
Component & AddCollectionProperties(const char *key, ComponentDataConfiguration &&value)
bool OverridesHasBeenSet() const
const Aws::String & GetSchemaVersion() const
const Aws::Map< Aws::String, ComponentDataConfiguration > & GetCollectionProperties() const
const Aws::String & GetEnvironmentName() const
Component & WithId(const char *value)
Component & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetEnvironmentName(const Aws::String &value)
Component & AddEvents(Aws::String &&key, ComponentEvent &&value)
void SetName(const Aws::String &value)
Component & WithOverrides(const Aws::Map< Aws::String, Aws::Map< Aws::String, Aws::String > > &value)
Component & AddVariants(ComponentVariant &&value)
Component & WithAppId(const char *value)
Component & WithChildren(const Aws::Vector< ComponentChild > &value)
Component & WithId(const Aws::String &value)
Component & WithCollectionProperties(const Aws::Map< Aws::String, ComponentDataConfiguration > &value)
Component & AddCollectionProperties(const Aws::String &key, const ComponentDataConfiguration &value)
AWS_AMPLIFYUIBUILDER_API Component()
void SetOverrides(Aws::Map< Aws::String, Aws::Map< Aws::String, Aws::String > > &&value)
Component & AddCollectionProperties(const Aws::String &key, ComponentDataConfiguration &&value)
const Aws::Map< Aws::String, ComponentProperty > & GetProperties() const
void SetComponentType(const Aws::String &value)
Component & AddProperties(Aws::String &&key, const ComponentProperty &value)
void SetId(Aws::String &&value)
void SetSourceId(const Aws::String &value)
bool ComponentTypeHasBeenSet() const
const Aws::String & GetComponentType() const
Component & AddBindingProperties(const Aws::String &key, ComponentBindingPropertiesValue &&value)
void SetAppId(const char *value)
Component & WithEnvironmentName(const char *value)
Component & AddBindingProperties(Aws::String &&key, ComponentBindingPropertiesValue &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
bool EnvironmentNameHasBeenSet() const
Component & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetEvents(const Aws::Map< Aws::String, ComponentEvent > &value)
Component & AddEvents(const Aws::String &key, const ComponentEvent &value)
Component & AddProperties(const char *key, ComponentProperty &&value)
AWS_AMPLIFYUIBUILDER_API Component(Aws::Utils::Json::JsonView jsonValue)
void SetCollectionProperties(Aws::Map< Aws::String, ComponentDataConfiguration > &&value)
const Aws::Utils::DateTime & GetModifiedAt() const
Component & WithModifiedAt(const Aws::Utils::DateTime &value)
void SetOverrides(const Aws::Map< Aws::String, Aws::Map< Aws::String, Aws::String > > &value)
Component & AddProperties(Aws::String &&key, ComponentProperty &&value)
Component & WithId(Aws::String &&value)
Component & WithSourceId(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Component & AddVariants(const ComponentVariant &value)
Component & WithSchemaVersion(const char *value)
bool ChildrenHasBeenSet() const
void SetChildren(const Aws::Vector< ComponentChild > &value)
bool CreatedAtHasBeenSet() const
bool BindingPropertiesHasBeenSet() const
Component & WithSourceId(const Aws::String &value)
const Aws::Map< Aws::String, ComponentEvent > & GetEvents() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
Component & AddChildren(ComponentChild &&value)
Component & AddBindingProperties(Aws::String &&key, const ComponentBindingPropertiesValue &value)
void SetSourceId(Aws::String &&value)
bool CollectionPropertiesHasBeenSet() const
bool SourceIdHasBeenSet() const
Component & AddOverrides(const Aws::String &key, const Aws::Map< Aws::String, Aws::String > &value)
Component & AddTags(Aws::String &&key, const Aws::String &value)
void SetSchemaVersion(const Aws::String &value)
const Aws::Map< Aws::String, ComponentBindingPropertiesValue > & GetBindingProperties() const
Component & AddTags(Aws::String &&key, Aws::String &&value)
Component & WithName(Aws::String &&value)
Component & AddTags(const char *key, const char *value)
Component & AddCollectionProperties(const char *key, const ComponentDataConfiguration &value)
Component & WithChildren(Aws::Vector< ComponentChild > &&value)
void SetName(Aws::String &&value)
const Aws::Map< Aws::String, Aws::Map< Aws::String, Aws::String > > & GetOverrides() const
const Aws::Vector< ComponentVariant > & GetVariants() const
Component & AddOverrides(const Aws::String &key, Aws::Map< Aws::String, Aws::String > &&value)
void SetVariants(const Aws::Vector< ComponentVariant > &value)
Component & WithEvents(Aws::Map< Aws::String, ComponentEvent > &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetEnvironmentName(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Component & AddCollectionProperties(Aws::String &&key, ComponentDataConfiguration &&value)
void SetAppId(const Aws::String &value)
Component & AddTags(Aws::String &&key, const char *value)
AWS_AMPLIFYUIBUILDER_API Component & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetProperties(Aws::Map< Aws::String, ComponentProperty > &&value)
void SetEvents(Aws::Map< Aws::String, ComponentEvent > &&value)
const Aws::String & GetId() const
bool TagsHasBeenSet() const
void SetBindingProperties(const Aws::Map< Aws::String, ComponentBindingPropertiesValue > &value)
void SetId(const Aws::String &value)
Component & AddTags(const char *key, Aws::String &&value)
void SetComponentType(Aws::String &&value)
Component & WithProperties(const Aws::Map< Aws::String, ComponentProperty > &value)
Component & WithEnvironmentName(Aws::String &&value)
void SetEnvironmentName(Aws::String &&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