#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct UpdateWebhookInput {
    pub webhook_id: ::std::option::Option<::std::string::String>,
    pub branch_name: ::std::option::Option<::std::string::String>,
    pub description: ::std::option::Option<::std::string::String>,
}
impl UpdateWebhookInput {
    pub fn webhook_id(&self) -> ::std::option::Option<&str> {
        self.webhook_id.as_deref()
    }
    pub fn branch_name(&self) -> ::std::option::Option<&str> {
        self.branch_name.as_deref()
    }
    pub fn description(&self) -> ::std::option::Option<&str> {
        self.description.as_deref()
    }
}
impl UpdateWebhookInput {
    pub fn builder() -> crate::operation::update_webhook::builders::UpdateWebhookInputBuilder {
        crate::operation::update_webhook::builders::UpdateWebhookInputBuilder::default()
    }
}
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
pub struct UpdateWebhookInputBuilder {
    pub(crate) webhook_id: ::std::option::Option<::std::string::String>,
    pub(crate) branch_name: ::std::option::Option<::std::string::String>,
    pub(crate) description: ::std::option::Option<::std::string::String>,
}
impl UpdateWebhookInputBuilder {
    pub fn webhook_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.webhook_id = ::std::option::Option::Some(input.into());
        self
    }
    pub fn set_webhook_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.webhook_id = input;
        self
    }
    pub fn get_webhook_id(&self) -> &::std::option::Option<::std::string::String> {
        &self.webhook_id
    }
    pub fn branch_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.branch_name = ::std::option::Option::Some(input.into());
        self
    }
    pub fn set_branch_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.branch_name = input;
        self
    }
    pub fn get_branch_name(&self) -> &::std::option::Option<::std::string::String> {
        &self.branch_name
    }
    pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.description = ::std::option::Option::Some(input.into());
        self
    }
    pub fn set_description(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.description = input;
        self
    }
    pub fn get_description(&self) -> &::std::option::Option<::std::string::String> {
        &self.description
    }
    pub fn build(
        self,
    ) -> ::std::result::Result<crate::operation::update_webhook::UpdateWebhookInput, ::aws_smithy_types::error::operation::BuildError> {
        ::std::result::Result::Ok(crate::operation::update_webhook::UpdateWebhookInput {
            webhook_id: self.webhook_id,
            branch_name: self.branch_name,
            description: self.description,
        })
    }
}