public List<EnumDefinition> getValues() {
        return definitions;
    }
Gets the enum value to body.

@return returns the enum constant definitions.
smithy-model/src/main/java/software/amazon/smithy/model/traits/EnumTrait.java