aws_sdk_sagemaker/operation/describe_hub_content/
_describe_hub_content_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 DescribeHubContentOutput {
6    /// <p>The name of the hub content.</p>
7    pub hub_content_name: ::std::option::Option<::std::string::String>,
8    /// <p>The Amazon Resource Name (ARN) of the hub content.</p>
9    pub hub_content_arn: ::std::option::Option<::std::string::String>,
10    /// <p>The version of the hub content.</p>
11    pub hub_content_version: ::std::option::Option<::std::string::String>,
12    /// <p>The type of hub content.</p>
13    pub hub_content_type: ::std::option::Option<crate::types::HubContentType>,
14    /// <p>The document schema version for the hub content.</p>
15    pub document_schema_version: ::std::option::Option<::std::string::String>,
16    /// <p>The name of the hub that contains the content.</p>
17    pub hub_name: ::std::option::Option<::std::string::String>,
18    /// <p>The Amazon Resource Name (ARN) of the hub that contains the content.</p>
19    pub hub_arn: ::std::option::Option<::std::string::String>,
20    /// <p>The display name of the hub content.</p>
21    pub hub_content_display_name: ::std::option::Option<::std::string::String>,
22    /// <p>A description of the hub content.</p>
23    pub hub_content_description: ::std::option::Option<::std::string::String>,
24    /// <p>A string that provides a description of the hub content. This string can include links, tables, and standard markdown formating.</p>
25    pub hub_content_markdown: ::std::option::Option<::std::string::String>,
26    /// <p>The hub content document that describes information about the hub content such as type, associated containers, scripts, and more.</p>
27    pub hub_content_document: ::std::option::Option<::std::string::String>,
28    /// <p>The ARN of the public hub content.</p>
29    pub sage_maker_public_hub_content_arn: ::std::option::Option<::std::string::String>,
30    /// <p>The minimum version of the hub content.</p>
31    pub reference_min_version: ::std::option::Option<::std::string::String>,
32    /// <p>The support status of the hub content.</p>
33    pub support_status: ::std::option::Option<crate::types::HubContentSupportStatus>,
34    /// <p>The searchable keywords for the hub content.</p>
35    pub hub_content_search_keywords: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
36    /// <p>The location of any dependencies that the hub content has, such as scripts, model artifacts, datasets, or notebooks.</p>
37    pub hub_content_dependencies: ::std::option::Option<::std::vec::Vec<crate::types::HubContentDependency>>,
38    /// <p>The status of the hub content.</p>
39    pub hub_content_status: ::std::option::Option<crate::types::HubContentStatus>,
40    /// <p>The failure reason if importing hub content failed.</p>
41    pub failure_reason: ::std::option::Option<::std::string::String>,
42    /// <p>The date and time that hub content was created.</p>
43    pub creation_time: ::std::option::Option<::aws_smithy_types::DateTime>,
44    /// <p>The last modified time of the hub content.</p>
45    pub last_modified_time: ::std::option::Option<::aws_smithy_types::DateTime>,
46    _request_id: Option<String>,
47}
48impl DescribeHubContentOutput {
49    /// <p>The name of the hub content.</p>
50    pub fn hub_content_name(&self) -> ::std::option::Option<&str> {
51        self.hub_content_name.as_deref()
52    }
53    /// <p>The Amazon Resource Name (ARN) of the hub content.</p>
54    pub fn hub_content_arn(&self) -> ::std::option::Option<&str> {
55        self.hub_content_arn.as_deref()
56    }
57    /// <p>The version of the hub content.</p>
58    pub fn hub_content_version(&self) -> ::std::option::Option<&str> {
59        self.hub_content_version.as_deref()
60    }
61    /// <p>The type of hub content.</p>
62    pub fn hub_content_type(&self) -> ::std::option::Option<&crate::types::HubContentType> {
63        self.hub_content_type.as_ref()
64    }
65    /// <p>The document schema version for the hub content.</p>
66    pub fn document_schema_version(&self) -> ::std::option::Option<&str> {
67        self.document_schema_version.as_deref()
68    }
69    /// <p>The name of the hub that contains the content.</p>
70    pub fn hub_name(&self) -> ::std::option::Option<&str> {
71        self.hub_name.as_deref()
72    }
73    /// <p>The Amazon Resource Name (ARN) of the hub that contains the content.</p>
74    pub fn hub_arn(&self) -> ::std::option::Option<&str> {
75        self.hub_arn.as_deref()
76    }
77    /// <p>The display name of the hub content.</p>
78    pub fn hub_content_display_name(&self) -> ::std::option::Option<&str> {
79        self.hub_content_display_name.as_deref()
80    }
81    /// <p>A description of the hub content.</p>
82    pub fn hub_content_description(&self) -> ::std::option::Option<&str> {
83        self.hub_content_description.as_deref()
84    }
85    /// <p>A string that provides a description of the hub content. This string can include links, tables, and standard markdown formating.</p>
86    pub fn hub_content_markdown(&self) -> ::std::option::Option<&str> {
87        self.hub_content_markdown.as_deref()
88    }
89    /// <p>The hub content document that describes information about the hub content such as type, associated containers, scripts, and more.</p>
90    pub fn hub_content_document(&self) -> ::std::option::Option<&str> {
91        self.hub_content_document.as_deref()
92    }
93    /// <p>The ARN of the public hub content.</p>
94    pub fn sage_maker_public_hub_content_arn(&self) -> ::std::option::Option<&str> {
95        self.sage_maker_public_hub_content_arn.as_deref()
96    }
97    /// <p>The minimum version of the hub content.</p>
98    pub fn reference_min_version(&self) -> ::std::option::Option<&str> {
99        self.reference_min_version.as_deref()
100    }
101    /// <p>The support status of the hub content.</p>
102    pub fn support_status(&self) -> ::std::option::Option<&crate::types::HubContentSupportStatus> {
103        self.support_status.as_ref()
104    }
105    /// <p>The searchable keywords for the hub content.</p>
106    ///
107    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.hub_content_search_keywords.is_none()`.
108    pub fn hub_content_search_keywords(&self) -> &[::std::string::String] {
109        self.hub_content_search_keywords.as_deref().unwrap_or_default()
110    }
111    /// <p>The location of any dependencies that the hub content has, such as scripts, model artifacts, datasets, or notebooks.</p>
112    ///
113    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.hub_content_dependencies.is_none()`.
114    pub fn hub_content_dependencies(&self) -> &[crate::types::HubContentDependency] {
115        self.hub_content_dependencies.as_deref().unwrap_or_default()
116    }
117    /// <p>The status of the hub content.</p>
118    pub fn hub_content_status(&self) -> ::std::option::Option<&crate::types::HubContentStatus> {
119        self.hub_content_status.as_ref()
120    }
121    /// <p>The failure reason if importing hub content failed.</p>
122    pub fn failure_reason(&self) -> ::std::option::Option<&str> {
123        self.failure_reason.as_deref()
124    }
125    /// <p>The date and time that hub content was created.</p>
126    pub fn creation_time(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
127        self.creation_time.as_ref()
128    }
129    /// <p>The last modified time of the hub content.</p>
130    pub fn last_modified_time(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
131        self.last_modified_time.as_ref()
132    }
133}
134impl ::aws_types::request_id::RequestId for DescribeHubContentOutput {
135    fn request_id(&self) -> Option<&str> {
136        self._request_id.as_deref()
137    }
138}
139impl DescribeHubContentOutput {
140    /// Creates a new builder-style object to manufacture [`DescribeHubContentOutput`](crate::operation::describe_hub_content::DescribeHubContentOutput).
141    pub fn builder() -> crate::operation::describe_hub_content::builders::DescribeHubContentOutputBuilder {
142        crate::operation::describe_hub_content::builders::DescribeHubContentOutputBuilder::default()
143    }
144}
145
146/// A builder for [`DescribeHubContentOutput`](crate::operation::describe_hub_content::DescribeHubContentOutput).
147#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
148#[non_exhaustive]
149pub struct DescribeHubContentOutputBuilder {
150    pub(crate) hub_content_name: ::std::option::Option<::std::string::String>,
151    pub(crate) hub_content_arn: ::std::option::Option<::std::string::String>,
152    pub(crate) hub_content_version: ::std::option::Option<::std::string::String>,
153    pub(crate) hub_content_type: ::std::option::Option<crate::types::HubContentType>,
154    pub(crate) document_schema_version: ::std::option::Option<::std::string::String>,
155    pub(crate) hub_name: ::std::option::Option<::std::string::String>,
156    pub(crate) hub_arn: ::std::option::Option<::std::string::String>,
157    pub(crate) hub_content_display_name: ::std::option::Option<::std::string::String>,
158    pub(crate) hub_content_description: ::std::option::Option<::std::string::String>,
159    pub(crate) hub_content_markdown: ::std::option::Option<::std::string::String>,
160    pub(crate) hub_content_document: ::std::option::Option<::std::string::String>,
161    pub(crate) sage_maker_public_hub_content_arn: ::std::option::Option<::std::string::String>,
162    pub(crate) reference_min_version: ::std::option::Option<::std::string::String>,
163    pub(crate) support_status: ::std::option::Option<crate::types::HubContentSupportStatus>,
164    pub(crate) hub_content_search_keywords: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
165    pub(crate) hub_content_dependencies: ::std::option::Option<::std::vec::Vec<crate::types::HubContentDependency>>,
166    pub(crate) hub_content_status: ::std::option::Option<crate::types::HubContentStatus>,
167    pub(crate) failure_reason: ::std::option::Option<::std::string::String>,
168    pub(crate) creation_time: ::std::option::Option<::aws_smithy_types::DateTime>,
169    pub(crate) last_modified_time: ::std::option::Option<::aws_smithy_types::DateTime>,
170    _request_id: Option<String>,
171}
172impl DescribeHubContentOutputBuilder {
173    /// <p>The name of the hub content.</p>
174    /// This field is required.
175    pub fn hub_content_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
176        self.hub_content_name = ::std::option::Option::Some(input.into());
177        self
178    }
179    /// <p>The name of the hub content.</p>
180    pub fn set_hub_content_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
181        self.hub_content_name = input;
182        self
183    }
184    /// <p>The name of the hub content.</p>
185    pub fn get_hub_content_name(&self) -> &::std::option::Option<::std::string::String> {
186        &self.hub_content_name
187    }
188    /// <p>The Amazon Resource Name (ARN) of the hub content.</p>
189    /// This field is required.
190    pub fn hub_content_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
191        self.hub_content_arn = ::std::option::Option::Some(input.into());
192        self
193    }
194    /// <p>The Amazon Resource Name (ARN) of the hub content.</p>
195    pub fn set_hub_content_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
196        self.hub_content_arn = input;
197        self
198    }
199    /// <p>The Amazon Resource Name (ARN) of the hub content.</p>
200    pub fn get_hub_content_arn(&self) -> &::std::option::Option<::std::string::String> {
201        &self.hub_content_arn
202    }
203    /// <p>The version of the hub content.</p>
204    /// This field is required.
205    pub fn hub_content_version(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
206        self.hub_content_version = ::std::option::Option::Some(input.into());
207        self
208    }
209    /// <p>The version of the hub content.</p>
210    pub fn set_hub_content_version(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
211        self.hub_content_version = input;
212        self
213    }
214    /// <p>The version of the hub content.</p>
215    pub fn get_hub_content_version(&self) -> &::std::option::Option<::std::string::String> {
216        &self.hub_content_version
217    }
218    /// <p>The type of hub content.</p>
219    /// This field is required.
220    pub fn hub_content_type(mut self, input: crate::types::HubContentType) -> Self {
221        self.hub_content_type = ::std::option::Option::Some(input);
222        self
223    }
224    /// <p>The type of hub content.</p>
225    pub fn set_hub_content_type(mut self, input: ::std::option::Option<crate::types::HubContentType>) -> Self {
226        self.hub_content_type = input;
227        self
228    }
229    /// <p>The type of hub content.</p>
230    pub fn get_hub_content_type(&self) -> &::std::option::Option<crate::types::HubContentType> {
231        &self.hub_content_type
232    }
233    /// <p>The document schema version for the hub content.</p>
234    /// This field is required.
235    pub fn document_schema_version(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
236        self.document_schema_version = ::std::option::Option::Some(input.into());
237        self
238    }
239    /// <p>The document schema version for the hub content.</p>
240    pub fn set_document_schema_version(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
241        self.document_schema_version = input;
242        self
243    }
244    /// <p>The document schema version for the hub content.</p>
245    pub fn get_document_schema_version(&self) -> &::std::option::Option<::std::string::String> {
246        &self.document_schema_version
247    }
248    /// <p>The name of the hub that contains the content.</p>
249    /// This field is required.
250    pub fn hub_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
251        self.hub_name = ::std::option::Option::Some(input.into());
252        self
253    }
254    /// <p>The name of the hub that contains the content.</p>
255    pub fn set_hub_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
256        self.hub_name = input;
257        self
258    }
259    /// <p>The name of the hub that contains the content.</p>
260    pub fn get_hub_name(&self) -> &::std::option::Option<::std::string::String> {
261        &self.hub_name
262    }
263    /// <p>The Amazon Resource Name (ARN) of the hub that contains the content.</p>
264    /// This field is required.
265    pub fn hub_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
266        self.hub_arn = ::std::option::Option::Some(input.into());
267        self
268    }
269    /// <p>The Amazon Resource Name (ARN) of the hub that contains the content.</p>
270    pub fn set_hub_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
271        self.hub_arn = input;
272        self
273    }
274    /// <p>The Amazon Resource Name (ARN) of the hub that contains the content.</p>
275    pub fn get_hub_arn(&self) -> &::std::option::Option<::std::string::String> {
276        &self.hub_arn
277    }
278    /// <p>The display name of the hub content.</p>
279    pub fn hub_content_display_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
280        self.hub_content_display_name = ::std::option::Option::Some(input.into());
281        self
282    }
283    /// <p>The display name of the hub content.</p>
284    pub fn set_hub_content_display_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
285        self.hub_content_display_name = input;
286        self
287    }
288    /// <p>The display name of the hub content.</p>
289    pub fn get_hub_content_display_name(&self) -> &::std::option::Option<::std::string::String> {
290        &self.hub_content_display_name
291    }
292    /// <p>A description of the hub content.</p>
293    pub fn hub_content_description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
294        self.hub_content_description = ::std::option::Option::Some(input.into());
295        self
296    }
297    /// <p>A description of the hub content.</p>
298    pub fn set_hub_content_description(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
299        self.hub_content_description = input;
300        self
301    }
302    /// <p>A description of the hub content.</p>
303    pub fn get_hub_content_description(&self) -> &::std::option::Option<::std::string::String> {
304        &self.hub_content_description
305    }
306    /// <p>A string that provides a description of the hub content. This string can include links, tables, and standard markdown formating.</p>
307    pub fn hub_content_markdown(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
308        self.hub_content_markdown = ::std::option::Option::Some(input.into());
309        self
310    }
311    /// <p>A string that provides a description of the hub content. This string can include links, tables, and standard markdown formating.</p>
312    pub fn set_hub_content_markdown(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
313        self.hub_content_markdown = input;
314        self
315    }
316    /// <p>A string that provides a description of the hub content. This string can include links, tables, and standard markdown formating.</p>
317    pub fn get_hub_content_markdown(&self) -> &::std::option::Option<::std::string::String> {
318        &self.hub_content_markdown
319    }
320    /// <p>The hub content document that describes information about the hub content such as type, associated containers, scripts, and more.</p>
321    /// This field is required.
322    pub fn hub_content_document(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
323        self.hub_content_document = ::std::option::Option::Some(input.into());
324        self
325    }
326    /// <p>The hub content document that describes information about the hub content such as type, associated containers, scripts, and more.</p>
327    pub fn set_hub_content_document(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
328        self.hub_content_document = input;
329        self
330    }
331    /// <p>The hub content document that describes information about the hub content such as type, associated containers, scripts, and more.</p>
332    pub fn get_hub_content_document(&self) -> &::std::option::Option<::std::string::String> {
333        &self.hub_content_document
334    }
335    /// <p>The ARN of the public hub content.</p>
336    pub fn sage_maker_public_hub_content_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
337        self.sage_maker_public_hub_content_arn = ::std::option::Option::Some(input.into());
338        self
339    }
340    /// <p>The ARN of the public hub content.</p>
341    pub fn set_sage_maker_public_hub_content_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
342        self.sage_maker_public_hub_content_arn = input;
343        self
344    }
345    /// <p>The ARN of the public hub content.</p>
346    pub fn get_sage_maker_public_hub_content_arn(&self) -> &::std::option::Option<::std::string::String> {
347        &self.sage_maker_public_hub_content_arn
348    }
349    /// <p>The minimum version of the hub content.</p>
350    pub fn reference_min_version(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
351        self.reference_min_version = ::std::option::Option::Some(input.into());
352        self
353    }
354    /// <p>The minimum version of the hub content.</p>
355    pub fn set_reference_min_version(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
356        self.reference_min_version = input;
357        self
358    }
359    /// <p>The minimum version of the hub content.</p>
360    pub fn get_reference_min_version(&self) -> &::std::option::Option<::std::string::String> {
361        &self.reference_min_version
362    }
363    /// <p>The support status of the hub content.</p>
364    pub fn support_status(mut self, input: crate::types::HubContentSupportStatus) -> Self {
365        self.support_status = ::std::option::Option::Some(input);
366        self
367    }
368    /// <p>The support status of the hub content.</p>
369    pub fn set_support_status(mut self, input: ::std::option::Option<crate::types::HubContentSupportStatus>) -> Self {
370        self.support_status = input;
371        self
372    }
373    /// <p>The support status of the hub content.</p>
374    pub fn get_support_status(&self) -> &::std::option::Option<crate::types::HubContentSupportStatus> {
375        &self.support_status
376    }
377    /// Appends an item to `hub_content_search_keywords`.
378    ///
379    /// To override the contents of this collection use [`set_hub_content_search_keywords`](Self::set_hub_content_search_keywords).
380    ///
381    /// <p>The searchable keywords for the hub content.</p>
382    pub fn hub_content_search_keywords(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
383        let mut v = self.hub_content_search_keywords.unwrap_or_default();
384        v.push(input.into());
385        self.hub_content_search_keywords = ::std::option::Option::Some(v);
386        self
387    }
388    /// <p>The searchable keywords for the hub content.</p>
389    pub fn set_hub_content_search_keywords(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
390        self.hub_content_search_keywords = input;
391        self
392    }
393    /// <p>The searchable keywords for the hub content.</p>
394    pub fn get_hub_content_search_keywords(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
395        &self.hub_content_search_keywords
396    }
397    /// Appends an item to `hub_content_dependencies`.
398    ///
399    /// To override the contents of this collection use [`set_hub_content_dependencies`](Self::set_hub_content_dependencies).
400    ///
401    /// <p>The location of any dependencies that the hub content has, such as scripts, model artifacts, datasets, or notebooks.</p>
402    pub fn hub_content_dependencies(mut self, input: crate::types::HubContentDependency) -> Self {
403        let mut v = self.hub_content_dependencies.unwrap_or_default();
404        v.push(input);
405        self.hub_content_dependencies = ::std::option::Option::Some(v);
406        self
407    }
408    /// <p>The location of any dependencies that the hub content has, such as scripts, model artifacts, datasets, or notebooks.</p>
409    pub fn set_hub_content_dependencies(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::HubContentDependency>>) -> Self {
410        self.hub_content_dependencies = input;
411        self
412    }
413    /// <p>The location of any dependencies that the hub content has, such as scripts, model artifacts, datasets, or notebooks.</p>
414    pub fn get_hub_content_dependencies(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::HubContentDependency>> {
415        &self.hub_content_dependencies
416    }
417    /// <p>The status of the hub content.</p>
418    /// This field is required.
419    pub fn hub_content_status(mut self, input: crate::types::HubContentStatus) -> Self {
420        self.hub_content_status = ::std::option::Option::Some(input);
421        self
422    }
423    /// <p>The status of the hub content.</p>
424    pub fn set_hub_content_status(mut self, input: ::std::option::Option<crate::types::HubContentStatus>) -> Self {
425        self.hub_content_status = input;
426        self
427    }
428    /// <p>The status of the hub content.</p>
429    pub fn get_hub_content_status(&self) -> &::std::option::Option<crate::types::HubContentStatus> {
430        &self.hub_content_status
431    }
432    /// <p>The failure reason if importing hub content failed.</p>
433    pub fn failure_reason(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
434        self.failure_reason = ::std::option::Option::Some(input.into());
435        self
436    }
437    /// <p>The failure reason if importing hub content failed.</p>
438    pub fn set_failure_reason(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
439        self.failure_reason = input;
440        self
441    }
442    /// <p>The failure reason if importing hub content failed.</p>
443    pub fn get_failure_reason(&self) -> &::std::option::Option<::std::string::String> {
444        &self.failure_reason
445    }
446    /// <p>The date and time that hub content was created.</p>
447    /// This field is required.
448    pub fn creation_time(mut self, input: ::aws_smithy_types::DateTime) -> Self {
449        self.creation_time = ::std::option::Option::Some(input);
450        self
451    }
452    /// <p>The date and time that hub content was created.</p>
453    pub fn set_creation_time(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
454        self.creation_time = input;
455        self
456    }
457    /// <p>The date and time that hub content was created.</p>
458    pub fn get_creation_time(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
459        &self.creation_time
460    }
461    /// <p>The last modified time of the hub content.</p>
462    pub fn last_modified_time(mut self, input: ::aws_smithy_types::DateTime) -> Self {
463        self.last_modified_time = ::std::option::Option::Some(input);
464        self
465    }
466    /// <p>The last modified time of the hub content.</p>
467    pub fn set_last_modified_time(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
468        self.last_modified_time = input;
469        self
470    }
471    /// <p>The last modified time of the hub content.</p>
472    pub fn get_last_modified_time(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
473        &self.last_modified_time
474    }
475    pub(crate) fn _request_id(mut self, request_id: impl Into<String>) -> Self {
476        self._request_id = Some(request_id.into());
477        self
478    }
479
480    pub(crate) fn _set_request_id(&mut self, request_id: Option<String>) -> &mut Self {
481        self._request_id = request_id;
482        self
483    }
484    /// Consumes the builder and constructs a [`DescribeHubContentOutput`](crate::operation::describe_hub_content::DescribeHubContentOutput).
485    pub fn build(self) -> crate::operation::describe_hub_content::DescribeHubContentOutput {
486        crate::operation::describe_hub_content::DescribeHubContentOutput {
487            hub_content_name: self.hub_content_name,
488            hub_content_arn: self.hub_content_arn,
489            hub_content_version: self.hub_content_version,
490            hub_content_type: self.hub_content_type,
491            document_schema_version: self.document_schema_version,
492            hub_name: self.hub_name,
493            hub_arn: self.hub_arn,
494            hub_content_display_name: self.hub_content_display_name,
495            hub_content_description: self.hub_content_description,
496            hub_content_markdown: self.hub_content_markdown,
497            hub_content_document: self.hub_content_document,
498            sage_maker_public_hub_content_arn: self.sage_maker_public_hub_content_arn,
499            reference_min_version: self.reference_min_version,
500            support_status: self.support_status,
501            hub_content_search_keywords: self.hub_content_search_keywords,
502            hub_content_dependencies: self.hub_content_dependencies,
503            hub_content_status: self.hub_content_status,
504            failure_reason: self.failure_reason,
505            creation_time: self.creation_time,
506            last_modified_time: self.last_modified_time,
507            _request_id: self._request_id,
508        }
509    }
510}