aws-sdk-route53 0.25.0

AWS SDK for Amazon Route 53
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct GetDnssecInput {
    /// <p>A unique string used to identify a hosted zone.</p>
    #[doc(hidden)]
    pub hosted_zone_id: std::option::Option<std::string::String>,
}
impl GetDnssecInput {
    /// <p>A unique string used to identify a hosted zone.</p>
    pub fn hosted_zone_id(&self) -> std::option::Option<&str> {
        self.hosted_zone_id.as_deref()
    }
}
impl GetDnssecInput {
    /// Creates a new builder-style object to manufacture [`GetDnssecInput`](crate::operation::get_dnssec::GetDnssecInput).
    pub fn builder() -> crate::operation::get_dnssec::builders::GetDnssecInputBuilder {
        crate::operation::get_dnssec::builders::GetDnssecInputBuilder::default()
    }
}

/// A builder for [`GetDnssecInput`](crate::operation::get_dnssec::GetDnssecInput).
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct GetDnssecInputBuilder {
    pub(crate) hosted_zone_id: std::option::Option<std::string::String>,
}
impl GetDnssecInputBuilder {
    /// <p>A unique string used to identify a hosted zone.</p>
    pub fn hosted_zone_id(mut self, input: impl Into<std::string::String>) -> Self {
        self.hosted_zone_id = Some(input.into());
        self
    }
    /// <p>A unique string used to identify a hosted zone.</p>
    pub fn set_hosted_zone_id(mut self, input: std::option::Option<std::string::String>) -> Self {
        self.hosted_zone_id = input;
        self
    }
    /// Consumes the builder and constructs a [`GetDnssecInput`](crate::operation::get_dnssec::GetDnssecInput).
    pub fn build(
        self,
    ) -> Result<
        crate::operation::get_dnssec::GetDnssecInput,
        aws_smithy_http::operation::error::BuildError,
    > {
        Ok(crate::operation::get_dnssec::GetDnssecInput {
            hosted_zone_id: self.hosted_zone_id,
        })
    }
}