In a medium bowl, stir together the flour, baking soda, baking powder, salt, cinnamon, and oats. In a large bowl, beat together the butter, sugar, and brown sugar until fluffy. Add in the eggs and vanilla and stir until combined. Slowly add in the flour mixture. Make sure to mix the dough thoroughly, ensuring an even consistency throughout.