o
    rMfb
  ã                   @   s   G d d„ de ƒZdS )c                   @   s6   e Zd ZdZ		ddd„Zdd„ Zdd„ Zd	d
„ ZdS )ÚInstanceStatez?
    Represents the state of an EC2 Load Balancer Instance
    Nc                 C   s"   || _ || _|| _|| _|| _dS )a8  
        :ivar boto.ec2.elb.loadbalancer.LoadBalancer load_balancer: The
            load balancer this instance is registered to.
        :ivar str description: A description of the instance.
        :ivar str instance_id: The EC2 instance ID.
        :ivar str reason_code: Provides information about the cause of
            an OutOfService instance. Specifically, it indicates whether the
            cause is Elastic Load Balancing or the instance behind the
            LoadBalancer.
        :ivar str state: Specifies the current state of the instance.
        N)Úload_balancerÚdescriptionÚstateÚinstance_idÚreason_code)Úselfr   r   r   r   r   © r   ú\/var/www/html/analyze/labelStudio/lib/python3.10/site-packages/boto/ec2/elb/instancestate.pyÚ__init__   s
   
zInstanceState.__init__c                 C   s   d| j | jf S )NzInstanceState:(%s,%s))r   r   )r   r   r   r	   Ú__repr__/   s   zInstanceState.__repr__c                 C   s   d S )Nr   )r   ÚnameÚattrsÚ
connectionr   r   r	   ÚstartElement2   s   zInstanceState.startElementc                 C   sX   |dkr	|| _ d S |dkr|| _d S |dkr|| _d S |dkr$|| _d S t| ||ƒ d S )NÚDescriptionÚStateÚ
InstanceIdÚ
ReasonCode)r   r   r   r   Úsetattr)r   r   Úvaluer   r   r   r	   Ú
endElement5   s   



zInstanceState.endElement)NNNNN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r
   r   r   r   r   r   r   r	   r      s    
ÿr   N)Úobjectr   r   r   r   r	   Ú<module>   s   