Set Static Mesh at runtime c++

When 1 press for inatance I want the static mesh to be a pistol. When I press 2 a shotgun and so on.