Switching just the hot wire doesn't work if everything is to stay up to code. The built-in generator needs to have ground and neutral bonded (it's a permanently installed system, not a portable generator, so the code requirements are different), and they need to be not bonded when connected to shore power. That's not possible unless you switch both the hot and the neutral (or, I suppose, have some sort of an approved switch system for the bond).
Normal single-throw switches would also require some sort of approved interlock to prevent more than one source from being connected at the same time. Connecting both the generator and shore power simultaneously is a very bad thing, and indeed is the primary thing that a transfer switch is designed to make impossible.