Pool pump replacement

Can you tell me the correct whisperfow pump I need?  Current model is wf24/01172 1hp

Do you need a complete pump or just the motor?