asTextEventOrNull
Casts this ChatOutputStream as a TextEvent and retrieves its aws.sdk.kotlin.services.qbusiness.model.TextOutputEvent value. Returns null if the ChatOutputStream is not a TextEvent.
Casts this ChatOutputStream as a TextEvent and retrieves its aws.sdk.kotlin.services.qbusiness.model.TextOutputEvent value. Returns null if the ChatOutputStream is not a TextEvent.