aws-sdk-appsync 1.111.0

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

/// <p>Represents the output of a <code>DeleteApiCache</code> operation.</p>
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct DeleteApiCacheOutput {
    _request_id: Option<String>,
}
impl ::aws_types::request_id::RequestId for DeleteApiCacheOutput {
    fn request_id(&self) -> Option<&str> {
        self._request_id.as_deref()
    }
}
impl DeleteApiCacheOutput {
    /// Creates a new builder-style object to manufacture [`DeleteApiCacheOutput`](crate::operation::delete_api_cache::DeleteApiCacheOutput).
    pub fn builder() -> crate::operation::delete_api_cache::builders::DeleteApiCacheOutputBuilder {
        crate::operation::delete_api_cache::builders::DeleteApiCacheOutputBuilder::default()
    }
}

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