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