com.amazonaws.a2s.model
Class ListSearchRequest

java.lang.Object
  extended by com.amazonaws.a2s.model.ListSearchRequest

public class ListSearchRequest
extends java.lang.Object

Java class for ListSearchRequest complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="ListSearchRequest">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="City" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Email" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="FirstName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="LastName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="ListPage" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
         <element name="ListType">
           <simpleType>
             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
               <enumeration value="WishList"/>
               <enumeration value="WeddingRegistry"/>
               <enumeration value="BabyRegistry"/>
             </restriction>
           </simpleType>
         </element>
         <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="ResponseGroup" maxOccurs="unbounded" minOccurs="0">
           <simpleType>
             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
               <enumeration value="Request"/>
               <enumeration value="ListInfo"/>
               <enumeration value="ListMinimum"/>
             </restriction>
           </simpleType>
         </element>
         <element name="State" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
Generated by AWS Code Generator

Thu Jan 10 05:27:59 PST 2008


Field Summary
protected  java.lang.String city
           
protected  java.lang.String email
           
protected  java.lang.String firstName
           
protected  java.lang.String lastName
           
protected  java.math.BigInteger listPage
           
protected  java.lang.String listType
           
protected  java.lang.String name
           
protected  java.util.List<java.lang.String> responseGroup
           
protected  java.lang.String state
           
 
Constructor Summary
ListSearchRequest()
           
 
Method Summary
 java.lang.String getCity()
          Gets the value of the city property.
 java.lang.String getEmail()
          Gets the value of the email property.
 java.lang.String getFirstName()
          Gets the value of the firstName property.
 java.lang.String getLastName()
          Gets the value of the lastName property.
 java.math.BigInteger getListPage()
          Gets the value of the listPage property.
 java.lang.String getListType()
          Gets the value of the listType property.
 java.lang.String getName()
          Gets the value of the name property.
 java.util.List<java.lang.String> getResponseGroup()
          Gets the value of the responseGroup property.
 java.lang.String getState()
          Gets the value of the state property.
 boolean isSetCity()
           
 boolean isSetEmail()
           
 boolean isSetFirstName()
           
 boolean isSetLastName()
           
 boolean isSetListPage()
           
 boolean isSetListType()
           
 boolean isSetName()
           
 boolean isSetResponseGroup()
           
 boolean isSetState()
           
 void setCity(java.lang.String value)
          Sets the value of the city property.
 void setEmail(java.lang.String value)
          Sets the value of the email property.
 void setFirstName(java.lang.String value)
          Sets the value of the firstName property.
 void setLastName(java.lang.String value)
          Sets the value of the lastName property.
 void setListPage(java.math.BigInteger value)
          Sets the value of the listPage property.
 void setListType(java.lang.String value)
          Sets the value of the listType property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setResponseGroup(java.util.List<java.lang.String> responseGroup)
          Sets the value of the responseGroup property.
 void setState(java.lang.String value)
          Sets the value of the state property.
protected  java.lang.String toXMLFragment()
          XML fragment representation of this object
 void unsetResponseGroup()
           
 ListSearchRequest withCity(java.lang.String value)
          Sets the value of the City property.
 ListSearchRequest withEmail(java.lang.String value)
          Sets the value of the Email property.
 ListSearchRequest withFirstName(java.lang.String value)
          Sets the value of the FirstName property.
 ListSearchRequest withLastName(java.lang.String value)
          Sets the value of the LastName property.
 ListSearchRequest withListPage(java.math.BigInteger value)
          Sets the value of the ListPage property.
 ListSearchRequest withListType(java.lang.String value)
          Sets the value of the ListType property.
 ListSearchRequest withName(java.lang.String value)
          Sets the value of the Name property.
 ListSearchRequest withResponseGroup(java.lang.String... values)
          Sets the value of the ResponseGroup property.
 ListSearchRequest withState(java.lang.String value)
          Sets the value of the State property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

city

protected java.lang.String city

email

protected java.lang.String email

firstName

protected java.lang.String firstName

lastName

protected java.lang.String lastName

listPage

protected java.math.BigInteger listPage

listType

protected java.lang.String listType

name

protected java.lang.String name

responseGroup

protected java.util.List<java.lang.String> responseGroup

state

protected java.lang.String state
Constructor Detail

ListSearchRequest

public ListSearchRequest()
Method Detail

getCity

public java.lang.String getCity()
Gets the value of the city property.

Returns:
possible object is String

setCity

public void setCity(java.lang.String value)
Sets the value of the city property.

Parameters:
value - allowed object is String

isSetCity

public boolean isSetCity()

getEmail

public java.lang.String getEmail()
Gets the value of the email property.

Returns:
possible object is String

setEmail

public void setEmail(java.lang.String value)
Sets the value of the email property.

Parameters:
value - allowed object is String

isSetEmail

public boolean isSetEmail()

getFirstName

public java.lang.String getFirstName()
Gets the value of the firstName property.

Returns:
possible object is String

setFirstName

public void setFirstName(java.lang.String value)
Sets the value of the firstName property.

Parameters:
value - allowed object is String

isSetFirstName

public boolean isSetFirstName()

getLastName

public java.lang.String getLastName()
Gets the value of the lastName property.

Returns:
possible object is String

setLastName

public void setLastName(java.lang.String value)
Sets the value of the lastName property.

Parameters:
value - allowed object is String

isSetLastName

public boolean isSetLastName()

getListPage

public java.math.BigInteger getListPage()
Gets the value of the listPage property.

Returns:
possible object is BigInteger

setListPage

public void setListPage(java.math.BigInteger value)
Sets the value of the listPage property.

Parameters:
value - allowed object is BigInteger

isSetListPage

public boolean isSetListPage()

getListType

public java.lang.String getListType()
Gets the value of the listType property.

Returns:
possible object is String

setListType

public void setListType(java.lang.String value)
Sets the value of the listType property.

Parameters:
value - allowed object is String

isSetListType

public boolean isSetListType()

getName

public java.lang.String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(java.lang.String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

isSetName

public boolean isSetName()

getResponseGroup

public java.util.List<java.lang.String> getResponseGroup()
Gets the value of the responseGroup property.

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 set method for the responseGroup property.

For example, to add a new item, do as follows:

    getResponseGroup().add(newItem);
 

Objects of the following type(s) are allowed in the list String


isSetResponseGroup

public boolean isSetResponseGroup()

unsetResponseGroup

public void unsetResponseGroup()

getState

public java.lang.String getState()
Gets the value of the state property.

Returns:
possible object is String

setState

public void setState(java.lang.String value)
Sets the value of the state property.

Parameters:
value - allowed object is String

isSetState

public boolean isSetState()

withCity

public ListSearchRequest withCity(java.lang.String value)
Sets the value of the City property.

Parameters:
value -
Returns:
this instance

withEmail

public ListSearchRequest withEmail(java.lang.String value)
Sets the value of the Email property.

Parameters:
value -
Returns:
this instance

withFirstName

public ListSearchRequest withFirstName(java.lang.String value)
Sets the value of the FirstName property.

Parameters:
value -
Returns:
this instance

withLastName

public ListSearchRequest withLastName(java.lang.String value)
Sets the value of the LastName property.

Parameters:
value -
Returns:
this instance

withListPage

public ListSearchRequest withListPage(java.math.BigInteger value)
Sets the value of the ListPage property.

Parameters:
value -
Returns:
this instance

withListType

public ListSearchRequest withListType(java.lang.String value)
Sets the value of the ListType property.

Parameters:
value -
Returns:
this instance

withName

public ListSearchRequest withName(java.lang.String value)
Sets the value of the Name property.

Parameters:
value -
Returns:
this instance

withResponseGroup

public ListSearchRequest withResponseGroup(java.lang.String... values)
Sets the value of the ResponseGroup property.

Parameters:
values -
Returns:
this instance

withState

public ListSearchRequest withState(java.lang.String value)
Sets the value of the State property.

Parameters:
value -
Returns:
this instance

setResponseGroup

public void setResponseGroup(java.util.List<java.lang.String> responseGroup)
Sets the value of the responseGroup property.

Parameters:
responseGroup - allowed object is String

toXMLFragment

protected java.lang.String toXMLFragment()
XML fragment representation of this object

Returns:
XML fragment for this object. Name for outer tag expected to be set by calling method. This fragment returns inner properties representation only