How do I convert this to C++?

I’ve been looking how to implement it for sometime but I’m stack. I made a Struct in C++, then made a Table Data in Editor, and now I wanted to use data from that table, row name.

I was trying using FindRow/GetValueAsString and so on, but I couldn’t make it work… help please?
I even got FName, but I still can’t get the row… Is says it will only accept Fname, but i gave it to the function and nothing…

My bad! I’m just dumb, it need something else. But I will leave it for future generations looking for Enum to FName.

auto GridShapeName = UEnum::GetValueAsName(GridShape);
const auto GridShapeData = GridShape.DataTable->FindRow(GridShapeName, “”);