Where does the object come from? How do you filter all possible objects to the one object you want?
Are you sure there’s only one instance of the particular class? Or does it have a unique name?
You can easily get all objects of a particular class from blueprint, and then filter down to a particular name if you want.
Do this for Actor and you have a good approximation of what you’re looking for. It’ll perform poorly, of course – it does in Unity, too.
Another option to look at is gameplay tags. It depends on exactly what goal it is you’re trying to achieve.