#[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 MultipartUploadDetails {
    #[builder(into)]
    #[serde(rename = "uploadId")]
    upload_id: String,
    #[builder(
        custom(
            type = super::super::super::super::scout::catalog::S3Handle,
            convert = Box::new
        )
    )]
    #[serde(rename = "s3Handle")]
    s3_handle: Box<super::super::super::super::scout::catalog::S3Handle>,
}
impl MultipartUploadDetails {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(
        upload_id: impl Into<String>,
        s3_handle: super::super::super::super::scout::catalog::S3Handle,
    ) -> Self {
        Self::builder().upload_id(upload_id).s3_handle(s3_handle).build()
    }
    #[inline]
    pub fn upload_id(&self) -> &str {
        &*self.upload_id
    }
    #[inline]
    pub fn s3_handle(&self) -> &super::super::super::super::scout::catalog::S3Handle {
        &*self.s3_handle
    }
}
