[C++]How to return more than two variables from a function?

[Error]Unrecognized type ‘TTuple’ - type must be a UCLASS, USTRUCT or UENUM
Why I Cant UFUNCTION?

UFUNCTION(BlueprintCallable)
TTuple<bool, int32> AddToInvenoty(FName ItemID, int Quantity);