aws_sdk_robomaker/operation/delete_fleet/
_delete_fleet_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 DeleteFleetOutput {
9    _request_id: Option<String>,
10}
11impl ::aws_types::request_id::RequestId for DeleteFleetOutput {
12    fn request_id(&self) -> Option<&str> {
13        self._request_id.as_deref()
14    }
15}
16impl DeleteFleetOutput {
17    /// Creates a new builder-style object to manufacture [`DeleteFleetOutput`](crate::operation::delete_fleet::DeleteFleetOutput).
18    pub fn builder() -> crate::operation::delete_fleet::builders::DeleteFleetOutputBuilder {
19        crate::operation::delete_fleet::builders::DeleteFleetOutputBuilder::default()
20    }
21}
22
23/// A builder for [`DeleteFleetOutput`](crate::operation::delete_fleet::DeleteFleetOutput).
24#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
25#[non_exhaustive]
26pub struct DeleteFleetOutputBuilder {
27    _request_id: Option<String>,
28}
29impl DeleteFleetOutputBuilder {
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 [`DeleteFleetOutput`](crate::operation::delete_fleet::DeleteFleetOutput).
40    pub fn build(self) -> crate::operation::delete_fleet::DeleteFleetOutput {
41        crate::operation::delete_fleet::DeleteFleetOutput {
42            _request_id: self._request_id,
43        }
44    }
45}