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