Do I need a permit for an above ground pool?

All pools that have a pump or filter that are not plugged directly into a GFCI outlet require an electrical permit (extension cords may not be used) and all pools with a filter/pump require a building permit.   This includes small blow up kiddie pools.