aws_sdk_quicksight/types/
_asset_bundle_import_job_override_validation_strategy.rs1#[non_exhaustive]
5#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
6pub struct AssetBundleImportJobOverrideValidationStrategy {
7    pub strict_mode_for_all_resources: bool,
9}
10impl AssetBundleImportJobOverrideValidationStrategy {
11    pub fn strict_mode_for_all_resources(&self) -> bool {
13        self.strict_mode_for_all_resources
14    }
15}
16impl AssetBundleImportJobOverrideValidationStrategy {
17    pub fn builder() -> crate::types::builders::AssetBundleImportJobOverrideValidationStrategyBuilder {
19        crate::types::builders::AssetBundleImportJobOverrideValidationStrategyBuilder::default()
20    }
21}
22
23#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
25#[non_exhaustive]
26pub struct AssetBundleImportJobOverrideValidationStrategyBuilder {
27    pub(crate) strict_mode_for_all_resources: ::std::option::Option<bool>,
28}
29impl AssetBundleImportJobOverrideValidationStrategyBuilder {
30    pub fn strict_mode_for_all_resources(mut self, input: bool) -> Self {
32        self.strict_mode_for_all_resources = ::std::option::Option::Some(input);
33        self
34    }
35    pub fn set_strict_mode_for_all_resources(mut self, input: ::std::option::Option<bool>) -> Self {
37        self.strict_mode_for_all_resources = input;
38        self
39    }
40    pub fn get_strict_mode_for_all_resources(&self) -> &::std::option::Option<bool> {
42        &self.strict_mode_for_all_resources
43    }
44    pub fn build(self) -> crate::types::AssetBundleImportJobOverrideValidationStrategy {
46        crate::types::AssetBundleImportJobOverrideValidationStrategy {
47            strict_mode_for_all_resources: self.strict_mode_for_all_resources.unwrap_or_default(),
48        }
49    }
50}