asContact

Casts this RelatedItemContent as a Contact and retrieves its aws.sdk.kotlin.services.connectcases.model.ContactContent value. Throws an exception if the RelatedItemContent is not a Contact.