creating child class of AnimGraphNode_LinkedAnimGraph failing

When I create a new C++ class of AnimGraphNode_LinkedAnimGraph it immediately fails to compile saying it can’t find include AnimGraphNode_LinkedAnimGraph.h
if I path it correctly to point to /public/AnimGraph/AnimGraphNode_LinkedAnimGraph.h It then says it can’t find AnimGraphNode_Base.generated.h , I tried clearing the intermediate folder to build again but this breaks AnimGraphNode_Base.h so it won’t build.

Can someone tell me what I am doing wrong here?