aws_sdk_workspacesweb/types/
_trust_store_summary.rs1#[non_exhaustive]
5#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
6pub struct TrustStoreSummary {
7    pub trust_store_arn: ::std::option::Option<::std::string::String>,
9}
10impl TrustStoreSummary {
11    pub fn trust_store_arn(&self) -> ::std::option::Option<&str> {
13        self.trust_store_arn.as_deref()
14    }
15}
16impl TrustStoreSummary {
17    pub fn builder() -> crate::types::builders::TrustStoreSummaryBuilder {
19        crate::types::builders::TrustStoreSummaryBuilder::default()
20    }
21}
22
23#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
25#[non_exhaustive]
26pub struct TrustStoreSummaryBuilder {
27    pub(crate) trust_store_arn: ::std::option::Option<::std::string::String>,
28}
29impl TrustStoreSummaryBuilder {
30    pub fn trust_store_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
32        self.trust_store_arn = ::std::option::Option::Some(input.into());
33        self
34    }
35    pub fn set_trust_store_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
37        self.trust_store_arn = input;
38        self
39    }
40    pub fn get_trust_store_arn(&self) -> &::std::option::Option<::std::string::String> {
42        &self.trust_store_arn
43    }
44    pub fn build(self) -> crate::types::TrustStoreSummary {
46        crate::types::TrustStoreSummary {
47            trust_store_arn: self.trust_store_arn,
48        }
49    }
50}