Change switch on int value as array ue4

Is there a way to change the value of switch on int case. so that i add the array value in switch case and add static mesh according to that. for example instead of switch on int pin value 0.1.2.3 i want the values that are in array or enumerator as 2,5,9 etc.

Is there a way to change the value of
switch on int case.

Not in blueprints. For mapping indexes, you can use a Map:

More about Maps:

https://docs.unrealengine.com/en-US/Engine/Blueprints/UserGuide/Maps/index.html