aws-sdk-devopsagent 1.4.0

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

/// Empty output for successful service disassociation.
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct DisassociateServiceOutput {
    _request_id: Option<String>,
}
impl ::aws_types::request_id::RequestId for DisassociateServiceOutput {
    fn request_id(&self) -> Option<&str> {
        self._request_id.as_deref()
    }
}
impl DisassociateServiceOutput {
    /// Creates a new builder-style object to manufacture [`DisassociateServiceOutput`](crate::operation::disassociate_service::DisassociateServiceOutput).
    pub fn builder() -> crate::operation::disassociate_service::builders::DisassociateServiceOutputBuilder {
        crate::operation::disassociate_service::builders::DisassociateServiceOutputBuilder::default()
    }
}

/// A builder for [`DisassociateServiceOutput`](crate::operation::disassociate_service::DisassociateServiceOutput).
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
#[non_exhaustive]
pub struct DisassociateServiceOutputBuilder {
    _request_id: Option<String>,
}
impl DisassociateServiceOutputBuilder {
    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 [`DisassociateServiceOutput`](crate::operation::disassociate_service::DisassociateServiceOutput).
    pub fn build(self) -> crate::operation::disassociate_service::DisassociateServiceOutput {
        crate::operation::disassociate_service::DisassociateServiceOutput {
            _request_id: self._request_id,
        }
    }
}