
package cz.moneta.test.dsl.cebia.schemas.iva.service;

import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlRootElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import cz.moneta.test.dsl.cebia.iva.WSSearchCriteriaAttributeEnum;
import cz.moneta.test.dsl.cebia.iva.WSVehicleType;


/**
 * <p>Java class for anonymous complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="header" type="{http://schemas.cebia.com/iva/service/}WSHeaderType" minOccurs="0"/&gt;
 *         &lt;element name="Criteria" type="{http://samo.cz/iva/}WSVehicleType" minOccurs="0"/&gt;
 *         &lt;element name="SearchMode" type="{http://samo.cz/iva/}WSSearchCriteriaAttributeEnum" minOccurs="0"/&gt;
 *       &lt;/sequence&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "header",
    "criteria",
    "searchMode"
})
@XmlRootElement(name = "SearchCriteriaValues")
public class SearchCriteriaValues {

    @XmlElement(nillable = true)
    protected WSHeaderType header;
    @XmlElement(name = "Criteria", nillable = true)
    protected WSVehicleType criteria;
    @XmlElement(name = "SearchMode")
    @XmlSchemaType(name = "string")
    protected WSSearchCriteriaAttributeEnum searchMode;

    /**
     * Gets the value of the header property.
     * 
     * @return
     *     possible object is
     *     {@link WSHeaderType }
     *     
     */
    public WSHeaderType getHeader() {
        return header;
    }

    /**
     * Sets the value of the header property.
     * 
     * @param value
     *     allowed object is
     *     {@link WSHeaderType }
     *     
     */
    public void setHeader(WSHeaderType value) {
        this.header = value;
    }

    /**
     * Gets the value of the criteria property.
     * 
     * @return
     *     possible object is
     *     {@link WSVehicleType }
     *     
     */
    public WSVehicleType getCriteria() {
        return criteria;
    }

    /**
     * Sets the value of the criteria property.
     * 
     * @param value
     *     allowed object is
     *     {@link WSVehicleType }
     *     
     */
    public void setCriteria(WSVehicleType value) {
        this.criteria = value;
    }

    /**
     * Gets the value of the searchMode property.
     * 
     * @return
     *     possible object is
     *     {@link WSSearchCriteriaAttributeEnum }
     *     
     */
    public WSSearchCriteriaAttributeEnum getSearchMode() {
        return searchMode;
    }

    /**
     * Sets the value of the searchMode property.
     * 
     * @param value
     *     allowed object is
     *     {@link WSSearchCriteriaAttributeEnum }
     *     
     */
    public void setSearchMode(WSSearchCriteriaAttributeEnum value) {
        this.searchMode = value;
    }

    public SearchCriteriaValues withHeader(WSHeaderType value) {
        setHeader(value);
        return this;
    }

    public SearchCriteriaValues withCriteria(WSVehicleType value) {
        setCriteria(value);
        return this;
    }

    public SearchCriteriaValues withSearchMode(WSSearchCriteriaAttributeEnum value) {
        setSearchMode(value);
        return this;
    }

}
