Wikipedia says in the article on the Shakyas:
He was known in his lifetime as "Siddhartha Gautama" and "Shakyamuni"
(Sage of the Shakyas). He was the son of Śuddhodana, the elected
leader of the Śākya Gaṇarājya.
From the article on Śuddhodana:
"Though frequently depicted and referenced as a king, most recent
scholarship on the ...
In the following sutta, the Buddha described the delicate and opulent life that he led in his life as a prince, without actually saying that he was a prince.
“Bhikkhus, I was delicately nurtured, most delicately nurtured,
extremely delicately nurtured. At my father’s residence lotus ponds
were made just for my enjoyment: in one of them blue lotuses bloomed,