aws_sdk_lexmodelsv2/operation/delete_utterances/
_delete_utterances_output.rs1#[allow(missing_docs)] #[non_exhaustive]
4#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
5pub struct DeleteUtterancesOutput {
6 _request_id: Option<String>,
7}
8impl ::aws_types::request_id::RequestId for DeleteUtterancesOutput {
9 fn request_id(&self) -> Option<&str> {
10 self._request_id.as_deref()
11 }
12}
13impl DeleteUtterancesOutput {
14 pub fn builder() -> crate::operation::delete_utterances::builders::DeleteUtterancesOutputBuilder {
16 crate::operation::delete_utterances::builders::DeleteUtterancesOutputBuilder::default()
17 }
18}
19
20#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
22#[non_exhaustive]
23pub struct DeleteUtterancesOutputBuilder {
24 _request_id: Option<String>,
25}
26impl DeleteUtterancesOutputBuilder {
27 pub(crate) fn _request_id(mut self, request_id: impl Into<String>) -> Self {
28 self._request_id = Some(request_id.into());
29 self
30 }
31
32 pub(crate) fn _set_request_id(&mut self, request_id: Option<String>) -> &mut Self {
33 self._request_id = request_id;
34 self
35 }
36 pub fn build(self) -> crate::operation::delete_utterances::DeleteUtterancesOutput {
38 crate::operation::delete_utterances::DeleteUtterancesOutput {
39 _request_id: self._request_id,
40 }
41 }
42}