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