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