asMessageStopOrNull
Casts this InvokeHarnessStreamOutput as a MessageStop and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.HarnessMessageStopEvent value. Returns null if the InvokeHarnessStreamOutput is not a MessageStop.