I assume you aware of structures considering you made that map.
There so such thing, you might be able to do some hacks with unions (Union declaration - cppreference.com) but UE4 reflection system don’t support them
You can also create custom UI for structure that looks like that