Why do i have to include every single class i want to use

Nope that dosent work. “error C2027: use of undefined type ‘UCameraComponent’” thats the error i am getting.