pub fn request_templates(
            mut self,
            k: impl Into<std::string::String>,
            v: impl Into<std::string::String>,
        ) -> Self {
            let mut hash_map = self.request_templates.unwrap_or_default();
            hash_map.insert(k.into(), v.into());
            self.request_templates = Some(hash_map);
            self
        }
/// Adds a key-value pair to `request_templates`.
///
/// To override the contents of this collection use [`set_request_templates`](Self::set_request_templates).
///
/// <p>Represents a map of Velocity templates that are applied on the request payload based on the value of the Content-Type header sent by the client. The content type value is the key in this map, and the template (as a String) is the value. Supported only for WebSocket APIs.</p>
Adds a key-value pair to `request_templates`.
To override the contents of this collection use [`set_request_templates`](Self::set_request_templates).

Represents a map of Velocity templates that are applied on the request payload based on the value of the Content-Type header sent by the client. The content type value is the key in this map, and the template (as a String) is the value.
Adds a key - value pair to ` request_templates ` . To override the contents of this collection use [ ` set_request_templates ` ] ( Self :: set_request_templates ) . Represents a map of Velocity templates that are applied on the request payload based on the value of the Content - Type header sent by the client . The content type value is the key in this map and the template ( as a String ) is the value .
pub fn request_templates(
            mut self,
            k: impl Into<std::string::String>,
            v: impl Into<std::string::String>,
        ) -> Self {
            let mut hash_map = self.request_templates.unwrap_or_default();
            hash_map.insert(k.into(), v.into());
            self.request_templates = Some(hash_map);
            self
        }
pub fn request_templates ( mut self , k : impl Into < std :: string :: String > , v : impl Into < std :: string :: String > , ) -> Self { let mut hash_map = self . request_templates . unwrap_or_default ( ) ; hash_map . insert ( k . into ( ) , v . into ( ) ) ; self . request_templates = Some ( hash_map ) ; self }
Adds a key-value pair to `request_templates`.
Adds a key - value pair to ` request_templates ` .
mut self
k
impl Into<std::string::String>
v
impl Into<std::string::String>
mut self
k
impl Into<std::string::String>
v
impl Into<std::string::String>