U
    3ìde  ã                   @   s   G d d„ de ƒZdS )c                   @   s2   e Zd ZdZddd„Zdd„ Zdd„ Zd	d
„ ZdS )ÚInstanceInfozD
    Represents an EC2 Instance status response from CloudWatch
    Nc                 C   s   || _ || _|| _dS )z}
        :ivar str id: The instance's EC2 ID.
        :ivar str state: Specifies the current status of the instance.
        N)Ú
connectionÚidÚstate)Úselfr   r   r   © r   ú9/tmp/pip-unpacked-wheel-d7dsrkjd/boto/ec2/instanceinfo.pyÚ__init__   s    zInstanceInfo.__init__c                 C   s
   d| j  S )NzInstanceInfo:%s)r   )r   r   r   r   Ú__repr__%   s    zInstanceInfo.__repr__c                 C   s   d S )Nr   )r   ÚnameÚattrsr   r   r   r   ÚstartElement(   s    zInstanceInfo.startElementc                 C   s8   |dks|dkr|| _ n|dkr(|| _nt| ||ƒ d S )NZ
instanceIdZ
InstanceIdr   )r   r   Úsetattr)r   r
   Úvaluer   r   r   r   Ú
endElement+   s
    zInstanceInfo.endElement)NNN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r	   r   r   r   r   r   r   r      s
   
	r   N)Úobjectr   r   r   r   r   Ú<module>   ó    