aws_sdk_lexmodelsv2/operation/create_intent/
_create_intent_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#[non_exhaustive]
4#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
5pub struct CreateIntentOutput {
6    /// <p>A unique identifier for the intent.</p>
7    pub intent_id: ::std::option::Option<::std::string::String>,
8    /// <p>The name specified for the intent.</p>
9    pub intent_name: ::std::option::Option<::std::string::String>,
10    /// <p>The description specified for the intent.</p>
11    pub description: ::std::option::Option<::std::string::String>,
12    /// <p>The signature of the parent intent specified for the intent.</p>
13    pub parent_intent_signature: ::std::option::Option<::std::string::String>,
14    /// <p>The sample utterances specified for the intent.</p>
15    pub sample_utterances: ::std::option::Option<::std::vec::Vec<crate::types::SampleUtterance>>,
16    /// <p>The dialog Lambda function specified for the intent.</p>
17    pub dialog_code_hook: ::std::option::Option<crate::types::DialogCodeHookSettings>,
18    /// <p>The fulfillment Lambda function specified for the intent.</p>
19    pub fulfillment_code_hook: ::std::option::Option<crate::types::FulfillmentCodeHookSettings>,
20    /// <p>The confirmation setting specified for the intent.</p>
21    pub intent_confirmation_setting: ::std::option::Option<crate::types::IntentConfirmationSetting>,
22    /// <p>The closing setting specified for the intent.</p>
23    pub intent_closing_setting: ::std::option::Option<crate::types::IntentClosingSetting>,
24    /// <p>The list of input contexts specified for the intent.</p>
25    pub input_contexts: ::std::option::Option<::std::vec::Vec<crate::types::InputContext>>,
26    /// <p>The list of output contexts specified for the intent.</p>
27    pub output_contexts: ::std::option::Option<::std::vec::Vec<crate::types::OutputContext>>,
28    /// <p>Configuration for searching a Amazon Kendra index specified for the intent.</p>
29    pub kendra_configuration: ::std::option::Option<crate::types::KendraConfiguration>,
30    /// <p>The identifier of the bot associated with the intent.</p>
31    pub bot_id: ::std::option::Option<::std::string::String>,
32    /// <p>The version of the bot associated with the intent.</p>
33    pub bot_version: ::std::option::Option<::std::string::String>,
34    /// <p>The locale that the intent is specified to use.</p>
35    pub locale_id: ::std::option::Option<::std::string::String>,
36    /// <p>A timestamp of the date and time that the intent was created.</p>
37    pub creation_date_time: ::std::option::Option<::aws_smithy_types::DateTime>,
38    /// <p>Configuration settings for the response that is sent to the user at the beginning of a conversation, before eliciting slot values.</p>
39    pub initial_response_setting: ::std::option::Option<crate::types::InitialResponseSetting>,
40    /// <p>Details about the the configuration of the built-in <code>Amazon.QnAIntent</code>.</p>
41    pub qn_a_intent_configuration: ::std::option::Option<crate::types::QnAIntentConfiguration>,
42    /// <p>Qinconnect intent configuration details for the create intent response.</p>
43    pub q_in_connect_intent_configuration: ::std::option::Option<crate::types::QInConnectIntentConfiguration>,
44    _request_id: Option<String>,
45}
46impl CreateIntentOutput {
47    /// <p>A unique identifier for the intent.</p>
48    pub fn intent_id(&self) -> ::std::option::Option<&str> {
49        self.intent_id.as_deref()
50    }
51    /// <p>The name specified for the intent.</p>
52    pub fn intent_name(&self) -> ::std::option::Option<&str> {
53        self.intent_name.as_deref()
54    }
55    /// <p>The description specified for the intent.</p>
56    pub fn description(&self) -> ::std::option::Option<&str> {
57        self.description.as_deref()
58    }
59    /// <p>The signature of the parent intent specified for the intent.</p>
60    pub fn parent_intent_signature(&self) -> ::std::option::Option<&str> {
61        self.parent_intent_signature.as_deref()
62    }
63    /// <p>The sample utterances specified for the intent.</p>
64    ///
65    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.sample_utterances.is_none()`.
66    pub fn sample_utterances(&self) -> &[crate::types::SampleUtterance] {
67        self.sample_utterances.as_deref().unwrap_or_default()
68    }
69    /// <p>The dialog Lambda function specified for the intent.</p>
70    pub fn dialog_code_hook(&self) -> ::std::option::Option<&crate::types::DialogCodeHookSettings> {
71        self.dialog_code_hook.as_ref()
72    }
73    /// <p>The fulfillment Lambda function specified for the intent.</p>
74    pub fn fulfillment_code_hook(&self) -> ::std::option::Option<&crate::types::FulfillmentCodeHookSettings> {
75        self.fulfillment_code_hook.as_ref()
76    }
77    /// <p>The confirmation setting specified for the intent.</p>
78    pub fn intent_confirmation_setting(&self) -> ::std::option::Option<&crate::types::IntentConfirmationSetting> {
79        self.intent_confirmation_setting.as_ref()
80    }
81    /// <p>The closing setting specified for the intent.</p>
82    pub fn intent_closing_setting(&self) -> ::std::option::Option<&crate::types::IntentClosingSetting> {
83        self.intent_closing_setting.as_ref()
84    }
85    /// <p>The list of input contexts specified for the intent.</p>
86    ///
87    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.input_contexts.is_none()`.
88    pub fn input_contexts(&self) -> &[crate::types::InputContext] {
89        self.input_contexts.as_deref().unwrap_or_default()
90    }
91    /// <p>The list of output contexts specified for the intent.</p>
92    ///
93    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.output_contexts.is_none()`.
94    pub fn output_contexts(&self) -> &[crate::types::OutputContext] {
95        self.output_contexts.as_deref().unwrap_or_default()
96    }
97    /// <p>Configuration for searching a Amazon Kendra index specified for the intent.</p>
98    pub fn kendra_configuration(&self) -> ::std::option::Option<&crate::types::KendraConfiguration> {
99        self.kendra_configuration.as_ref()
100    }
101    /// <p>The identifier of the bot associated with the intent.</p>
102    pub fn bot_id(&self) -> ::std::option::Option<&str> {
103        self.bot_id.as_deref()
104    }
105    /// <p>The version of the bot associated with the intent.</p>
106    pub fn bot_version(&self) -> ::std::option::Option<&str> {
107        self.bot_version.as_deref()
108    }
109    /// <p>The locale that the intent is specified to use.</p>
110    pub fn locale_id(&self) -> ::std::option::Option<&str> {
111        self.locale_id.as_deref()
112    }
113    /// <p>A timestamp of the date and time that the intent was created.</p>
114    pub fn creation_date_time(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
115        self.creation_date_time.as_ref()
116    }
117    /// <p>Configuration settings for the response that is sent to the user at the beginning of a conversation, before eliciting slot values.</p>
118    pub fn initial_response_setting(&self) -> ::std::option::Option<&crate::types::InitialResponseSetting> {
119        self.initial_response_setting.as_ref()
120    }
121    /// <p>Details about the the configuration of the built-in <code>Amazon.QnAIntent</code>.</p>
122    pub fn qn_a_intent_configuration(&self) -> ::std::option::Option<&crate::types::QnAIntentConfiguration> {
123        self.qn_a_intent_configuration.as_ref()
124    }
125    /// <p>Qinconnect intent configuration details for the create intent response.</p>
126    pub fn q_in_connect_intent_configuration(&self) -> ::std::option::Option<&crate::types::QInConnectIntentConfiguration> {
127        self.q_in_connect_intent_configuration.as_ref()
128    }
129}
130impl ::aws_types::request_id::RequestId for CreateIntentOutput {
131    fn request_id(&self) -> Option<&str> {
132        self._request_id.as_deref()
133    }
134}
135impl CreateIntentOutput {
136    /// Creates a new builder-style object to manufacture [`CreateIntentOutput`](crate::operation::create_intent::CreateIntentOutput).
137    pub fn builder() -> crate::operation::create_intent::builders::CreateIntentOutputBuilder {
138        crate::operation::create_intent::builders::CreateIntentOutputBuilder::default()
139    }
140}
141
142/// A builder for [`CreateIntentOutput`](crate::operation::create_intent::CreateIntentOutput).
143#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
144#[non_exhaustive]
145pub struct CreateIntentOutputBuilder {
146    pub(crate) intent_id: ::std::option::Option<::std::string::String>,
147    pub(crate) intent_name: ::std::option::Option<::std::string::String>,
148    pub(crate) description: ::std::option::Option<::std::string::String>,
149    pub(crate) parent_intent_signature: ::std::option::Option<::std::string::String>,
150    pub(crate) sample_utterances: ::std::option::Option<::std::vec::Vec<crate::types::SampleUtterance>>,
151    pub(crate) dialog_code_hook: ::std::option::Option<crate::types::DialogCodeHookSettings>,
152    pub(crate) fulfillment_code_hook: ::std::option::Option<crate::types::FulfillmentCodeHookSettings>,
153    pub(crate) intent_confirmation_setting: ::std::option::Option<crate::types::IntentConfirmationSetting>,
154    pub(crate) intent_closing_setting: ::std::option::Option<crate::types::IntentClosingSetting>,
155    pub(crate) input_contexts: ::std::option::Option<::std::vec::Vec<crate::types::InputContext>>,
156    pub(crate) output_contexts: ::std::option::Option<::std::vec::Vec<crate::types::OutputContext>>,
157    pub(crate) kendra_configuration: ::std::option::Option<crate::types::KendraConfiguration>,
158    pub(crate) bot_id: ::std::option::Option<::std::string::String>,
159    pub(crate) bot_version: ::std::option::Option<::std::string::String>,
160    pub(crate) locale_id: ::std::option::Option<::std::string::String>,
161    pub(crate) creation_date_time: ::std::option::Option<::aws_smithy_types::DateTime>,
162    pub(crate) initial_response_setting: ::std::option::Option<crate::types::InitialResponseSetting>,
163    pub(crate) qn_a_intent_configuration: ::std::option::Option<crate::types::QnAIntentConfiguration>,
164    pub(crate) q_in_connect_intent_configuration: ::std::option::Option<crate::types::QInConnectIntentConfiguration>,
165    _request_id: Option<String>,
166}
167impl CreateIntentOutputBuilder {
168    /// <p>A unique identifier for the intent.</p>
169    pub fn intent_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
170        self.intent_id = ::std::option::Option::Some(input.into());
171        self
172    }
173    /// <p>A unique identifier for the intent.</p>
174    pub fn set_intent_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
175        self.intent_id = input;
176        self
177    }
178    /// <p>A unique identifier for the intent.</p>
179    pub fn get_intent_id(&self) -> &::std::option::Option<::std::string::String> {
180        &self.intent_id
181    }
182    /// <p>The name specified for the intent.</p>
183    pub fn intent_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
184        self.intent_name = ::std::option::Option::Some(input.into());
185        self
186    }
187    /// <p>The name specified for the intent.</p>
188    pub fn set_intent_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
189        self.intent_name = input;
190        self
191    }
192    /// <p>The name specified for the intent.</p>
193    pub fn get_intent_name(&self) -> &::std::option::Option<::std::string::String> {
194        &self.intent_name
195    }
196    /// <p>The description specified for the intent.</p>
197    pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
198        self.description = ::std::option::Option::Some(input.into());
199        self
200    }
201    /// <p>The description specified for the intent.</p>
202    pub fn set_description(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
203        self.description = input;
204        self
205    }
206    /// <p>The description specified for the intent.</p>
207    pub fn get_description(&self) -> &::std::option::Option<::std::string::String> {
208        &self.description
209    }
210    /// <p>The signature of the parent intent specified for the intent.</p>
211    pub fn parent_intent_signature(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
212        self.parent_intent_signature = ::std::option::Option::Some(input.into());
213        self
214    }
215    /// <p>The signature of the parent intent specified for the intent.</p>
216    pub fn set_parent_intent_signature(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
217        self.parent_intent_signature = input;
218        self
219    }
220    /// <p>The signature of the parent intent specified for the intent.</p>
221    pub fn get_parent_intent_signature(&self) -> &::std::option::Option<::std::string::String> {
222        &self.parent_intent_signature
223    }
224    /// Appends an item to `sample_utterances`.
225    ///
226    /// To override the contents of this collection use [`set_sample_utterances`](Self::set_sample_utterances).
227    ///
228    /// <p>The sample utterances specified for the intent.</p>
229    pub fn sample_utterances(mut self, input: crate::types::SampleUtterance) -> Self {
230        let mut v = self.sample_utterances.unwrap_or_default();
231        v.push(input);
232        self.sample_utterances = ::std::option::Option::Some(v);
233        self
234    }
235    /// <p>The sample utterances specified for the intent.</p>
236    pub fn set_sample_utterances(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::SampleUtterance>>) -> Self {
237        self.sample_utterances = input;
238        self
239    }
240    /// <p>The sample utterances specified for the intent.</p>
241    pub fn get_sample_utterances(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::SampleUtterance>> {
242        &self.sample_utterances
243    }
244    /// <p>The dialog Lambda function specified for the intent.</p>
245    pub fn dialog_code_hook(mut self, input: crate::types::DialogCodeHookSettings) -> Self {
246        self.dialog_code_hook = ::std::option::Option::Some(input);
247        self
248    }
249    /// <p>The dialog Lambda function specified for the intent.</p>
250    pub fn set_dialog_code_hook(mut self, input: ::std::option::Option<crate::types::DialogCodeHookSettings>) -> Self {
251        self.dialog_code_hook = input;
252        self
253    }
254    /// <p>The dialog Lambda function specified for the intent.</p>
255    pub fn get_dialog_code_hook(&self) -> &::std::option::Option<crate::types::DialogCodeHookSettings> {
256        &self.dialog_code_hook
257    }
258    /// <p>The fulfillment Lambda function specified for the intent.</p>
259    pub fn fulfillment_code_hook(mut self, input: crate::types::FulfillmentCodeHookSettings) -> Self {
260        self.fulfillment_code_hook = ::std::option::Option::Some(input);
261        self
262    }
263    /// <p>The fulfillment Lambda function specified for the intent.</p>
264    pub fn set_fulfillment_code_hook(mut self, input: ::std::option::Option<crate::types::FulfillmentCodeHookSettings>) -> Self {
265        self.fulfillment_code_hook = input;
266        self
267    }
268    /// <p>The fulfillment Lambda function specified for the intent.</p>
269    pub fn get_fulfillment_code_hook(&self) -> &::std::option::Option<crate::types::FulfillmentCodeHookSettings> {
270        &self.fulfillment_code_hook
271    }
272    /// <p>The confirmation setting specified for the intent.</p>
273    pub fn intent_confirmation_setting(mut self, input: crate::types::IntentConfirmationSetting) -> Self {
274        self.intent_confirmation_setting = ::std::option::Option::Some(input);
275        self
276    }
277    /// <p>The confirmation setting specified for the intent.</p>
278    pub fn set_intent_confirmation_setting(mut self, input: ::std::option::Option<crate::types::IntentConfirmationSetting>) -> Self {
279        self.intent_confirmation_setting = input;
280        self
281    }
282    /// <p>The confirmation setting specified for the intent.</p>
283    pub fn get_intent_confirmation_setting(&self) -> &::std::option::Option<crate::types::IntentConfirmationSetting> {
284        &self.intent_confirmation_setting
285    }
286    /// <p>The closing setting specified for the intent.</p>
287    pub fn intent_closing_setting(mut self, input: crate::types::IntentClosingSetting) -> Self {
288        self.intent_closing_setting = ::std::option::Option::Some(input);
289        self
290    }
291    /// <p>The closing setting specified for the intent.</p>
292    pub fn set_intent_closing_setting(mut self, input: ::std::option::Option<crate::types::IntentClosingSetting>) -> Self {
293        self.intent_closing_setting = input;
294        self
295    }
296    /// <p>The closing setting specified for the intent.</p>
297    pub fn get_intent_closing_setting(&self) -> &::std::option::Option<crate::types::IntentClosingSetting> {
298        &self.intent_closing_setting
299    }
300    /// Appends an item to `input_contexts`.
301    ///
302    /// To override the contents of this collection use [`set_input_contexts`](Self::set_input_contexts).
303    ///
304    /// <p>The list of input contexts specified for the intent.</p>
305    pub fn input_contexts(mut self, input: crate::types::InputContext) -> Self {
306        let mut v = self.input_contexts.unwrap_or_default();
307        v.push(input);
308        self.input_contexts = ::std::option::Option::Some(v);
309        self
310    }
311    /// <p>The list of input contexts specified for the intent.</p>
312    pub fn set_input_contexts(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::InputContext>>) -> Self {
313        self.input_contexts = input;
314        self
315    }
316    /// <p>The list of input contexts specified for the intent.</p>
317    pub fn get_input_contexts(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::InputContext>> {
318        &self.input_contexts
319    }
320    /// Appends an item to `output_contexts`.
321    ///
322    /// To override the contents of this collection use [`set_output_contexts`](Self::set_output_contexts).
323    ///
324    /// <p>The list of output contexts specified for the intent.</p>
325    pub fn output_contexts(mut self, input: crate::types::OutputContext) -> Self {
326        let mut v = self.output_contexts.unwrap_or_default();
327        v.push(input);
328        self.output_contexts = ::std::option::Option::Some(v);
329        self
330    }
331    /// <p>The list of output contexts specified for the intent.</p>
332    pub fn set_output_contexts(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::OutputContext>>) -> Self {
333        self.output_contexts = input;
334        self
335    }
336    /// <p>The list of output contexts specified for the intent.</p>
337    pub fn get_output_contexts(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::OutputContext>> {
338        &self.output_contexts
339    }
340    /// <p>Configuration for searching a Amazon Kendra index specified for the intent.</p>
341    pub fn kendra_configuration(mut self, input: crate::types::KendraConfiguration) -> Self {
342        self.kendra_configuration = ::std::option::Option::Some(input);
343        self
344    }
345    /// <p>Configuration for searching a Amazon Kendra index specified for the intent.</p>
346    pub fn set_kendra_configuration(mut self, input: ::std::option::Option<crate::types::KendraConfiguration>) -> Self {
347        self.kendra_configuration = input;
348        self
349    }
350    /// <p>Configuration for searching a Amazon Kendra index specified for the intent.</p>
351    pub fn get_kendra_configuration(&self) -> &::std::option::Option<crate::types::KendraConfiguration> {
352        &self.kendra_configuration
353    }
354    /// <p>The identifier of the bot associated with the intent.</p>
355    pub fn bot_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
356        self.bot_id = ::std::option::Option::Some(input.into());
357        self
358    }
359    /// <p>The identifier of the bot associated with the intent.</p>
360    pub fn set_bot_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
361        self.bot_id = input;
362        self
363    }
364    /// <p>The identifier of the bot associated with the intent.</p>
365    pub fn get_bot_id(&self) -> &::std::option::Option<::std::string::String> {
366        &self.bot_id
367    }
368    /// <p>The version of the bot associated with the intent.</p>
369    pub fn bot_version(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
370        self.bot_version = ::std::option::Option::Some(input.into());
371        self
372    }
373    /// <p>The version of the bot associated with the intent.</p>
374    pub fn set_bot_version(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
375        self.bot_version = input;
376        self
377    }
378    /// <p>The version of the bot associated with the intent.</p>
379    pub fn get_bot_version(&self) -> &::std::option::Option<::std::string::String> {
380        &self.bot_version
381    }
382    /// <p>The locale that the intent is specified to use.</p>
383    pub fn locale_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
384        self.locale_id = ::std::option::Option::Some(input.into());
385        self
386    }
387    /// <p>The locale that the intent is specified to use.</p>
388    pub fn set_locale_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
389        self.locale_id = input;
390        self
391    }
392    /// <p>The locale that the intent is specified to use.</p>
393    pub fn get_locale_id(&self) -> &::std::option::Option<::std::string::String> {
394        &self.locale_id
395    }
396    /// <p>A timestamp of the date and time that the intent was created.</p>
397    pub fn creation_date_time(mut self, input: ::aws_smithy_types::DateTime) -> Self {
398        self.creation_date_time = ::std::option::Option::Some(input);
399        self
400    }
401    /// <p>A timestamp of the date and time that the intent was created.</p>
402    pub fn set_creation_date_time(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
403        self.creation_date_time = input;
404        self
405    }
406    /// <p>A timestamp of the date and time that the intent was created.</p>
407    pub fn get_creation_date_time(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
408        &self.creation_date_time
409    }
410    /// <p>Configuration settings for the response that is sent to the user at the beginning of a conversation, before eliciting slot values.</p>
411    pub fn initial_response_setting(mut self, input: crate::types::InitialResponseSetting) -> Self {
412        self.initial_response_setting = ::std::option::Option::Some(input);
413        self
414    }
415    /// <p>Configuration settings for the response that is sent to the user at the beginning of a conversation, before eliciting slot values.</p>
416    pub fn set_initial_response_setting(mut self, input: ::std::option::Option<crate::types::InitialResponseSetting>) -> Self {
417        self.initial_response_setting = input;
418        self
419    }
420    /// <p>Configuration settings for the response that is sent to the user at the beginning of a conversation, before eliciting slot values.</p>
421    pub fn get_initial_response_setting(&self) -> &::std::option::Option<crate::types::InitialResponseSetting> {
422        &self.initial_response_setting
423    }
424    /// <p>Details about the the configuration of the built-in <code>Amazon.QnAIntent</code>.</p>
425    pub fn qn_a_intent_configuration(mut self, input: crate::types::QnAIntentConfiguration) -> Self {
426        self.qn_a_intent_configuration = ::std::option::Option::Some(input);
427        self
428    }
429    /// <p>Details about the the configuration of the built-in <code>Amazon.QnAIntent</code>.</p>
430    pub fn set_qn_a_intent_configuration(mut self, input: ::std::option::Option<crate::types::QnAIntentConfiguration>) -> Self {
431        self.qn_a_intent_configuration = input;
432        self
433    }
434    /// <p>Details about the the configuration of the built-in <code>Amazon.QnAIntent</code>.</p>
435    pub fn get_qn_a_intent_configuration(&self) -> &::std::option::Option<crate::types::QnAIntentConfiguration> {
436        &self.qn_a_intent_configuration
437    }
438    /// <p>Qinconnect intent configuration details for the create intent response.</p>
439    pub fn q_in_connect_intent_configuration(mut self, input: crate::types::QInConnectIntentConfiguration) -> Self {
440        self.q_in_connect_intent_configuration = ::std::option::Option::Some(input);
441        self
442    }
443    /// <p>Qinconnect intent configuration details for the create intent response.</p>
444    pub fn set_q_in_connect_intent_configuration(mut self, input: ::std::option::Option<crate::types::QInConnectIntentConfiguration>) -> Self {
445        self.q_in_connect_intent_configuration = input;
446        self
447    }
448    /// <p>Qinconnect intent configuration details for the create intent response.</p>
449    pub fn get_q_in_connect_intent_configuration(&self) -> &::std::option::Option<crate::types::QInConnectIntentConfiguration> {
450        &self.q_in_connect_intent_configuration
451    }
452    pub(crate) fn _request_id(mut self, request_id: impl Into<String>) -> Self {
453        self._request_id = Some(request_id.into());
454        self
455    }
456
457    pub(crate) fn _set_request_id(&mut self, request_id: Option<String>) -> &mut Self {
458        self._request_id = request_id;
459        self
460    }
461    /// Consumes the builder and constructs a [`CreateIntentOutput`](crate::operation::create_intent::CreateIntentOutput).
462    pub fn build(self) -> crate::operation::create_intent::CreateIntentOutput {
463        crate::operation::create_intent::CreateIntentOutput {
464            intent_id: self.intent_id,
465            intent_name: self.intent_name,
466            description: self.description,
467            parent_intent_signature: self.parent_intent_signature,
468            sample_utterances: self.sample_utterances,
469            dialog_code_hook: self.dialog_code_hook,
470            fulfillment_code_hook: self.fulfillment_code_hook,
471            intent_confirmation_setting: self.intent_confirmation_setting,
472            intent_closing_setting: self.intent_closing_setting,
473            input_contexts: self.input_contexts,
474            output_contexts: self.output_contexts,
475            kendra_configuration: self.kendra_configuration,
476            bot_id: self.bot_id,
477            bot_version: self.bot_version,
478            locale_id: self.locale_id,
479            creation_date_time: self.creation_date_time,
480            initial_response_setting: self.initial_response_setting,
481            qn_a_intent_configuration: self.qn_a_intent_configuration,
482            q_in_connect_intent_configuration: self.q_in_connect_intent_configuration,
483            _request_id: self._request_id,
484        }
485    }
486}