/// Pre-signed URI that can be used to download an origin 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 OriginFileUri {
    #[builder(into)]
    #[serde(rename = "uri")]
    uri: String,
    #[builder(into)]
    #[serde(rename = "path")]
    path: String,
}
impl OriginFileUri {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(uri: impl Into<String>, path: impl Into<String>) -> Self {
        Self::builder().uri(uri).path(path).build()
    }
    #[inline]
    pub fn uri(&self) -> &str {
        &*self.uri
    }
    #[inline]
    pub fn path(&self) -> &str {
        &*self.path
    }
}
