/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A nested UI configuration within a parent
* Component
.See Also:
AWS
* API Reference
The type of the child component.
*/ inline const Aws::String& GetComponentType() const{ return m_componentType; } /** *The type of the child component.
*/ inline bool ComponentTypeHasBeenSet() const { return m_componentTypeHasBeenSet; } /** *The type of the child component.
*/ inline void SetComponentType(const Aws::String& value) { m_componentTypeHasBeenSet = true; m_componentType = value; } /** *The type of the child component.
*/ inline void SetComponentType(Aws::String&& value) { m_componentTypeHasBeenSet = true; m_componentType = std::move(value); } /** *The type of the child component.
*/ inline void SetComponentType(const char* value) { m_componentTypeHasBeenSet = true; m_componentType.assign(value); } /** *The type of the child component.
*/ inline ComponentChild& WithComponentType(const Aws::String& value) { SetComponentType(value); return *this;} /** *The type of the child component.
*/ inline ComponentChild& WithComponentType(Aws::String&& value) { SetComponentType(std::move(value)); return *this;} /** *The type of the child component.
*/ inline ComponentChild& WithComponentType(const char* value) { SetComponentType(value); return *this;} /** *The name of the child component.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the child component.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the child component.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the child component.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the child component.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the child component.
*/ inline ComponentChild& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the child component.
*/ inline ComponentChild& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the child component.
*/ inline ComponentChild& WithName(const char* value) { SetName(value); return *this;} /** *Describes the properties of the child component. You can't specify
* tags
as a valid property for properties
.
Describes the properties of the child component. You can't specify
* tags
as a valid property for properties
.
Describes the properties of the child component. You can't specify
* tags
as a valid property for properties
.
Describes the properties of the child component. You can't specify
* tags
as a valid property for properties
.
Describes the properties of the child component. You can't specify
* tags
as a valid property for properties
.
Describes the properties of the child component. You can't specify
* tags
as a valid property for properties
.
Describes the properties of the child component. You can't specify
* tags
as a valid property for properties
.
Describes the properties of the child component. You can't specify
* tags
as a valid property for properties
.
Describes the properties of the child component. You can't specify
* tags
as a valid property for properties
.
Describes the properties of the child component. You can't specify
* tags
as a valid property for properties
.
Describes the properties of the child component. You can't specify
* tags
as a valid property for properties
.
Describes the properties of the child component. You can't specify
* tags
as a valid property for properties
.
The list of ComponentChild
instances for this component.
The list of ComponentChild
instances for this component.
The list of ComponentChild
instances for this component.
The list of ComponentChild
instances for this component.
The list of ComponentChild
instances for this component.
The list of ComponentChild
instances for this component.
The list of ComponentChild
instances for this component.
The list of ComponentChild
instances for this component.
Describes the events that can be raised on the child component. Use for the * workflow feature in Amplify Studio that allows you to bind events and actions to * components.
*/ inline const Aws::MapDescribes the events that can be raised on the child component. Use for the * workflow feature in Amplify Studio that allows you to bind events and actions to * components.
*/ inline bool EventsHasBeenSet() const { return m_eventsHasBeenSet; } /** *Describes the events that can be raised on the child component. Use for the * workflow feature in Amplify Studio that allows you to bind events and actions to * components.
*/ inline void SetEvents(const Aws::MapDescribes the events that can be raised on the child component. Use for the * workflow feature in Amplify Studio that allows you to bind events and actions to * components.
*/ inline void SetEvents(Aws::MapDescribes the events that can be raised on the child component. Use for the * workflow feature in Amplify Studio that allows you to bind events and actions to * components.
*/ inline ComponentChild& WithEvents(const Aws::MapDescribes the events that can be raised on the child component. Use for the * workflow feature in Amplify Studio that allows you to bind events and actions to * components.
*/ inline ComponentChild& WithEvents(Aws::MapDescribes the events that can be raised on the child component. Use for the * workflow feature in Amplify Studio that allows you to bind events and actions to * components.
*/ inline ComponentChild& AddEvents(const Aws::String& key, const ComponentEvent& value) { m_eventsHasBeenSet = true; m_events.emplace(key, value); return *this; } /** *Describes the events that can be raised on the child component. Use for the * workflow feature in Amplify Studio that allows you to bind events and actions to * components.
*/ inline ComponentChild& AddEvents(Aws::String&& key, const ComponentEvent& value) { m_eventsHasBeenSet = true; m_events.emplace(std::move(key), value); return *this; } /** *Describes the events that can be raised on the child component. Use for the * workflow feature in Amplify Studio that allows you to bind events and actions to * components.
*/ inline ComponentChild& AddEvents(const Aws::String& key, ComponentEvent&& value) { m_eventsHasBeenSet = true; m_events.emplace(key, std::move(value)); return *this; } /** *Describes the events that can be raised on the child component. Use for the * workflow feature in Amplify Studio that allows you to bind events and actions to * components.
*/ inline ComponentChild& AddEvents(Aws::String&& key, ComponentEvent&& value) { m_eventsHasBeenSet = true; m_events.emplace(std::move(key), std::move(value)); return *this; } /** *Describes the events that can be raised on the child component. Use for the * workflow feature in Amplify Studio that allows you to bind events and actions to * components.
*/ inline ComponentChild& AddEvents(const char* key, ComponentEvent&& value) { m_eventsHasBeenSet = true; m_events.emplace(key, std::move(value)); return *this; } /** *Describes the events that can be raised on the child component. Use for the * workflow feature in Amplify Studio that allows you to bind events and actions to * components.
*/ inline ComponentChild& AddEvents(const char* key, const ComponentEvent& value) { m_eventsHasBeenSet = true; m_events.emplace(key, value); return *this; } /** *The unique ID of the child component in its original source system, such as * Figma.
*/ inline const Aws::String& GetSourceId() const{ return m_sourceId; } /** *The unique ID of the child component in its original source system, such as * Figma.
*/ inline bool SourceIdHasBeenSet() const { return m_sourceIdHasBeenSet; } /** *The unique ID of the child component in its original source system, such as * Figma.
*/ inline void SetSourceId(const Aws::String& value) { m_sourceIdHasBeenSet = true; m_sourceId = value; } /** *The unique ID of the child component in its original source system, such as * Figma.
*/ inline void SetSourceId(Aws::String&& value) { m_sourceIdHasBeenSet = true; m_sourceId = std::move(value); } /** *The unique ID of the child component in its original source system, such as * Figma.
*/ inline void SetSourceId(const char* value) { m_sourceIdHasBeenSet = true; m_sourceId.assign(value); } /** *The unique ID of the child component in its original source system, such as * Figma.
*/ inline ComponentChild& WithSourceId(const Aws::String& value) { SetSourceId(value); return *this;} /** *The unique ID of the child component in its original source system, such as * Figma.
*/ inline ComponentChild& WithSourceId(Aws::String&& value) { SetSourceId(std::move(value)); return *this;} /** *The unique ID of the child component in its original source system, such as * Figma.
*/ inline ComponentChild& WithSourceId(const char* value) { SetSourceId(value); return *this;} private: Aws::String m_componentType; bool m_componentTypeHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::Map