Getting object information inside of code

So im using Unreal to run AIRSIM and I am trying to figure out a way to get information about an object inside of the code. Is there some sort of get function I can call where the object name is a parameter or something?