Why will FAssetData not compile?

Im trying to build a simple implementation of the asset searching discussed here but I am running into an issue with compiling. Any code that mentions FAssetData fails with “error C2079: ‘data’ uses undefined class ‘FAssetData’” and I cannot figure out why. Any help is appreciated

#include "cubez.h"
#include "CustomizationFinder.h"


ACustomizationFinder::ACustomizationFinder(const class FPostConstructInitializeProperties& PCIP)
	: Super(PCIP)
{

}

void ACustomizationFinder::GetAssetByID(int32 id, UObjectLibrary* library)
{
	library->AddToRoot();
	library->LoadAssetDataFromPath(TEXT("/Game/CustomizationItems"));
	FAssetData data;
}

I figured it out, I didn’t realize that I needed to include the header file from the FAssetData class. Once I did that everything compiled properly