#[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 InitiateMultipartUploadResponse {
    #[builder(into)]
    #[serde(rename = "uploadId")]
    upload_id: String,
    #[builder(into)]
    #[serde(rename = "key")]
    key: String,
    #[builder(into)]
    #[serde(rename = "bucket")]
    bucket: String,
}
impl InitiateMultipartUploadResponse {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(
        upload_id: impl Into<String>,
        key: impl Into<String>,
        bucket: impl Into<String>,
    ) -> Self {
        Self::builder().upload_id(upload_id).key(key).bucket(bucket).build()
    }
    #[inline]
    pub fn upload_id(&self) -> &str {
        &*self.upload_id
    }
    #[inline]
    pub fn key(&self) -> &str {
        &*self.key
    }
    #[inline]
    pub fn bucket(&self) -> &str {
        &*self.bucket
    }
}
