ข้าพเจ้า บารัค ฮุสเซน โอบามา ขอตั้งมั่นปฏิญาณ ว่าจะปฏิบัติหน้าที่ในตำแหน่งประธานาธิบดีสหรัฐฯ โดยเคร่งครัด และจะธำรงรักษา ปกป้อง และคุ้มครองรัฐธรรมนูญสหรัฐฯ อย่างเต็มความสามารถ ขอพระเจ้าโปรดประทานพร
And the original English:
I, Barack Hussein Obama, do solemnly swear that I will faithfully execute the office of President of the United States, and will to the best of my ability, preserve, protect, and defend the Constitution of the United States.
The actual oath varied a bit from the script. Regardless, I think it's a very nice translation.