Question: is gendry the rightful heir?
Answer: The rest of the children are bastards from Jaime as we know. ... This leads to a conclusion that Gendry is the only child & heir of Robert Baratheon & Cersei Baratheon. His name hence being Prince Gendry Baratheon, the true heir to the Iron Throne.