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