aws-sdk-securityagent 1.1.0

AWS SDK for AWS Security Agent
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.

/// Output for the UpdateFinding operation
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct UpdateFindingOutput {
    _request_id: Option<String>,
}
impl ::aws_types::request_id::RequestId for UpdateFindingOutput {
    fn request_id(&self) -> Option<&str> {
        self._request_id.as_deref()
    }
}
impl UpdateFindingOutput {
    /// Creates a new builder-style object to manufacture [`UpdateFindingOutput`](crate::operation::update_finding::UpdateFindingOutput).
    pub fn builder() -> crate::operation::update_finding::builders::UpdateFindingOutputBuilder {
        crate::operation::update_finding::builders::UpdateFindingOutputBuilder::default()
    }
}

/// A builder for [`UpdateFindingOutput`](crate::operation::update_finding::UpdateFindingOutput).
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
#[non_exhaustive]
pub struct UpdateFindingOutputBuilder {
    _request_id: Option<String>,
}
impl UpdateFindingOutputBuilder {
    pub(crate) fn _request_id(mut self, request_id: impl Into<String>) -> Self {
        self._request_id = Some(request_id.into());
        self
    }

    pub(crate) fn _set_request_id(&mut self, request_id: Option<String>) -> &mut Self {
        self._request_id = request_id;
        self
    }
    /// Consumes the builder and constructs a [`UpdateFindingOutput`](crate::operation::update_finding::UpdateFindingOutput).
    pub fn build(self) -> crate::operation::update_finding::UpdateFindingOutput {
        crate::operation::update_finding::UpdateFindingOutput {
            _request_id: self._request_id,
        }
    }
}