UHierarchicalInstancedStaticMeshComponent Access Into Incomplete Type

So I’m trying to pass UHierarchicalInstancedStaticMeshComponent reference into a Blueprint c++ function, which I’m able to do without problems. However when I try to access the methods of the UHierarchicalInstancedStaticMeshComponent I get a forward declaration error saying ‘member access into incomplete type’. What do I have to do to get this working?

Thanks for your help.

Thank you, I feel quite silly.

Runtime/Engine/Classes/Components/HierarchicalInstancedStaticMeshComponent.h

For the future you can type in your class name and find the header you need on the api page. <3