Any newly created C++ Class always cause errors ue5.2.1

I get those errors too since I’m using Unreal (not over a year), but I think that is ‘normal’ and related with the engine code.
Generally those are not a problem to build and run your code and can simply ignore.