Access different LODs of a staticmesh

Hi,
Is there a way to access and edit different LOD properties using C++.
Eg: If I want to to switch off CastShadow for LOD2 and LOD3.

Pardon me. I’m new to Unreal engine. Any pointers in the right direction are welcome.

Thankyou