/Engine/Source/Runtime/Engine/Public/MaterialShared.h
Similar to GetFriendlyName, but but avoids historical behavior of the former, returning the exact asset name for material instances instead of just the material.
virtual [FString](API\Runtime\Core\Containers\FString) GetAssetName() const