asTextInput

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.