public Optional<String> getStringValue() {
        return value.asStringNode().map(StringNode::getValue);
    }
Gets the string value if a string value was set.

@return Optionally returns the string value.
smithy-model/src/main/java/software/amazon/smithy/model/traits/EnumValueTrait.java