asStringValueOrNull

Casts this AttributeValue as a StringValue and retrieves its kotlin.String value. Returns null if the AttributeValue is not a StringValue.