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