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