If you define the enum in blueprint, there should be an option to make it a bitmask, if you defined it in C++, you will need to use a meta property to mark it as a bitmask, and associate it with the enum of choice.
For examples, search the engine code for BitmaskEnum and see how they mark a field.