I believe this is what the code says:
Where a permanently installed pool is installed at a dwelling unit(s), no fewer than one 125-volt 15- or 20-ampere receptacle on a general-purpose branch circuit shall be located not less than 3.0 m (10 ft) from, and not more than 6.0 m (20 ft) from, the inside wall of the pool. This receptacle shall be located not more than 2.0 m (6 ft 6 in.) above the floor, platform, or grade level serving the pool.
I have no structures or pool equipment within 20 feet of my pool. This seems like a silly rule. Any suggestions to get a plug withink 20 feet of the pool. The covered patio is about 35 feet away and all the receptacles on the patio are GFCI. The pool equipment is about 30 feet away.