#[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 DescribeRobotInput {
pub robot: ::std::option::Option<::std::string::String>,
}
impl DescribeRobotInput {
pub fn robot(&self) -> ::std::option::Option<&str> {
self.robot.as_deref()
}
}
impl DescribeRobotInput {
pub fn builder() -> crate::operation::describe_robot::builders::DescribeRobotInputBuilder {
crate::operation::describe_robot::builders::DescribeRobotInputBuilder::default()
}
}
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
pub struct DescribeRobotInputBuilder {
pub(crate) robot: ::std::option::Option<::std::string::String>,
}
impl DescribeRobotInputBuilder {
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::describe_robot::DescribeRobotInput, ::aws_smithy_types::error::operation::BuildError> {
::std::result::Result::Ok(crate::operation::describe_robot::DescribeRobotInput { robot: self.robot })
}
}