asString

Casts this ReferenceSummary as a String and retrieves its aws.sdk.kotlin.services.connect.model.StringReference value. Throws an exception if the ReferenceSummary is not a String.