According to NEC 2011 680.22(C), it is possible to have a switch closer than 5' horizontally from the pool edge if the switch is listed to be closer than 5'. Has anyone ever seen a switch that explicitly approves this?
Note: In the 2008 code this was 680.22(D)