CardInput

sealed class CardInput

The properties defining an input card in an Amazon Q App.

Inheritors

Types

Link copied to clipboard
data class FileUpload(val value: FileUploadCardInput) : CardInput

A container for the properties of the file upload input card.

Link copied to clipboard
data class FormInput(val value: FormInputCardInput) : CardInput

A container for the properties of the form input card.

Link copied to clipboard
data class QPlugin(val value: QPluginCardInput) : CardInput

A container for the properties of the plugin input card.

Link copied to clipboard
data class QQuery(val value: QQueryCardInput) : CardInput

A container for the properties of the query input card.

Link copied to clipboard
Link copied to clipboard
data class TextInput(val value: TextInputCardInput) : CardInput

A container for the properties of the text input card.

Functions

Link copied to clipboard

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

Link copied to clipboard
Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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