How do I create a LandscapeSpline and add it to a Splinelayer in a nondestructive way via C++?

Hey guys,

Currently I write a plugin to generate splines from json-files containing coordinates .I already have the logic to generate normal USplineComponents.
I would really like to add several ULandscapeSplinesComponents to add them to a splinelayer in a nondestructive way via C++. I looked up the source code and saw, that the ULandscapeSplineComponents don’t have methods like “SetSplineLocalPoints” or “AddSplineLocalPoint”. Does anyone have an idea how to implement LandscapeSpline generation via C++?