
    "hj                     2    d dl mZ d dlmZ  G d de      Zy)    )
RpcRequest)endpoint_datac                   6    e Zd Zd Zd Zd Zd Zd Zd Zd Z	y)	SetKeyPolicyRequestc                 (   t        j                  | dddd       | j                  d       | j                  d       t	        | d      rt        | dt        j                                t	        | d      r t        | dt        j                                y y )	NKmsz
2016-01-20SetKeyPolicykmshttpsPOSTendpoint_mapendpoint_regional)	r   __init__set_protocol_type
set_methodhasattrsetattrr   getEndpointMapgetEndpointRegionalselfs    p/root/.hermes/SkillClaw/.venv/lib/python3.12/site-packages/aliyunsdkkms/request/v20160120/SetKeyPolicyRequest.pyr   zSetKeyPolicyRequest.__init__   sw    dE<F!//&T>"
4!=!=!?@T&'
4$m&G&G&IJ (    c                 @    | j                         j                  d      S NKeyIdget_query_paramsgetr   s    r   	get_KeyIdzSetKeyPolicyRequest.get_KeyId#   s    				 	$	$W	--r   c                 (    | j                  d|       y r   add_query_param)r   r   s     r   	set_KeyIdzSetKeyPolicyRequest.set_KeyId&   s    w&r   c                 @    | j                         j                  d      S N
PolicyNamer   r   s    r   get_PolicyNamez"SetKeyPolicyRequest.get_PolicyName(   s    				 	$	$\	22r   c                 (    | j                  d|       y r&   r"   )r   r'   s     r   set_PolicyNamez"SetKeyPolicyRequest.set_PolicyName+   s    |Z0r   c                 @    | j                         j                  d      S NPolicyr   r   s    r   
get_PolicyzSetKeyPolicyRequest.get_Policy-   s    				 	$	$X	..r   c                 (    | j                  d|       y r,   r"   )r   r-   s     r   
set_PolicyzSetKeyPolicyRequest.set_Policy0   s    x(r   N)
__name__
__module____qualname__r   r    r$   r(   r*   r.   r0    r   r   r   r      s&    K.'31/)r   r   N)aliyunsdkcore.requestr   aliyunsdkkms.endpointr   r   r4   r   r   <module>r7      s   ( - /)* )r   