Studying Atomic Dynamics with Coherent X-rays