This pool pump thing is interesting. I did some research and I suppose it really depends om the brand.
Pentair/Sta-Rite shows the same pumps with a 3 foot and 25 foot cord option. That begs the question, how are these labeled?( "permanent" or "storable" pool pump)
I know mine is labeled "permanent pool only" (or words to that effect).
Hayward Power Flo, the ones they say you use with an above ground pool, say this in the installation manual.
Wiring
Pump MUST be permanently connected to circuit. If other lights or appliances are also on the same circuit,
be sure to add their amp loads before figuring wire and circuit breaker sizes. (NOTE: If unsure how to do
this or if this is confusing, consult a licensed electrician). Use the load circuit breaker as the Master On-Off
switch.