pub fn active_contexts(mut self, input: impl Into<crate::model::ActiveContext>) -> Self {
            let mut v = self.active_contexts.unwrap_or_default();
            v.push(input.into());
            self.active_contexts = Some(v);
            self
        }
/// Appends an item to `active_contexts`.
///
/// To override the contents of this collection use [`set_active_contexts`](Self::set_active_contexts).
///
/// <p>One or more contexts that indicate to Amazon Lex V2 the context of a
/// request. When a context is active, Amazon Lex V2 considers intents with the
/// matching context as a trigger as the next intent in a session.</p>
Appends an item to `active_contexts`.
To override the contents of this collection use [`set_active_contexts`](Self::set_active_contexts).

One or more contexts that indicate to Amazon Lex V2 the context of a
request. When a context is active, Amazon Lex V2 considers intents with the
matching context as a trigger as the next intent in a session.
Appends an item to ` active_contexts ` . To override the contents of this collection use [ ` set_active_contexts ` ] ( Self :: set_active_contexts ) . One or more contexts that indicate to Amazon Lex V2 the context of a request . When a context is active Amazon Lex V2 considers intents with the matching context as a trigger as the next intent in a session .
pub fn active_contexts(mut self, input: impl Into<crate::model::ActiveContext>) -> Self {
            let mut v = self.active_contexts.unwrap_or_default();
            v.push(input.into());
            self.active_contexts = Some(v);
            self
        }
pub fn active_contexts ( mut self , input : impl Into < crate :: model :: ActiveContext > ) -> Self { let mut v = self . active_contexts . unwrap_or_default ( ) ; v . push ( input . into ( ) ) ; self . active_contexts = Some ( v ) ; self }
Appends an item to `active_contexts`.
Appends an item to ` active_contexts ` .
mut self
input
impl Into<crate::model::ActiveContext>
mut self
input
impl Into<crate::model::ActiveContext>