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