pub fn message_attributes(
            mut self,
            k: impl Into<std::string::String>,
            v: crate::model::MessageAttributeValue,
        ) -> Self {
            let mut hash_map = self.message_attributes.unwrap_or_default();
            hash_map.insert(k.into(), v);
            self.message_attributes = Some(hash_map);
            self
        }
/// Adds a key-value pair to `message_attributes`.
///
/// To override the contents of this collection use [`set_message_attributes`](Self::set_message_attributes).
///
/// <p>The attributes for the message, used for message filtering along with a <code>FilterRule</code> defined in the <code>PushNotificationPreferences</code>.</p>
Adds a key-value pair to `message_attributes`.
To override the contents of this collection use [`set_message_attributes`](Self::set_message_attributes).

The attributes for the message, used for message filtering along with a FilterRule defined in the PushNotificationPreferences.
Adds a key - value pair to ` message_attributes ` . To override the contents of this collection use [ ` set_message_attributes ` ] ( Self :: set_message_attributes ) . The attributes for the message used for message filtering along with a FilterRule defined in the PushNotificationPreferences .
pub fn message_attributes(
            mut self,
            k: impl Into<std::string::String>,
            v: crate::model::MessageAttributeValue,
        ) -> Self {
            let mut hash_map = self.message_attributes.unwrap_or_default();
            hash_map.insert(k.into(), v);
            self.message_attributes = Some(hash_map);
            self
        }
pub fn message_attributes ( mut self , k : impl Into < std :: string :: String > , v : crate :: model :: MessageAttributeValue , ) -> Self { let mut hash_map = self . message_attributes . unwrap_or_default ( ) ; hash_map . insert ( k . into ( ) , v ) ; self . message_attributes = Some ( hash_map ) ; self }
Adds a key-value pair to `message_attributes`.
Adds a key - value pair to ` message_attributes ` .
mut self
k
impl Into<std::string::String>
v
crate::model::MessageAttributeValue
mut self
k
impl Into<std::string::String>
v
crate::model::MessageAttributeValue