def attribute_prefix(self, attribute_prefix):
        """
        Sets the attribute_prefix of this CatalogQueryPrefix.
        The desired prefix of the search attribute value.

        :param attribute_prefix: The attribute_prefix of this CatalogQueryPrefix.
        :type: str
        """

        if attribute_prefix is None:
            raise ValueError("Invalid value for `attribute_prefix`, must not be `None`")
        if len(attribute_prefix) < 1:
            raise ValueError("Invalid value for `attribute_prefix`, length must be greater than or equal to `1`")

        self._attribute_prefix = attribute_prefix
Sets the attribute_prefix of this CatalogQueryPrefix.
        The desired prefix of the search attribute value.

        :param attribute_prefix: The attribute_prefix of this CatalogQueryPrefix.
        :type: str