What value do you return for a function that has the return type TSharedRef&

That is what I am doing at the moment. So I have a member variable:

TSharedRef(const FSocUniqueNetId) IdRef;

Where FSocUniqueNetId is a subclass of FUniqueNetId. In the function this is what I am doing at the moment:

const TSharedRef(const FSocUniqueNetId)& FSocChatRoomInfo::GetOwnerId() const
{
return IdRef;
}

Sorry using ( for < since they get removed in the comment