aws_sdk_robomaker/operation/delete_robot/
_delete_robot_output.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2#[allow(missing_docs)] // documentation missing in model
3#[deprecated(
4    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."
5)]
6#[non_exhaustive]
7#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
8pub struct DeleteRobotOutput {
9    _request_id: Option<String>,
10}
11impl ::aws_types::request_id::RequestId for DeleteRobotOutput {
12    fn request_id(&self) -> Option<&str> {
13        self._request_id.as_deref()
14    }
15}
16impl DeleteRobotOutput {
17    /// Creates a new builder-style object to manufacture [`DeleteRobotOutput`](crate::operation::delete_robot::DeleteRobotOutput).
18    pub fn builder() -> crate::operation::delete_robot::builders::DeleteRobotOutputBuilder {
19        crate::operation::delete_robot::builders::DeleteRobotOutputBuilder::default()
20    }
21}
22
23/// A builder for [`DeleteRobotOutput`](crate::operation::delete_robot::DeleteRobotOutput).
24#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
25#[non_exhaustive]
26pub struct DeleteRobotOutputBuilder {
27    _request_id: Option<String>,
28}
29impl DeleteRobotOutputBuilder {
30    pub(crate) fn _request_id(mut self, request_id: impl Into<String>) -> Self {
31        self._request_id = Some(request_id.into());
32        self
33    }
34
35    pub(crate) fn _set_request_id(&mut self, request_id: Option<String>) -> &mut Self {
36        self._request_id = request_id;
37        self
38    }
39    /// Consumes the builder and constructs a [`DeleteRobotOutput`](crate::operation::delete_robot::DeleteRobotOutput).
40    pub fn build(self) -> crate::operation::delete_robot::DeleteRobotOutput {
41        crate::operation::delete_robot::DeleteRobotOutput {
42            _request_id: self._request_id,
43        }
44    }
45}