#[allow(missing_docs)] #[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct GetLayoutInput {
    pub domain_id: ::std::option::Option<::std::string::String>,
    pub layout_id: ::std::option::Option<::std::string::String>,
}
impl GetLayoutInput {
    pub fn domain_id(&self) -> ::std::option::Option<&str> {
        self.domain_id.as_deref()
    }
    pub fn layout_id(&self) -> ::std::option::Option<&str> {
        self.layout_id.as_deref()
    }
}
impl GetLayoutInput {
    pub fn builder() -> crate::operation::get_layout::builders::GetLayoutInputBuilder {
        crate::operation::get_layout::builders::GetLayoutInputBuilder::default()
    }
}
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
pub struct GetLayoutInputBuilder {
    pub(crate) domain_id: ::std::option::Option<::std::string::String>,
    pub(crate) layout_id: ::std::option::Option<::std::string::String>,
}
impl GetLayoutInputBuilder {
    pub fn domain_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.domain_id = ::std::option::Option::Some(input.into());
        self
    }
    pub fn set_domain_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.domain_id = input;
        self
    }
    pub fn get_domain_id(&self) -> &::std::option::Option<::std::string::String> {
        &self.domain_id
    }
    pub fn layout_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.layout_id = ::std::option::Option::Some(input.into());
        self
    }
    pub fn set_layout_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.layout_id = input;
        self
    }
    pub fn get_layout_id(&self) -> &::std::option::Option<::std::string::String> {
        &self.layout_id
    }
    pub fn build(self) -> ::std::result::Result<crate::operation::get_layout::GetLayoutInput, ::aws_smithy_types::error::operation::BuildError> {
        ::std::result::Result::Ok(crate::operation::get_layout::GetLayoutInput {
            domain_id: self.domain_id,
            layout_id: self.layout_id,
        })
    }
}