Foreign Minister Paolo Gentiloni appears poised to become Italy's next prime minister.