Unable to Create New C++ Class in UE5

Hello, I have an issue where if I try to create a new C++ class in the editor, I just get a compiler error.

Please can someone tell me why this is the case?

Thanks.

If you haven’t already, try deleting Binaries, Intermediate, Saved folders and then building through Visual Studio.