Measurements of $W^+W^-$ production cross sections in $pp$ collisions at $\sqrt{s}$ = 13 TeV with the ATLAS detector