How can I create an interface?

why u need to add manually one, it always auto generated for you, if you have GENERATED_UINTERFACE_BODY(), and all that macro is from engine code not from the generated file. This work similar with GENERATED_BODY() macro