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