What setback is required for a residential swimming pool?

A swimming pool must be in the rear or side yard at a 10 ft. setback, the only exception is when abutting a secondary road right way the setback is 25 ft.