U
    W¨+d	  ã                   @   s   d Z G dd„ deƒZdS )z
Represents an DBSubnetGroup
c                   @   s2   e Zd ZdZddd„Zdd„ Zdd„ Zd	d
„ ZdS )ÚDBSubnetGroupa•  
    Represents an RDS database subnet group

    Properties reference available from the AWS documentation at http://docs.amazonwebservices.com/AmazonRDS/latest/APIReference/API_DeleteDBSubnetGroup.html

    :ivar status: The current status of the subnet group. Possibile values are [ active, ? ]. Reference documentation lacks specifics of possibilities
    :ivar connection: boto.rds.RDSConnection associated with the current object
    :ivar description: The description of the subnet group
    :ivar subnet_ids: List of subnet identifiers in the group
    :ivar name: Name of the subnet group
    :ivar vpc_id: The ID of the VPC the subnets are inside
    Nc                 C   s8   || _ || _|| _|d k	r"|| _ng | _d | _d | _d S ©N)Ú
connectionÚnameÚdescriptionÚ
subnet_idsÚvpc_idÚstatus)Úselfr   r   r   r   © r
   ú:/tmp/pip-unpacked-wheel-dlxw5sjy/boto/rds/dbsubnetgroup.pyÚ__init__'   s    zDBSubnetGroup.__init__c                 C   s
   d| j  S )NzDBSubnetGroup:%s)r   )r	   r
   r
   r   Ú__repr__2   s    zDBSubnetGroup.__repr__c                 C   s   d S r   r
   )r	   r   Úattrsr   r
   r
   r   ÚstartElement5   s    zDBSubnetGroup.startElementc                 C   sf   |dkr| j  |¡ nL|dkr&|| _n<|dkr6|| _n,|dkrF|| _n|dkrV|| _nt| ||ƒ d S )NZSubnetIdentifierZDBSubnetGroupNameZDBSubnetGroupDescriptionZVpcIdZSubnetGroupStatus)r   Úappendr   r   r   r   Úsetattr)r	   r   Úvaluer   r
   r
   r   Ú
endElement8   s    zDBSubnetGroup.endElement)NNNN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   r   r
   r
   r
   r   r      s
   
r   N)r   Úobjectr   r
   r
   r
   r   Ú<module>   s   