#[allow(missing_docs)] #[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct DeleteClusterInput {
    #[doc(hidden)]
    pub cluster_arn: std::option::Option<std::string::String>,
    #[doc(hidden)]
    pub current_version: std::option::Option<std::string::String>,
}
impl DeleteClusterInput {
    pub fn cluster_arn(&self) -> std::option::Option<&str> {
        self.cluster_arn.as_deref()
    }
    pub fn current_version(&self) -> std::option::Option<&str> {
        self.current_version.as_deref()
    }
}
impl DeleteClusterInput {
    pub fn builder() -> crate::operation::delete_cluster::builders::DeleteClusterInputBuilder {
        crate::operation::delete_cluster::builders::DeleteClusterInputBuilder::default()
    }
}
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct DeleteClusterInputBuilder {
    pub(crate) cluster_arn: std::option::Option<std::string::String>,
    pub(crate) current_version: std::option::Option<std::string::String>,
}
impl DeleteClusterInputBuilder {
    pub fn cluster_arn(mut self, input: impl Into<std::string::String>) -> Self {
        self.cluster_arn = Some(input.into());
        self
    }
    pub fn set_cluster_arn(mut self, input: std::option::Option<std::string::String>) -> Self {
        self.cluster_arn = input;
        self
    }
    pub fn current_version(mut self, input: impl Into<std::string::String>) -> Self {
        self.current_version = Some(input.into());
        self
    }
    pub fn set_current_version(mut self, input: std::option::Option<std::string::String>) -> Self {
        self.current_version = input;
        self
    }
    pub fn build(
        self,
    ) -> Result<
        crate::operation::delete_cluster::DeleteClusterInput,
        aws_smithy_http::operation::error::BuildError,
    > {
        Ok(crate::operation::delete_cluster::DeleteClusterInput {
            cluster_arn: self.cluster_arn,
            current_version: self.current_version,
        })
    }
}