Card

sealed class Card

A card representing a component or step in an Amazon Q App's flow.

Inheritors

Types

Link copied to clipboard
data class FileUpload(val value: FileUploadCard) : Card

A container for the properties of the file upload card.

Link copied to clipboard
data class FormInput(val value: FormInputCard) : Card

A container for the properties of the form input card.

Link copied to clipboard
data class QPlugin(val value: QPluginCard) : Card

A container for the properties of the plugin card.

Link copied to clipboard
data class QQuery(val value: QQueryCard) : Card

A container for the properties of the query card.

Link copied to clipboard
object SdkUnknown : Card
Link copied to clipboard
data class TextInput(val value: TextInputCard) : Card

A container for the properties of the text input card.

Functions

Link copied to clipboard

Casts this Card as a FileUpload and retrieves its aws.sdk.kotlin.services.qapps.model.FileUploadCard value. Throws an exception if the Card is not a FileUpload.

Link copied to clipboard

Casts this Card as a FileUpload and retrieves its aws.sdk.kotlin.services.qapps.model.FileUploadCard value. Returns null if the Card is not a FileUpload.

Link copied to clipboard

Casts this Card as a FormInput and retrieves its aws.sdk.kotlin.services.qapps.model.FormInputCard value. Throws an exception if the Card is not a FormInput.

Link copied to clipboard

Casts this Card as a FormInput and retrieves its aws.sdk.kotlin.services.qapps.model.FormInputCard value. Returns null if the Card is not a FormInput.

Link copied to clipboard

Casts this Card as a QPlugin and retrieves its aws.sdk.kotlin.services.qapps.model.QPluginCard value. Throws an exception if the Card is not a QPlugin.

Link copied to clipboard

Casts this Card as a QPlugin and retrieves its aws.sdk.kotlin.services.qapps.model.QPluginCard value. Returns null if the Card is not a QPlugin.

Link copied to clipboard

Casts this Card as a QQuery and retrieves its aws.sdk.kotlin.services.qapps.model.QQueryCard value. Throws an exception if the Card is not a QQuery.

Link copied to clipboard

Casts this Card as a QQuery and retrieves its aws.sdk.kotlin.services.qapps.model.QQueryCard value. Returns null if the Card is not a QQuery.

Link copied to clipboard

Casts this Card as a TextInput and retrieves its aws.sdk.kotlin.services.qapps.model.TextInputCard value. Throws an exception if the Card is not a TextInput.

Link copied to clipboard

Casts this Card as a TextInput and retrieves its aws.sdk.kotlin.services.qapps.model.TextInputCard value. Returns null if the Card is not a TextInput.