Source for file ListDomains.php

Documentation is available at ListDomains.php

  1. <?php
  2. /** 
  3.  *  PHP Version 5
  4.  *
  5.  *  @category    Amazon
  6.  *  @package     Amazon_SimpleDB
  7.  *  @copyright   Copyright 2007 Amazon Technologies, Inc.
  8.  *  @link        http://aws.amazon.com
  9.  *  @license     http://aws.amazon.com/apache2.0  Apache License, Version 2.0
  10.  *  @version     2007-11-07
  11.  */
  12. /******************************************************************************* 
  13.  *    __  _    _  ___ 
  14.  *   (  )( \/\/ )/ __)
  15.  *   /__\ \    / \__ \
  16.  *  (_)(_) \/\/  (___/
  17.  * 
  18.  *  Amazon Simple DB PHP5 Library
  19.  *  Generated: Wed Jul 23 00:24:22 PDT 2008
  20.  * 
  21.  */
  22.  
  23. /**
  24.  *  @see Amazon_SimpleDB_Model
  25.  */
  26. require_once ('Amazon/SimpleDB/Model.php');  
  27.  
  28.     
  29.  
  30. /**
  31.  * Amazon_SimpleDB_Model_ListDomains
  32.  * 
  33.  * Properties:
  34.  * <ul>
  35.  * 
  36.  * <li>MaxNumberOfDomains: int</li>
  37.  * <li>NextToken: string</li>
  38.  *
  39.  * </ul>
  40.  */ 
  41. {
  42.  
  43.  
  44.     /**
  45.      * Construct new Amazon_SimpleDB_Model_ListDomains
  46.      * 
  47.      * @param mixed $data DOMElement or Associative Array to construct from.
  48.      * 
  49.      *  Valid properties:
  50.      *  <ul>
  51.      * 
  52.      *  <li>MaxNumberOfDomains: int</li>
  53.      *  <li>NextToken: string</li>
  54.      *
  55.      *  </ul>
  56.      */
  57.     public function __construct($data null)
  58.     {
  59.         $this->_fields = array (
  60.         'MaxNumberOfDomains' => array('FieldValue' => null'FieldType' => 'int'),
  61.         'NextToken' => array('FieldValue' => null'FieldType' => 'string'),
  62.         );
  63.         parent::__construct($data);
  64.     }
  65.  
  66.         /**
  67.      * Gets the value of the MaxNumberOfDomains property.
  68.      * 
  69.      * @return int MaxNumberOfDomains
  70.      */
  71.     public function getMaxNumberOfDomains(
  72.     {
  73.         return $this->_fields['MaxNumberOfDomains']['FieldValue'];
  74.     }
  75.  
  76.     /**
  77.      * Sets the value of the MaxNumberOfDomains property.
  78.      * 
  79.      * @param int MaxNumberOfDomains
  80.      * @return this instance
  81.      */
  82.     public function setMaxNumberOfDomains($value
  83.     {
  84.         $this->_fields['MaxNumberOfDomains']['FieldValue'$value;
  85.         return $this;
  86.     }
  87.  
  88.     /**
  89.      * Sets the value of the MaxNumberOfDomains and returns this instance
  90.      * 
  91.      * @param int $value MaxNumberOfDomains
  92.      * @return Amazon_SimpleDB_Model_ListDomains instance
  93.      */
  94.     public function withMaxNumberOfDomains($value)
  95.     {
  96.         $this->setMaxNumberOfDomains($value);
  97.         return $this;
  98.     }
  99.  
  100.  
  101.     /**
  102.      * Checks if MaxNumberOfDomains is set
  103.      * 
  104.      * @return bool true if MaxNumberOfDomains  is set
  105.      */
  106.     public function isSetMaxNumberOfDomains()
  107.     {
  108.         return !is_null($this->_fields['MaxNumberOfDomains']['FieldValue']);
  109.     }
  110.  
  111.     /**
  112.      * Gets the value of the NextToken property.
  113.      * 
  114.      * @return string NextToken
  115.      */
  116.     public function getNextToken(
  117.     {
  118.         return $this->_fields['NextToken']['FieldValue'];
  119.     }
  120.  
  121.     /**
  122.      * Sets the value of the NextToken property.
  123.      * 
  124.      * @param string NextToken
  125.      * @return this instance
  126.      */
  127.     public function setNextToken($value
  128.     {
  129.         $this->_fields['NextToken']['FieldValue'$value;
  130.         return $this;
  131.     }
  132.  
  133.     /**
  134.      * Sets the value of the NextToken and returns this instance
  135.      * 
  136.      * @param string $value NextToken
  137.      * @return Amazon_SimpleDB_Model_ListDomains instance
  138.      */
  139.     public function withNextToken($value)
  140.     {
  141.         $this->setNextToken($value);
  142.         return $this;
  143.     }
  144.  
  145.  
  146.     /**
  147.      * Checks if NextToken is set
  148.      * 
  149.      * @return bool true if NextToken  is set
  150.      */
  151.     public function isSetNextToken()
  152.     {
  153.         return !is_null($this->_fields['NextToken']['FieldValue']);
  154.     }
  155.  
  156.  
  157.  
  158.  
  159. }

Documentation generated on Wed, 23 Jul 2008 00:47:39 -0700 by phpDocumentor 1.4.2