Best way to implement a 'lookup/hash table' in unreal?

You’ve described with the array solution pretty much what I’m doing for the inventory itself.
But I plan to have many different Items that the player could pickup, and would prefer more flexible solution. I shall continue with the TMap plan and see where than gets me.

Thanks