/// Pre-signed URI that can be used to download the original file directly. Expires if the download has
/// not been initiated within 1 minute.
#[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 DatasetFileUri {
    #[builder(into)]
    #[serde(rename = "uri")]
    uri: String,
}
impl DatasetFileUri {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(uri: impl Into<String>) -> Self {
        Self::builder().uri(uri).build()
    }
    #[inline]
    pub fn uri(&self) -> &str {
        &*self.uri
    }
}
