#[allow(missing_docs)] #[deprecated(
note = "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html."
)]
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct DeleteRobotInput {
pub robot: ::std::option::Option<::std::string::String>,
}
impl DeleteRobotInput {
pub fn robot(&self) -> ::std::option::Option<&str> {
self.robot.as_deref()
}
}
impl DeleteRobotInput {
pub fn builder() -> crate::operation::delete_robot::builders::DeleteRobotInputBuilder {
crate::operation::delete_robot::builders::DeleteRobotInputBuilder::default()
}
}
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
pub struct DeleteRobotInputBuilder {
pub(crate) robot: ::std::option::Option<::std::string::String>,
}
impl DeleteRobotInputBuilder {
pub fn robot(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.robot = ::std::option::Option::Some(input.into());
self
}
pub fn set_robot(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.robot = input;
self
}
pub fn get_robot(&self) -> &::std::option::Option<::std::string::String> {
&self.robot
}
pub fn build(self) -> ::std::result::Result<crate::operation::delete_robot::DeleteRobotInput, ::aws_smithy_types::error::operation::BuildError> {
::std::result::Result::Ok(crate::operation::delete_robot::DeleteRobotInput { robot: self.robot })
}
}