Converts an integer value to a State enum.
The corresponding State enum.
The integer value to convert.