Need help with Blueprint change > Set Visible in Ray Tracing

I need to expose the ‘Set Visible in Ray Tracing’ boolean for Static Mesh or Primitive Components.

Right now it is only a getter.
But if you manually drag a Static mesh to the viewport this is a property you can access and change in the editor.

In my case I am using dynamically instanced static meshes and by default they do not support ray traced shadows because this flag seems to be false.

Can any C++ experts tell me where in the source code I need to make this change?