Donald Trump is set to become the next United States President after being projected to have won the election.