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