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