Player damage by enemy tag?

In Unity there was a simple “Tag” system, if Player.collide.TagName(“enemy”) apply.damage. etc
How would you group A,B,C, enemies in Unreal to implement on BeginOverlap damage effectively?

thank you.

my use of enemy is AIPlayerController blueprint.

Add tag to player (on details, bottom list).
On Collide/Linetrace/Overlap event, cast hitActor, get PlayerTags (yes, you can add more than 1 tag), branch it.