// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct DeleteConformancePackInput {
    /// <p>Name of the conformance pack you want to delete.</p>
    pub conformance_pack_name: ::std::option::Option<::std::string::String>,
}
impl DeleteConformancePackInput {
    /// <p>Name of the conformance pack you want to delete.</p>
    pub fn conformance_pack_name(&self) -> ::std::option::Option<&str> {
        self.conformance_pack_name.as_deref()
    }
}
impl DeleteConformancePackInput {
    /// Creates a new builder-style object to manufacture [`DeleteConformancePackInput`](crate::operation::delete_conformance_pack::DeleteConformancePackInput).
    pub fn builder() -> crate::operation::delete_conformance_pack::builders::DeleteConformancePackInputBuilder {
        crate::operation::delete_conformance_pack::builders::DeleteConformancePackInputBuilder::default()
    }
}

/// A builder for [`DeleteConformancePackInput`](crate::operation::delete_conformance_pack::DeleteConformancePackInput).
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
#[non_exhaustive]
pub struct DeleteConformancePackInputBuilder {
    pub(crate) conformance_pack_name: ::std::option::Option<::std::string::String>,
}
impl DeleteConformancePackInputBuilder {
    /// <p>Name of the conformance pack you want to delete.</p>
    /// This field is required.
    pub fn conformance_pack_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.conformance_pack_name = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>Name of the conformance pack you want to delete.</p>
    pub fn set_conformance_pack_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.conformance_pack_name = input;
        self
    }
    /// <p>Name of the conformance pack you want to delete.</p>
    pub fn get_conformance_pack_name(&self) -> &::std::option::Option<::std::string::String> {
        &self.conformance_pack_name
    }
    /// Consumes the builder and constructs a [`DeleteConformancePackInput`](crate::operation::delete_conformance_pack::DeleteConformancePackInput).
    pub fn build(
        self,
    ) -> ::std::result::Result<crate::operation::delete_conformance_pack::DeleteConformancePackInput, ::aws_smithy_types::error::operation::BuildError>
    {
        ::std::result::Result::Ok(crate::operation::delete_conformance_pack::DeleteConformancePackInput {
            conformance_pack_name: self.conformance_pack_name,
        })
    }
}
