/// Constrains a tag key to not be in the given set of values.
#[derive(
    Debug,
    Clone,
    conjure_object::serde::Serialize,
    conjure_object::serde::Deserialize,
    PartialEq,
    Eq,
    PartialOrd,
    Ord,
    Hash
)]
#[serde(crate = "conjure_object::serde")]
#[conjure_object::private::staged_builder::staged_builder]
#[builder(crate = conjure_object::private::staged_builder, update, inline)]
pub struct TagNotIn {
    #[builder(custom(type = super::StringConstant, convert = Box::new))]
    #[serde(rename = "key")]
    key: Box<super::StringConstant>,
    #[builder(custom(type = super::StringSetConstantV2, convert = Box::new))]
    #[serde(rename = "values")]
    values: Box<super::StringSetConstantV2>,
}
impl TagNotIn {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(key: super::StringConstant, values: super::StringSetConstantV2) -> Self {
        Self::builder().key(key).values(values).build()
    }
    #[inline]
    pub fn key(&self) -> &super::StringConstant {
        &*self.key
    }
    #[inline]
    pub fn values(&self) -> &super::StringSetConstantV2 {
        &*self.values
    }
}
