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