package com.amazonaws.a2s.model;

import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;


/**
 <p>Java class for ItemLookupRequest complex type.
 
 <p>The following schema fragment specifies the expected content contained within this class.
 
 <pre>
 * &lt;complexType name="ItemLookupRequest">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="Condition" type="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}Condition" minOccurs="0"/>
 *         &lt;element name="DeliveryMethod" type="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}DeliveryMethod" minOccurs="0"/>
 *         &lt;element name="FutureLaunchDate" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="IdType" minOccurs="0">
 *           &lt;simpleType>
 *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *               &lt;enumeration value="ASIN"/>
 *               &lt;enumeration value="UPC"/>
 *               &lt;enumeration value="SKU"/>
 *               &lt;enumeration value="EAN"/>
 *               &lt;enumeration value="ISBN"/>
 *             &lt;/restriction>
 *           &lt;/simpleType>
 *         &lt;/element>
 *         &lt;element name="ISPUPostalCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="MerchantId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="OfferPage" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
 *         &lt;element name="ItemId" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="ResponseGroup" maxOccurs="unbounded" minOccurs="0">
 *           &lt;simpleType>
 *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *               &lt;enumeration value="Request"/>
 *               &lt;enumeration value="Small"/>
 *               &lt;enumeration value="Accessories"/>
 *               &lt;enumeration value="BrowseNodes"/>
 *               &lt;enumeration value="EditorialReview"/>
 *               &lt;enumeration value="Images"/>
 *               &lt;enumeration value="ItemAttributes"/>
 *               &lt;enumeration value="ItemIds"/>
 *               &lt;enumeration value="Large"/>
 *               &lt;enumeration value="ListmaniaLists"/>
 *               &lt;enumeration value="Medium"/>
 *               &lt;enumeration value="MerchantItemAttributes"/>
 *               &lt;enumeration value="OfferFull"/>
 *               &lt;enumeration value="Offers"/>
 *               &lt;enumeration value="OfferSummary"/>
 *               &lt;enumeration value="Reviews"/>
 *               &lt;enumeration value="SalesRank"/>
 *               &lt;enumeration value="Similarities"/>
 *               &lt;enumeration value="Subjects"/>
 *               &lt;enumeration value="TagsSummary"/>
 *               &lt;enumeration value="Tags"/>
 *               &lt;enumeration value="Tracks"/>
 *               &lt;enumeration value="VariationImages"/>
 *               &lt;enumeration value="VariationMinimum"/>
 *               &lt;enumeration value="Variations"/>
 *               &lt;enumeration value="VariationSummary"/>
 *               &lt;enumeration value="VariationMatrix"/>
 *               &lt;enumeration value="VariationOffers"/>
 *             &lt;/restriction>
 *           &lt;/simpleType>
 *         &lt;/element>
 *         &lt;element name="ReviewPage" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
 *         &lt;element name="ReviewSort" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="SearchIndex" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="SearchInsideKeywords" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="TagPage" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
 *         &lt;element name="TagsPerPage" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
 *         &lt;element name="TagSort" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="VariationPage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 </pre>
 * Generated by AWS Code Generator
 <p/>
 * Thu Jan 10 05:27:59 PST 2008
 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ItemLookupRequest", propOrder = {
    "condition",
    "deliveryMethod",
    "futureLaunchDate",
    "idType",
    "ispuPostalCode",
    "merchantId",
    "offerPage",
    "itemId",
    "responseGroup",
    "reviewPage",
    "reviewSort",
    "searchIndex",
    "searchInsideKeywords",
    "tagPage",
    "tagsPerPage",
    "tagSort",
    "variationPage"
})
public class ItemLookupRequest {

    @XmlElement(name = "Condition")
    protected Condition condition;
    @XmlElement(name = "DeliveryMethod")
    protected DeliveryMethod deliveryMethod;
    @XmlElement(name = "FutureLaunchDate")
    protected String futureLaunchDate;
    @XmlElement(name = "IdType")
    protected String idType;
    @XmlElement(name = "ISPUPostalCode")
    protected String ispuPostalCode;
    @XmlElement(name = "MerchantId")
    protected String merchantId;
    @XmlElement(name = "OfferPage")
    @XmlSchemaType(name = "positiveInteger")
    protected BigInteger offerPage;
    @XmlElement(name = "ItemId")
    protected List<String> itemId;
    @XmlElement(name = "ResponseGroup")
    protected List<String> responseGroup;
    @XmlElement(name = "ReviewPage")
    @XmlSchemaType(name = "positiveInteger")
    protected BigInteger reviewPage;
    @XmlElement(name = "ReviewSort")
    protected String reviewSort;
    @XmlElement(name = "SearchIndex")
    protected String searchIndex;
    @XmlElement(name = "SearchInsideKeywords")
    protected String searchInsideKeywords;
    @XmlElement(name = "TagPage")
    @XmlSchemaType(name = "positiveInteger")
    protected BigInteger tagPage;
    @XmlElement(name = "TagsPerPage")
    @XmlSchemaType(name = "positiveInteger")
    protected BigInteger tagsPerPage;
    @XmlElement(name = "TagSort")
    protected String tagSort;
    @XmlElement(name = "VariationPage")
    protected String variationPage;

    /**
     * Gets the value of the condition property.
     
     @return
     *     possible object is
     *     {@link Condition }
     *     
     */
    public Condition getCondition() {
        return condition;
    }

    /**
     * Sets the value of the condition property.
     
     @param value
     *     allowed object is
     *     {@link Condition }
     *     
     */
    public void setCondition(Condition value) {
        this.condition = value;
    }

    public boolean isSetCondition() {
        return (this.condition!= null);
    }

    /**
     * Gets the value of the deliveryMethod property.
     
     @return
     *     possible object is
     *     {@link DeliveryMethod }
     *     
     */
    public DeliveryMethod getDeliveryMethod() {
        return deliveryMethod;
    }

    /**
     * Sets the value of the deliveryMethod property.
     
     @param value
     *     allowed object is
     *     {@link DeliveryMethod }
     *     
     */
    public void setDeliveryMethod(DeliveryMethod value) {
        this.deliveryMethod = value;
    }

    public boolean isSetDeliveryMethod() {
        return (this.deliveryMethod!= null);
    }

    /**
     * Gets the value of the futureLaunchDate property.
     
     @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getFutureLaunchDate() {
        return futureLaunchDate;
    }

    /**
     * Sets the value of the futureLaunchDate property.
     
     @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setFutureLaunchDate(String value) {
        this.futureLaunchDate = value;
    }

    public boolean isSetFutureLaunchDate() {
        return (this.futureLaunchDate!= null);
    }

    /**
     * Gets the value of the idType property.
     
     @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getIdType() {
        return idType;
    }

    /**
     * Sets the value of the idType property.
     
     @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setIdType(String value) {
        this.idType = value;
    }

    public boolean isSetIdType() {
        return (this.idType!= null);
    }

    /**
     * Gets the value of the ispuPostalCode property.
     
     @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getISPUPostalCode() {
        return ispuPostalCode;
    }

    /**
     * Sets the value of the ispuPostalCode property.
     
     @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setISPUPostalCode(String value) {
        this.ispuPostalCode = value;
    }

    public boolean isSetISPUPostalCode() {
        return (this.ispuPostalCode!= null);
    }

    /**
     * Gets the value of the merchantId property.
     
     @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getMerchantId() {
        return merchantId;
    }

    /**
     * Sets the value of the merchantId property.
     
     @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setMerchantId(String value) {
        this.merchantId = value;
    }

    public boolean isSetMerchantId() {
        return (this.merchantId!= null);
    }

    /**
     * Gets the value of the offerPage property.
     
     @return
     *     possible object is
     *     {@link BigInteger }
     *     
     */
    public BigInteger getOfferPage() {
        return offerPage;
    }

    /**
     * Sets the value of the offerPage property.
     
     @param value
     *     allowed object is
     *     {@link BigInteger }
     *     
     */
    public void setOfferPage(BigInteger value) {
        this.offerPage = value;
    }

    public boolean isSetOfferPage() {
        return (this.offerPage!= null);
    }

    /**
     * Gets the value of the itemId property.
     
     <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the itemId property.
     
     <p>
     * For example, to add a new item, do as follows:
     <pre>
     *    getItemId().add(newItem);
     </pre>
     
     
     <p>
     * Objects of the following type(s) are allowed in the list
     {@link String }
     
     
     */
    public List<String> getItemId() {
        if (itemId == null) {
            itemId = new ArrayList<String>();
        }
        return this.itemId;
    }

    public boolean isSetItemId() {
        return ((this.itemId!= null)&&(!this.itemId.isEmpty()));
    }

    public void unsetItemId() {
        this.itemId = null;
    }

    /**
     * Gets the value of the responseGroup property.
     
     <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the responseGroup property.
     
     <p>
     * For example, to add a new item, do as follows:
     <pre>
     *    getResponseGroup().add(newItem);
     </pre>
     
     
     <p>
     * Objects of the following type(s) are allowed in the list
     {@link String }
     
     
     */
    public List<String> getResponseGroup() {
        if (responseGroup == null) {
            responseGroup = new ArrayList<String>();
        }
        return this.responseGroup;
    }

    public boolean isSetResponseGroup() {
        return ((this.responseGroup!= null)&&(!this.responseGroup.isEmpty()));
    }

    public void unsetResponseGroup() {
        this.responseGroup = null;
    }

    /**
     * Gets the value of the reviewPage property.
     
     @return
     *     possible object is
     *     {@link BigInteger }
     *     
     */
    public BigInteger getReviewPage() {
        return reviewPage;
    }

    /**
     * Sets the value of the reviewPage property.
     
     @param value
     *     allowed object is
     *     {@link BigInteger }
     *     
     */
    public void setReviewPage(BigInteger value) {
        this.reviewPage = value;
    }

    public boolean isSetReviewPage() {
        return (this.reviewPage!= null);
    }

    /**
     * Gets the value of the reviewSort property.
     
     @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getReviewSort() {
        return reviewSort;
    }

    /**
     * Sets the value of the reviewSort property.
     
     @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setReviewSort(String value) {
        this.reviewSort = value;
    }

    public boolean isSetReviewSort() {
        return (this.reviewSort!= null);
    }

    /**
     * Gets the value of the searchIndex property.
     
     @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getSearchIndex() {
        return searchIndex;
    }

    /**
     * Sets the value of the searchIndex property.
     
     @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setSearchIndex(String value) {
        this.searchIndex = value;
    }

    public boolean isSetSearchIndex() {
        return (this.searchIndex!= null);
    }

    /**
     * Gets the value of the searchInsideKeywords property.
     
     @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getSearchInsideKeywords() {
        return searchInsideKeywords;
    }

    /**
     * Sets the value of the searchInsideKeywords property.
     
     @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setSearchInsideKeywords(String value) {
        this.searchInsideKeywords = value;
    }

    public boolean isSetSearchInsideKeywords() {
        return (this.searchInsideKeywords!= null);
    }

    /**
     * Gets the value of the tagPage property.
     
     @return
     *     possible object is
     *     {@link BigInteger }
     *     
     */
    public BigInteger getTagPage() {
        return tagPage;
    }

    /**
     * Sets the value of the tagPage property.
     
     @param value
     *     allowed object is
     *     {@link BigInteger }
     *     
     */
    public void setTagPage(BigInteger value) {
        this.tagPage = value;
    }

    public boolean isSetTagPage() {
        return (this.tagPage!= null);
    }

    /**
     * Gets the value of the tagsPerPage property.
     
     @return
     *     possible object is
     *     {@link BigInteger }
     *     
     */
    public BigInteger getTagsPerPage() {
        return tagsPerPage;
    }

    /**
     * Sets the value of the tagsPerPage property.
     
     @param value
     *     allowed object is
     *     {@link BigInteger }
     *     
     */
    public void setTagsPerPage(BigInteger value) {
        this.tagsPerPage = value;
    }

    public boolean isSetTagsPerPage() {
        return (this.tagsPerPage!= null);
    }

    /**
     * Gets the value of the tagSort property.
     
     @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getTagSort() {
        return tagSort;
    }

    /**
     * Sets the value of the tagSort property.
     
     @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setTagSort(String value) {
        this.tagSort = value;
    }

    public boolean isSetTagSort() {
        return (this.tagSort!= null);
    }

    /**
     * Gets the value of the variationPage property.
     
     @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getVariationPage() {
        return variationPage;
    }

    /**
     * Sets the value of the variationPage property.
     
     @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setVariationPage(String value) {
        this.variationPage = value;
    }

    public boolean isSetVariationPage() {
        return (this.variationPage!= null);
    }

    /**
     * Sets the value of the Condition property.
     
     @param value
     @return
     *     this instance
     */
    public ItemLookupRequest withCondition(Condition value) {
        setCondition(value);
        return this;
    }

    /**
     * Sets the value of the DeliveryMethod property.
     
     @param value
     @return
     *     this instance
     */
    public ItemLookupRequest withDeliveryMethod(DeliveryMethod value) {
        setDeliveryMethod(value);
        return this;
    }

    /**
     * Sets the value of the FutureLaunchDate property.
     
     @param value
     @return
     *     this instance
     */
    public ItemLookupRequest withFutureLaunchDate(String value) {
        setFutureLaunchDate(value);
        return this;
    }

    /**
     * Sets the value of the IdType property.
     
     @param value
     @return
     *     this instance
     */
    public ItemLookupRequest withIdType(String value) {
        setIdType(value);
        return this;
    }

    /**
     * Sets the value of the ISPUPostalCode property.
     
     @param value
     @return
     *     this instance
     */
    public ItemLookupRequest withISPUPostalCode(String value) {
        setISPUPostalCode(value);
        return this;
    }

    /**
     * Sets the value of the MerchantId property.
     
     @param value
     @return
     *     this instance
     */
    public ItemLookupRequest withMerchantId(String value) {
        setMerchantId(value);
        return this;
    }

    /**
     * Sets the value of the OfferPage property.
     
     @param value
     @return
     *     this instance
     */
    public ItemLookupRequest withOfferPage(BigInteger value) {
        setOfferPage(value);
        return this;
    }

    /**
     * Sets the value of the ItemId property.
     
     @param values
     @return
     *     this instance
     */
    public ItemLookupRequest withItemId(String... values) {
        for (String value: values) {
            getItemId().add(value);
        }
        return this;
    }

    /**
     * Sets the value of the ResponseGroup property.
     
     @param values
     @return
     *     this instance
     */
    public ItemLookupRequest withResponseGroup(String... values) {
        for (String value: values) {
            getResponseGroup().add(value);
        }
        return this;
    }

    /**
     * Sets the value of the ReviewPage property.
     
     @param value
     @return
     *     this instance
     */
    public ItemLookupRequest withReviewPage(BigInteger value) {
        setReviewPage(value);
        return this;
    }

    /**
     * Sets the value of the ReviewSort property.
     
     @param value
     @return
     *     this instance
     */
    public ItemLookupRequest withReviewSort(String value) {
        setReviewSort(value);
        return this;
    }

    /**
     * Sets the value of the SearchIndex property.
     
     @param value
     @return
     *     this instance
     */
    public ItemLookupRequest withSearchIndex(String value) {
        setSearchIndex(value);
        return this;
    }

    /**
     * Sets the value of the SearchInsideKeywords property.
     
     @param value
     @return
     *     this instance
     */
    public ItemLookupRequest withSearchInsideKeywords(String value) {
        setSearchInsideKeywords(value);
        return this;
    }

    /**
     * Sets the value of the TagPage property.
     
     @param value
     @return
     *     this instance
     */
    public ItemLookupRequest withTagPage(BigInteger value) {
        setTagPage(value);
        return this;
    }

    /**
     * Sets the value of the TagsPerPage property.
     
     @param value
     @return
     *     this instance
     */
    public ItemLookupRequest withTagsPerPage(BigInteger value) {
        setTagsPerPage(value);
        return this;
    }

    /**
     * Sets the value of the TagSort property.
     
     @param value
     @return