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