/// A data scope input value resolving to the assets matching a
/// search query.
#[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 AssetQueryDataScopeInputValue {
    #[builder(
        custom(
            type = super::super::super::compute::api::ResourceSearchQuery,
            convert = Box::new
        )
    )]
    #[serde(rename = "query")]
    query: Box<super::super::super::compute::api::ResourceSearchQuery>,
}
impl AssetQueryDataScopeInputValue {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(query: super::super::super::compute::api::ResourceSearchQuery) -> Self {
        Self::builder().query(query).build()
    }
    #[inline]
    pub fn query(&self) -> &super::super::super::compute::api::ResourceSearchQuery {
        &*self.query
    }
}
