public Optional<StructurallyExclusive> getStructurallyExclusive() {
        return Optional.ofNullable(structurallyExclusive);
    }
Gets the {@code structurallyExclusive} property of the trait.

@return Returns the {@code structurallyExclusive} property of the trait.
smithy-model/src/main/java/software/amazon/smithy/model/traits/TraitDefinition.java