/// Show only points whose attribute value equals a given string.
#[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 SpatialVolumetricFilterStringEquals {
    #[builder(into)]
    #[serde(rename = "attribute")]
    attribute: String,
    #[builder(into)]
    #[serde(rename = "value")]
    value: String,
}
impl SpatialVolumetricFilterStringEquals {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(attribute: impl Into<String>, value: impl Into<String>) -> Self {
        Self::builder().attribute(attribute).value(value).build()
    }
    #[inline]
    pub fn attribute(&self) -> &str {
        &*self.attribute
    }
    #[inline]
    pub fn value(&self) -> &str {
        &*self.value
    }
}
