asTextOrNull
Casts this SpanMessageValue as a Text and retrieves its aws.sdk.kotlin.services.qconnect.model.SpanTextValue value. Returns null if the SpanMessageValue is not a Text.
Casts this SpanMessageValue as a Text and retrieves its aws.sdk.kotlin.services.qconnect.model.SpanTextValue value. Returns null if the SpanMessageValue is not a Text.