asCitationOrNull
Casts this RetrieveAndGenerateStreamResponseOutput as a Citation and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.CitationEvent value. Returns null if the RetrieveAndGenerateStreamResponseOutput is not a Citation.