#[allow(missing_docs)] #[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct DeleteEnvironmentInput {
    pub environment_id: ::std::option::Option<::std::string::String>,
}
impl DeleteEnvironmentInput {
    pub fn environment_id(&self) -> ::std::option::Option<&str> {
        self.environment_id.as_deref()
    }
}
impl DeleteEnvironmentInput {
    pub fn builder() -> crate::operation::delete_environment::builders::DeleteEnvironmentInputBuilder {
        crate::operation::delete_environment::builders::DeleteEnvironmentInputBuilder::default()
    }
}
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
pub struct DeleteEnvironmentInputBuilder {
    pub(crate) environment_id: ::std::option::Option<::std::string::String>,
}
impl DeleteEnvironmentInputBuilder {
    pub fn environment_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.environment_id = ::std::option::Option::Some(input.into());
        self
    }
    pub fn set_environment_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.environment_id = input;
        self
    }
    pub fn get_environment_id(&self) -> &::std::option::Option<::std::string::String> {
        &self.environment_id
    }
    pub fn build(
        self,
    ) -> ::std::result::Result<crate::operation::delete_environment::DeleteEnvironmentInput, ::aws_smithy_types::error::operation::BuildError> {
        ::std::result::Result::Ok(crate::operation::delete_environment::DeleteEnvironmentInput {
            environment_id: self.environment_id,
        })
    }
}