#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct GetBranchInput {
    #[doc(hidden)]
    pub app_id: ::std::option::Option<::std::string::String>,
    #[doc(hidden)]
    pub branch_name: ::std::option::Option<::std::string::String>,
}
impl GetBranchInput {
    pub fn app_id(&self) -> ::std::option::Option<&str> {
        self.app_id.as_deref()
    }
    pub fn branch_name(&self) -> ::std::option::Option<&str> {
        self.branch_name.as_deref()
    }
}
impl GetBranchInput {
    pub fn builder() -> crate::operation::get_branch::builders::GetBranchInputBuilder {
        crate::operation::get_branch::builders::GetBranchInputBuilder::default()
    }
}
#[non_exhaustive]
#[derive(
    ::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug,
)]
pub struct GetBranchInputBuilder {
    pub(crate) app_id: ::std::option::Option<::std::string::String>,
    pub(crate) branch_name: ::std::option::Option<::std::string::String>,
}
impl GetBranchInputBuilder {
    pub fn app_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.app_id = ::std::option::Option::Some(input.into());
        self
    }
    pub fn set_app_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.app_id = input;
        self
    }
    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 build(
        self,
    ) -> ::std::result::Result<
        crate::operation::get_branch::GetBranchInput,
        ::aws_smithy_http::operation::error::BuildError,
    > {
        ::std::result::Result::Ok(crate::operation::get_branch::GetBranchInput {
            app_id: self.app_id,
            branch_name: self.branch_name,
        })
    }
}