#[allow(missing_docs)] #[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct DeleteConfigurationInput {
#[doc(hidden)]
pub arn: std::option::Option<std::string::String>,
}
impl DeleteConfigurationInput {
pub fn arn(&self) -> std::option::Option<&str> {
self.arn.as_deref()
}
}
impl DeleteConfigurationInput {
pub fn builder(
) -> crate::operation::delete_configuration::builders::DeleteConfigurationInputBuilder {
crate::operation::delete_configuration::builders::DeleteConfigurationInputBuilder::default()
}
}
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct DeleteConfigurationInputBuilder {
pub(crate) arn: std::option::Option<std::string::String>,
}
impl DeleteConfigurationInputBuilder {
pub fn arn(mut self, input: impl Into<std::string::String>) -> Self {
self.arn = Some(input.into());
self
}
pub fn set_arn(mut self, input: std::option::Option<std::string::String>) -> Self {
self.arn = input;
self
}
pub fn build(
self,
) -> Result<
crate::operation::delete_configuration::DeleteConfigurationInput,
aws_smithy_http::operation::error::BuildError,
> {
Ok(crate::operation::delete_configuration::DeleteConfigurationInput { arn: self.arn })
}
}