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