Is there any reason we couldn't just make these an enum? Then we could make the `set_x` and `get_x` methods type safe.
The rationale here is to make the configuration code more "rust like" and follow the Rust way of strongly typed when possible
Originally posted by @thinkharderdev in #4492 (comment)