The United States Army Air Forces (USAAF or AAF) was the military aviation arm of the United States of America during and immediately after World War II , and the direct predecessor of the United States Air Force .