1#[allow(missing_docs)] #[non_exhaustive]
4#[derive(::std::clone::Clone, ::std::cmp::PartialEq)]
5pub struct GetSpaceOutput {
6 pub space_id: ::std::string::String,
8 pub arn: ::std::string::String,
10 pub name: ::std::string::String,
12 pub status: ::std::string::String,
14 pub configuration_status: crate::types::ConfigurationStatus,
16 pub client_id: ::std::string::String,
18 pub identity_store_id: ::std::option::Option<::std::string::String>,
20 pub application_arn: ::std::option::Option<::std::string::String>,
22 pub description: ::std::option::Option<::std::string::String>,
24 pub vanity_domain_status: crate::types::VanityDomainStatus,
26 pub vanity_domain: ::std::string::String,
28 pub random_domain: ::std::string::String,
30 pub customer_role_arn: ::std::option::Option<::std::string::String>,
32 pub create_date_time: ::aws_smithy_types::DateTime,
34 pub delete_date_time: ::std::option::Option<::aws_smithy_types::DateTime>,
36 pub tier: crate::types::TierLevel,
38 pub storage_limit: i64,
40 #[deprecated(note = "This property has been depracted and will be replaced by the roles property.")]
42 pub user_admins: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
43 #[deprecated(note = "This property has been depracted and will be replaced by the roles property.")]
45 pub group_admins: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
46 pub roles: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::vec::Vec<crate::types::Role>>>,
48 pub user_kms_key: ::std::option::Option<::std::string::String>,
50 pub user_count: ::std::option::Option<i32>,
52 pub content_size: ::std::option::Option<i64>,
54 pub supported_email_domains: ::std::option::Option<crate::types::SupportedEmailDomainsStatus>,
56 _request_id: Option<String>,
57}
58impl GetSpaceOutput {
59 pub fn space_id(&self) -> &str {
61 use std::ops::Deref;
62 self.space_id.deref()
63 }
64 pub fn arn(&self) -> &str {
66 use std::ops::Deref;
67 self.arn.deref()
68 }
69 pub fn name(&self) -> &str {
71 use std::ops::Deref;
72 self.name.deref()
73 }
74 pub fn status(&self) -> &str {
76 use std::ops::Deref;
77 self.status.deref()
78 }
79 pub fn configuration_status(&self) -> &crate::types::ConfigurationStatus {
81 &self.configuration_status
82 }
83 pub fn client_id(&self) -> &str {
85 use std::ops::Deref;
86 self.client_id.deref()
87 }
88 pub fn identity_store_id(&self) -> ::std::option::Option<&str> {
90 self.identity_store_id.as_deref()
91 }
92 pub fn application_arn(&self) -> ::std::option::Option<&str> {
94 self.application_arn.as_deref()
95 }
96 pub fn description(&self) -> ::std::option::Option<&str> {
98 self.description.as_deref()
99 }
100 pub fn vanity_domain_status(&self) -> &crate::types::VanityDomainStatus {
102 &self.vanity_domain_status
103 }
104 pub fn vanity_domain(&self) -> &str {
106 use std::ops::Deref;
107 self.vanity_domain.deref()
108 }
109 pub fn random_domain(&self) -> &str {
111 use std::ops::Deref;
112 self.random_domain.deref()
113 }
114 pub fn customer_role_arn(&self) -> ::std::option::Option<&str> {
116 self.customer_role_arn.as_deref()
117 }
118 pub fn create_date_time(&self) -> &::aws_smithy_types::DateTime {
120 &self.create_date_time
121 }
122 pub fn delete_date_time(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
124 self.delete_date_time.as_ref()
125 }
126 pub fn tier(&self) -> &crate::types::TierLevel {
128 &self.tier
129 }
130 pub fn storage_limit(&self) -> i64 {
132 self.storage_limit
133 }
134 #[deprecated(note = "This property has been depracted and will be replaced by the roles property.")]
138 pub fn user_admins(&self) -> &[::std::string::String] {
139 self.user_admins.as_deref().unwrap_or_default()
140 }
141 #[deprecated(note = "This property has been depracted and will be replaced by the roles property.")]
145 pub fn group_admins(&self) -> &[::std::string::String] {
146 self.group_admins.as_deref().unwrap_or_default()
147 }
148 pub fn roles(&self) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, ::std::vec::Vec<crate::types::Role>>> {
150 self.roles.as_ref()
151 }
152 pub fn user_kms_key(&self) -> ::std::option::Option<&str> {
154 self.user_kms_key.as_deref()
155 }
156 pub fn user_count(&self) -> ::std::option::Option<i32> {
158 self.user_count
159 }
160 pub fn content_size(&self) -> ::std::option::Option<i64> {
162 self.content_size
163 }
164 pub fn supported_email_domains(&self) -> ::std::option::Option<&crate::types::SupportedEmailDomainsStatus> {
166 self.supported_email_domains.as_ref()
167 }
168}
169impl ::std::fmt::Debug for GetSpaceOutput {
170 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
171 let mut formatter = f.debug_struct("GetSpaceOutput");
172 formatter.field("space_id", &self.space_id);
173 formatter.field("arn", &self.arn);
174 formatter.field("name", &"*** Sensitive Data Redacted ***");
175 formatter.field("status", &self.status);
176 formatter.field("configuration_status", &self.configuration_status);
177 formatter.field("client_id", &self.client_id);
178 formatter.field("identity_store_id", &self.identity_store_id);
179 formatter.field("application_arn", &self.application_arn);
180 formatter.field("description", &"*** Sensitive Data Redacted ***");
181 formatter.field("vanity_domain_status", &self.vanity_domain_status);
182 formatter.field("vanity_domain", &self.vanity_domain);
183 formatter.field("random_domain", &self.random_domain);
184 formatter.field("customer_role_arn", &self.customer_role_arn);
185 formatter.field("create_date_time", &self.create_date_time);
186 formatter.field("delete_date_time", &self.delete_date_time);
187 formatter.field("tier", &self.tier);
188 formatter.field("storage_limit", &self.storage_limit);
189 formatter.field("user_admins", &self.user_admins);
190 formatter.field("group_admins", &self.group_admins);
191 formatter.field("roles", &self.roles);
192 formatter.field("user_kms_key", &self.user_kms_key);
193 formatter.field("user_count", &self.user_count);
194 formatter.field("content_size", &self.content_size);
195 formatter.field("supported_email_domains", &self.supported_email_domains);
196 formatter.field("_request_id", &self._request_id);
197 formatter.finish()
198 }
199}
200impl ::aws_types::request_id::RequestId for GetSpaceOutput {
201 fn request_id(&self) -> Option<&str> {
202 self._request_id.as_deref()
203 }
204}
205impl GetSpaceOutput {
206 pub fn builder() -> crate::operation::get_space::builders::GetSpaceOutputBuilder {
208 crate::operation::get_space::builders::GetSpaceOutputBuilder::default()
209 }
210}
211
212#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default)]
214#[non_exhaustive]
215pub struct GetSpaceOutputBuilder {
216 pub(crate) space_id: ::std::option::Option<::std::string::String>,
217 pub(crate) arn: ::std::option::Option<::std::string::String>,
218 pub(crate) name: ::std::option::Option<::std::string::String>,
219 pub(crate) status: ::std::option::Option<::std::string::String>,
220 pub(crate) configuration_status: ::std::option::Option<crate::types::ConfigurationStatus>,
221 pub(crate) client_id: ::std::option::Option<::std::string::String>,
222 pub(crate) identity_store_id: ::std::option::Option<::std::string::String>,
223 pub(crate) application_arn: ::std::option::Option<::std::string::String>,
224 pub(crate) description: ::std::option::Option<::std::string::String>,
225 pub(crate) vanity_domain_status: ::std::option::Option<crate::types::VanityDomainStatus>,
226 pub(crate) vanity_domain: ::std::option::Option<::std::string::String>,
227 pub(crate) random_domain: ::std::option::Option<::std::string::String>,
228 pub(crate) customer_role_arn: ::std::option::Option<::std::string::String>,
229 pub(crate) create_date_time: ::std::option::Option<::aws_smithy_types::DateTime>,
230 pub(crate) delete_date_time: ::std::option::Option<::aws_smithy_types::DateTime>,
231 pub(crate) tier: ::std::option::Option<crate::types::TierLevel>,
232 pub(crate) storage_limit: ::std::option::Option<i64>,
233 pub(crate) user_admins: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
234 pub(crate) group_admins: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
235 pub(crate) roles: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::vec::Vec<crate::types::Role>>>,
236 pub(crate) user_kms_key: ::std::option::Option<::std::string::String>,
237 pub(crate) user_count: ::std::option::Option<i32>,
238 pub(crate) content_size: ::std::option::Option<i64>,
239 pub(crate) supported_email_domains: ::std::option::Option<crate::types::SupportedEmailDomainsStatus>,
240 _request_id: Option<String>,
241}
242impl GetSpaceOutputBuilder {
243 pub fn space_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
246 self.space_id = ::std::option::Option::Some(input.into());
247 self
248 }
249 pub fn set_space_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
251 self.space_id = input;
252 self
253 }
254 pub fn get_space_id(&self) -> &::std::option::Option<::std::string::String> {
256 &self.space_id
257 }
258 pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
261 self.arn = ::std::option::Option::Some(input.into());
262 self
263 }
264 pub fn set_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
266 self.arn = input;
267 self
268 }
269 pub fn get_arn(&self) -> &::std::option::Option<::std::string::String> {
271 &self.arn
272 }
273 pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
276 self.name = ::std::option::Option::Some(input.into());
277 self
278 }
279 pub fn set_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
281 self.name = input;
282 self
283 }
284 pub fn get_name(&self) -> &::std::option::Option<::std::string::String> {
286 &self.name
287 }
288 pub fn status(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
291 self.status = ::std::option::Option::Some(input.into());
292 self
293 }
294 pub fn set_status(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
296 self.status = input;
297 self
298 }
299 pub fn get_status(&self) -> &::std::option::Option<::std::string::String> {
301 &self.status
302 }
303 pub fn configuration_status(mut self, input: crate::types::ConfigurationStatus) -> Self {
306 self.configuration_status = ::std::option::Option::Some(input);
307 self
308 }
309 pub fn set_configuration_status(mut self, input: ::std::option::Option<crate::types::ConfigurationStatus>) -> Self {
311 self.configuration_status = input;
312 self
313 }
314 pub fn get_configuration_status(&self) -> &::std::option::Option<crate::types::ConfigurationStatus> {
316 &self.configuration_status
317 }
318 pub fn client_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
321 self.client_id = ::std::option::Option::Some(input.into());
322 self
323 }
324 pub fn set_client_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
326 self.client_id = input;
327 self
328 }
329 pub fn get_client_id(&self) -> &::std::option::Option<::std::string::String> {
331 &self.client_id
332 }
333 pub fn identity_store_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
335 self.identity_store_id = ::std::option::Option::Some(input.into());
336 self
337 }
338 pub fn set_identity_store_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
340 self.identity_store_id = input;
341 self
342 }
343 pub fn get_identity_store_id(&self) -> &::std::option::Option<::std::string::String> {
345 &self.identity_store_id
346 }
347 pub fn application_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
349 self.application_arn = ::std::option::Option::Some(input.into());
350 self
351 }
352 pub fn set_application_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
354 self.application_arn = input;
355 self
356 }
357 pub fn get_application_arn(&self) -> &::std::option::Option<::std::string::String> {
359 &self.application_arn
360 }
361 pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
363 self.description = ::std::option::Option::Some(input.into());
364 self
365 }
366 pub fn set_description(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
368 self.description = input;
369 self
370 }
371 pub fn get_description(&self) -> &::std::option::Option<::std::string::String> {
373 &self.description
374 }
375 pub fn vanity_domain_status(mut self, input: crate::types::VanityDomainStatus) -> Self {
378 self.vanity_domain_status = ::std::option::Option::Some(input);
379 self
380 }
381 pub fn set_vanity_domain_status(mut self, input: ::std::option::Option<crate::types::VanityDomainStatus>) -> Self {
383 self.vanity_domain_status = input;
384 self
385 }
386 pub fn get_vanity_domain_status(&self) -> &::std::option::Option<crate::types::VanityDomainStatus> {
388 &self.vanity_domain_status
389 }
390 pub fn vanity_domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
393 self.vanity_domain = ::std::option::Option::Some(input.into());
394 self
395 }
396 pub fn set_vanity_domain(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
398 self.vanity_domain = input;
399 self
400 }
401 pub fn get_vanity_domain(&self) -> &::std::option::Option<::std::string::String> {
403 &self.vanity_domain
404 }
405 pub fn random_domain(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
408 self.random_domain = ::std::option::Option::Some(input.into());
409 self
410 }
411 pub fn set_random_domain(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
413 self.random_domain = input;
414 self
415 }
416 pub fn get_random_domain(&self) -> &::std::option::Option<::std::string::String> {
418 &self.random_domain
419 }
420 pub fn customer_role_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
422 self.customer_role_arn = ::std::option::Option::Some(input.into());
423 self
424 }
425 pub fn set_customer_role_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
427 self.customer_role_arn = input;
428 self
429 }
430 pub fn get_customer_role_arn(&self) -> &::std::option::Option<::std::string::String> {
432 &self.customer_role_arn
433 }
434 pub fn create_date_time(mut self, input: ::aws_smithy_types::DateTime) -> Self {
437 self.create_date_time = ::std::option::Option::Some(input);
438 self
439 }
440 pub fn set_create_date_time(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
442 self.create_date_time = input;
443 self
444 }
445 pub fn get_create_date_time(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
447 &self.create_date_time
448 }
449 pub fn delete_date_time(mut self, input: ::aws_smithy_types::DateTime) -> Self {
451 self.delete_date_time = ::std::option::Option::Some(input);
452 self
453 }
454 pub fn set_delete_date_time(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
456 self.delete_date_time = input;
457 self
458 }
459 pub fn get_delete_date_time(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
461 &self.delete_date_time
462 }
463 pub fn tier(mut self, input: crate::types::TierLevel) -> Self {
466 self.tier = ::std::option::Option::Some(input);
467 self
468 }
469 pub fn set_tier(mut self, input: ::std::option::Option<crate::types::TierLevel>) -> Self {
471 self.tier = input;
472 self
473 }
474 pub fn get_tier(&self) -> &::std::option::Option<crate::types::TierLevel> {
476 &self.tier
477 }
478 pub fn storage_limit(mut self, input: i64) -> Self {
481 self.storage_limit = ::std::option::Option::Some(input);
482 self
483 }
484 pub fn set_storage_limit(mut self, input: ::std::option::Option<i64>) -> Self {
486 self.storage_limit = input;
487 self
488 }
489 pub fn get_storage_limit(&self) -> &::std::option::Option<i64> {
491 &self.storage_limit
492 }
493 #[deprecated(note = "This property has been depracted and will be replaced by the roles property.")]
499 pub fn user_admins(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
500 let mut v = self.user_admins.unwrap_or_default();
501 v.push(input.into());
502 self.user_admins = ::std::option::Option::Some(v);
503 self
504 }
505 #[deprecated(note = "This property has been depracted and will be replaced by the roles property.")]
507 pub fn set_user_admins(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
508 self.user_admins = input;
509 self
510 }
511 #[deprecated(note = "This property has been depracted and will be replaced by the roles property.")]
513 pub fn get_user_admins(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
514 &self.user_admins
515 }
516 #[deprecated(note = "This property has been depracted and will be replaced by the roles property.")]
522 pub fn group_admins(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
523 let mut v = self.group_admins.unwrap_or_default();
524 v.push(input.into());
525 self.group_admins = ::std::option::Option::Some(v);
526 self
527 }
528 #[deprecated(note = "This property has been depracted and will be replaced by the roles property.")]
530 pub fn set_group_admins(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
531 self.group_admins = input;
532 self
533 }
534 #[deprecated(note = "This property has been depracted and will be replaced by the roles property.")]
536 pub fn get_group_admins(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
537 &self.group_admins
538 }
539 pub fn roles(mut self, k: impl ::std::convert::Into<::std::string::String>, v: ::std::vec::Vec<crate::types::Role>) -> Self {
545 let mut hash_map = self.roles.unwrap_or_default();
546 hash_map.insert(k.into(), v);
547 self.roles = ::std::option::Option::Some(hash_map);
548 self
549 }
550 pub fn set_roles(
552 mut self,
553 input: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::vec::Vec<crate::types::Role>>>,
554 ) -> Self {
555 self.roles = input;
556 self
557 }
558 pub fn get_roles(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::vec::Vec<crate::types::Role>>> {
560 &self.roles
561 }
562 pub fn user_kms_key(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
564 self.user_kms_key = ::std::option::Option::Some(input.into());
565 self
566 }
567 pub fn set_user_kms_key(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
569 self.user_kms_key = input;
570 self
571 }
572 pub fn get_user_kms_key(&self) -> &::std::option::Option<::std::string::String> {
574 &self.user_kms_key
575 }
576 pub fn user_count(mut self, input: i32) -> Self {
578 self.user_count = ::std::option::Option::Some(input);
579 self
580 }
581 pub fn set_user_count(mut self, input: ::std::option::Option<i32>) -> Self {
583 self.user_count = input;
584 self
585 }
586 pub fn get_user_count(&self) -> &::std::option::Option<i32> {
588 &self.user_count
589 }
590 pub fn content_size(mut self, input: i64) -> Self {
592 self.content_size = ::std::option::Option::Some(input);
593 self
594 }
595 pub fn set_content_size(mut self, input: ::std::option::Option<i64>) -> Self {
597 self.content_size = input;
598 self
599 }
600 pub fn get_content_size(&self) -> &::std::option::Option<i64> {
602 &self.content_size
603 }
604 pub fn supported_email_domains(mut self, input: crate::types::SupportedEmailDomainsStatus) -> Self {
606 self.supported_email_domains = ::std::option::Option::Some(input);
607 self
608 }
609 pub fn set_supported_email_domains(mut self, input: ::std::option::Option<crate::types::SupportedEmailDomainsStatus>) -> Self {
611 self.supported_email_domains = input;
612 self
613 }
614 pub fn get_supported_email_domains(&self) -> &::std::option::Option<crate::types::SupportedEmailDomainsStatus> {
616 &self.supported_email_domains
617 }
618 pub(crate) fn _request_id(mut self, request_id: impl Into<String>) -> Self {
619 self._request_id = Some(request_id.into());
620 self
621 }
622
623 pub(crate) fn _set_request_id(&mut self, request_id: Option<String>) -> &mut Self {
624 self._request_id = request_id;
625 self
626 }
627 pub fn build(self) -> ::std::result::Result<crate::operation::get_space::GetSpaceOutput, ::aws_smithy_types::error::operation::BuildError> {
642 ::std::result::Result::Ok(crate::operation::get_space::GetSpaceOutput {
643 space_id: self.space_id.ok_or_else(|| {
644 ::aws_smithy_types::error::operation::BuildError::missing_field(
645 "space_id",
646 "space_id was not specified but it is required when building GetSpaceOutput",
647 )
648 })?,
649 arn: self.arn.ok_or_else(|| {
650 ::aws_smithy_types::error::operation::BuildError::missing_field(
651 "arn",
652 "arn was not specified but it is required when building GetSpaceOutput",
653 )
654 })?,
655 name: self.name.ok_or_else(|| {
656 ::aws_smithy_types::error::operation::BuildError::missing_field(
657 "name",
658 "name was not specified but it is required when building GetSpaceOutput",
659 )
660 })?,
661 status: self.status.ok_or_else(|| {
662 ::aws_smithy_types::error::operation::BuildError::missing_field(
663 "status",
664 "status was not specified but it is required when building GetSpaceOutput",
665 )
666 })?,
667 configuration_status: self.configuration_status.ok_or_else(|| {
668 ::aws_smithy_types::error::operation::BuildError::missing_field(
669 "configuration_status",
670 "configuration_status was not specified but it is required when building GetSpaceOutput",
671 )
672 })?,
673 client_id: self.client_id.ok_or_else(|| {
674 ::aws_smithy_types::error::operation::BuildError::missing_field(
675 "client_id",
676 "client_id was not specified but it is required when building GetSpaceOutput",
677 )
678 })?,
679 identity_store_id: self.identity_store_id,
680 application_arn: self.application_arn,
681 description: self.description,
682 vanity_domain_status: self.vanity_domain_status.ok_or_else(|| {
683 ::aws_smithy_types::error::operation::BuildError::missing_field(
684 "vanity_domain_status",
685 "vanity_domain_status was not specified but it is required when building GetSpaceOutput",
686 )
687 })?,
688 vanity_domain: self.vanity_domain.ok_or_else(|| {
689 ::aws_smithy_types::error::operation::BuildError::missing_field(
690 "vanity_domain",
691 "vanity_domain was not specified but it is required when building GetSpaceOutput",
692 )
693 })?,
694 random_domain: self.random_domain.ok_or_else(|| {
695 ::aws_smithy_types::error::operation::BuildError::missing_field(
696 "random_domain",
697 "random_domain was not specified but it is required when building GetSpaceOutput",
698 )
699 })?,
700 customer_role_arn: self.customer_role_arn,
701 create_date_time: self.create_date_time.ok_or_else(|| {
702 ::aws_smithy_types::error::operation::BuildError::missing_field(
703 "create_date_time",
704 "create_date_time was not specified but it is required when building GetSpaceOutput",
705 )
706 })?,
707 delete_date_time: self.delete_date_time,
708 tier: self.tier.ok_or_else(|| {
709 ::aws_smithy_types::error::operation::BuildError::missing_field(
710 "tier",
711 "tier was not specified but it is required when building GetSpaceOutput",
712 )
713 })?,
714 storage_limit: self.storage_limit.ok_or_else(|| {
715 ::aws_smithy_types::error::operation::BuildError::missing_field(
716 "storage_limit",
717 "storage_limit was not specified but it is required when building GetSpaceOutput",
718 )
719 })?,
720 user_admins: self.user_admins,
721 group_admins: self.group_admins,
722 roles: self.roles,
723 user_kms_key: self.user_kms_key,
724 user_count: self.user_count,
725 content_size: self.content_size,
726 supported_email_domains: self.supported_email_domains,
727 _request_id: self._request_id,
728 })
729 }
730}
731impl ::std::fmt::Debug for GetSpaceOutputBuilder {
732 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
733 let mut formatter = f.debug_struct("GetSpaceOutputBuilder");
734 formatter.field("space_id", &self.space_id);
735 formatter.field("arn", &self.arn);
736 formatter.field("name", &"*** Sensitive Data Redacted ***");
737 formatter.field("status", &self.status);
738 formatter.field("configuration_status", &self.configuration_status);
739 formatter.field("client_id", &self.client_id);
740 formatter.field("identity_store_id", &self.identity_store_id);
741 formatter.field("application_arn", &self.application_arn);
742 formatter.field("description", &"*** Sensitive Data Redacted ***");
743 formatter.field("vanity_domain_status", &self.vanity_domain_status);
744 formatter.field("vanity_domain", &self.vanity_domain);
745 formatter.field("random_domain", &self.random_domain);
746 formatter.field("customer_role_arn", &self.customer_role_arn);
747 formatter.field("create_date_time", &self.create_date_time);
748 formatter.field("delete_date_time", &self.delete_date_time);
749 formatter.field("tier", &self.tier);
750 formatter.field("storage_limit", &self.storage_limit);
751 formatter.field("user_admins", &self.user_admins);
752 formatter.field("group_admins", &self.group_admins);
753 formatter.field("roles", &self.roles);
754 formatter.field("user_kms_key", &self.user_kms_key);
755 formatter.field("user_count", &self.user_count);
756 formatter.field("content_size", &self.content_size);
757 formatter.field("supported_email_domains", &self.supported_email_domains);
758 formatter.field("_request_id", &self._request_id);
759 formatter.finish()
760 }
761}