asEndOfInputEventOrNull
Casts this ChatInputStream as a EndOfInputEvent and retrieves its aws.sdk.kotlin.services.qbusiness.model.EndOfInputEvent value. Returns null if the ChatInputStream is not a EndOfInputEvent.