module Stratosphere.WorkSpacesWeb.DataProtectionSettings (
        module Exports, DataProtectionSettings(..),
        mkDataProtectionSettings
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.WorkSpacesWeb.DataProtectionSettings.InlineRedactionConfigurationProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data DataProtectionSettings
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-dataprotectionsettings.html>
    DataProtectionSettings {DataProtectionSettings -> ()
haddock_workaround_ :: (),
                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-dataprotectionsettings.html#cfn-workspacesweb-dataprotectionsettings-additionalencryptioncontext>
                            DataProtectionSettings -> Maybe (Map Text (Value Text))
additionalEncryptionContext :: (Prelude.Maybe (Prelude.Map Prelude.Text (Value Prelude.Text))),
                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-dataprotectionsettings.html#cfn-workspacesweb-dataprotectionsettings-customermanagedkey>
                            DataProtectionSettings -> Maybe (Value Text)
customerManagedKey :: (Prelude.Maybe (Value Prelude.Text)),
                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-dataprotectionsettings.html#cfn-workspacesweb-dataprotectionsettings-description>
                            DataProtectionSettings -> Maybe (Value Text)
description :: (Prelude.Maybe (Value Prelude.Text)),
                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-dataprotectionsettings.html#cfn-workspacesweb-dataprotectionsettings-displayname>
                            DataProtectionSettings -> Maybe (Value Text)
displayName :: (Prelude.Maybe (Value Prelude.Text)),
                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-dataprotectionsettings.html#cfn-workspacesweb-dataprotectionsettings-inlineredactionconfiguration>
                            DataProtectionSettings
-> Maybe InlineRedactionConfigurationProperty
inlineRedactionConfiguration :: (Prelude.Maybe InlineRedactionConfigurationProperty),
                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-dataprotectionsettings.html#cfn-workspacesweb-dataprotectionsettings-tags>
                            DataProtectionSettings -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag])}
  deriving stock (DataProtectionSettings -> DataProtectionSettings -> Bool
(DataProtectionSettings -> DataProtectionSettings -> Bool)
-> (DataProtectionSettings -> DataProtectionSettings -> Bool)
-> Eq DataProtectionSettings
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: DataProtectionSettings -> DataProtectionSettings -> Bool
== :: DataProtectionSettings -> DataProtectionSettings -> Bool
$c/= :: DataProtectionSettings -> DataProtectionSettings -> Bool
/= :: DataProtectionSettings -> DataProtectionSettings -> Bool
Prelude.Eq, Int -> DataProtectionSettings -> ShowS
[DataProtectionSettings] -> ShowS
DataProtectionSettings -> String
(Int -> DataProtectionSettings -> ShowS)
-> (DataProtectionSettings -> String)
-> ([DataProtectionSettings] -> ShowS)
-> Show DataProtectionSettings
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> DataProtectionSettings -> ShowS
showsPrec :: Int -> DataProtectionSettings -> ShowS
$cshow :: DataProtectionSettings -> String
show :: DataProtectionSettings -> String
$cshowList :: [DataProtectionSettings] -> ShowS
showList :: [DataProtectionSettings] -> ShowS
Prelude.Show)
mkDataProtectionSettings :: DataProtectionSettings
mkDataProtectionSettings :: DataProtectionSettings
mkDataProtectionSettings
  = DataProtectionSettings
      {haddock_workaround_ :: ()
haddock_workaround_ = (),
       additionalEncryptionContext :: Maybe (Map Text (Value Text))
additionalEncryptionContext = Maybe (Map Text (Value Text))
forall a. Maybe a
Prelude.Nothing,
       customerManagedKey :: Maybe (Value Text)
customerManagedKey = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       description :: Maybe (Value Text)
description = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, displayName :: Maybe (Value Text)
displayName = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       inlineRedactionConfiguration :: Maybe InlineRedactionConfigurationProperty
inlineRedactionConfiguration = Maybe InlineRedactionConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
       tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties DataProtectionSettings where
  toResourceProperties :: DataProtectionSettings -> ResourceProperties
toResourceProperties DataProtectionSettings {Maybe [Tag]
Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe InlineRedactionConfigurationProperty
()
haddock_workaround_ :: DataProtectionSettings -> ()
additionalEncryptionContext :: DataProtectionSettings -> Maybe (Map Text (Value Text))
customerManagedKey :: DataProtectionSettings -> Maybe (Value Text)
description :: DataProtectionSettings -> Maybe (Value Text)
displayName :: DataProtectionSettings -> Maybe (Value Text)
inlineRedactionConfiguration :: DataProtectionSettings
-> Maybe InlineRedactionConfigurationProperty
tags :: DataProtectionSettings -> Maybe [Tag]
haddock_workaround_ :: ()
additionalEncryptionContext :: Maybe (Map Text (Value Text))
customerManagedKey :: Maybe (Value Text)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
inlineRedactionConfiguration :: Maybe InlineRedactionConfigurationProperty
tags :: Maybe [Tag]
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::WorkSpacesWeb::DataProtectionSettings",
         supportsTags :: Bool
supportsTags = Bool
Prelude.True,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                           [Key -> Map Text (Value Text) -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AdditionalEncryptionContext"
                              (Map Text (Value Text) -> (Key, Value))
-> Maybe (Map Text (Value Text)) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Map Text (Value Text))
additionalEncryptionContext,
                            Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CustomerManagedKey" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
customerManagedKey,
                            Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Description" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
description,
                            Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DisplayName" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
displayName,
                            Key -> InlineRedactionConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"InlineRedactionConfiguration"
                              (InlineRedactionConfigurationProperty -> (Key, Value))
-> Maybe InlineRedactionConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe InlineRedactionConfigurationProperty
inlineRedactionConfiguration,
                            Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags])}
instance JSON.ToJSON DataProtectionSettings where
  toJSON :: DataProtectionSettings -> Value
toJSON DataProtectionSettings {Maybe [Tag]
Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe InlineRedactionConfigurationProperty
()
haddock_workaround_ :: DataProtectionSettings -> ()
additionalEncryptionContext :: DataProtectionSettings -> Maybe (Map Text (Value Text))
customerManagedKey :: DataProtectionSettings -> Maybe (Value Text)
description :: DataProtectionSettings -> Maybe (Value Text)
displayName :: DataProtectionSettings -> Maybe (Value Text)
inlineRedactionConfiguration :: DataProtectionSettings
-> Maybe InlineRedactionConfigurationProperty
tags :: DataProtectionSettings -> Maybe [Tag]
haddock_workaround_ :: ()
additionalEncryptionContext :: Maybe (Map Text (Value Text))
customerManagedKey :: Maybe (Value Text)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
inlineRedactionConfiguration :: Maybe InlineRedactionConfigurationProperty
tags :: Maybe [Tag]
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
              [Key -> Map Text (Value Text) -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AdditionalEncryptionContext"
                 (Map Text (Value Text) -> (Key, Value))
-> Maybe (Map Text (Value Text)) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Map Text (Value Text))
additionalEncryptionContext,
               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CustomerManagedKey" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
customerManagedKey,
               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Description" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
description,
               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DisplayName" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
displayName,
               Key -> InlineRedactionConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"InlineRedactionConfiguration"
                 (InlineRedactionConfigurationProperty -> (Key, Value))
-> Maybe InlineRedactionConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe InlineRedactionConfigurationProperty
inlineRedactionConfiguration,
               Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags]))
instance Property "AdditionalEncryptionContext" DataProtectionSettings where
  type PropertyType "AdditionalEncryptionContext" DataProtectionSettings = Prelude.Map Prelude.Text (Value Prelude.Text)
  set :: PropertyType "AdditionalEncryptionContext" DataProtectionSettings
-> DataProtectionSettings -> DataProtectionSettings
set PropertyType "AdditionalEncryptionContext" DataProtectionSettings
newValue DataProtectionSettings {Maybe [Tag]
Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe InlineRedactionConfigurationProperty
()
haddock_workaround_ :: DataProtectionSettings -> ()
additionalEncryptionContext :: DataProtectionSettings -> Maybe (Map Text (Value Text))
customerManagedKey :: DataProtectionSettings -> Maybe (Value Text)
description :: DataProtectionSettings -> Maybe (Value Text)
displayName :: DataProtectionSettings -> Maybe (Value Text)
inlineRedactionConfiguration :: DataProtectionSettings
-> Maybe InlineRedactionConfigurationProperty
tags :: DataProtectionSettings -> Maybe [Tag]
haddock_workaround_ :: ()
additionalEncryptionContext :: Maybe (Map Text (Value Text))
customerManagedKey :: Maybe (Value Text)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
inlineRedactionConfiguration :: Maybe InlineRedactionConfigurationProperty
tags :: Maybe [Tag]
..}
    = DataProtectionSettings
        {additionalEncryptionContext :: Maybe (Map Text (Value Text))
additionalEncryptionContext = Map Text (Value Text) -> Maybe (Map Text (Value Text))
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure Map Text (Value Text)
PropertyType "AdditionalEncryptionContext" DataProtectionSettings
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe InlineRedactionConfigurationProperty
()
haddock_workaround_ :: ()
customerManagedKey :: Maybe (Value Text)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
inlineRedactionConfiguration :: Maybe InlineRedactionConfigurationProperty
tags :: Maybe [Tag]
haddock_workaround_ :: ()
customerManagedKey :: Maybe (Value Text)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
inlineRedactionConfiguration :: Maybe InlineRedactionConfigurationProperty
tags :: Maybe [Tag]
..}
instance Property "CustomerManagedKey" DataProtectionSettings where
  type PropertyType "CustomerManagedKey" DataProtectionSettings = Value Prelude.Text
  set :: PropertyType "CustomerManagedKey" DataProtectionSettings
-> DataProtectionSettings -> DataProtectionSettings
set PropertyType "CustomerManagedKey" DataProtectionSettings
newValue DataProtectionSettings {Maybe [Tag]
Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe InlineRedactionConfigurationProperty
()
haddock_workaround_ :: DataProtectionSettings -> ()
additionalEncryptionContext :: DataProtectionSettings -> Maybe (Map Text (Value Text))
customerManagedKey :: DataProtectionSettings -> Maybe (Value Text)
description :: DataProtectionSettings -> Maybe (Value Text)
displayName :: DataProtectionSettings -> Maybe (Value Text)
inlineRedactionConfiguration :: DataProtectionSettings
-> Maybe InlineRedactionConfigurationProperty
tags :: DataProtectionSettings -> Maybe [Tag]
haddock_workaround_ :: ()
additionalEncryptionContext :: Maybe (Map Text (Value Text))
customerManagedKey :: Maybe (Value Text)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
inlineRedactionConfiguration :: Maybe InlineRedactionConfigurationProperty
tags :: Maybe [Tag]
..}
    = DataProtectionSettings
        {customerManagedKey :: Maybe (Value Text)
customerManagedKey = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "CustomerManagedKey" DataProtectionSettings
Value Text
newValue, Maybe [Tag]
Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe InlineRedactionConfigurationProperty
()
haddock_workaround_ :: ()
additionalEncryptionContext :: Maybe (Map Text (Value Text))
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
inlineRedactionConfiguration :: Maybe InlineRedactionConfigurationProperty
tags :: Maybe [Tag]
haddock_workaround_ :: ()
additionalEncryptionContext :: Maybe (Map Text (Value Text))
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
inlineRedactionConfiguration :: Maybe InlineRedactionConfigurationProperty
tags :: Maybe [Tag]
..}
instance Property "Description" DataProtectionSettings where
  type PropertyType "Description" DataProtectionSettings = Value Prelude.Text
  set :: PropertyType "Description" DataProtectionSettings
-> DataProtectionSettings -> DataProtectionSettings
set PropertyType "Description" DataProtectionSettings
newValue DataProtectionSettings {Maybe [Tag]
Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe InlineRedactionConfigurationProperty
()
haddock_workaround_ :: DataProtectionSettings -> ()
additionalEncryptionContext :: DataProtectionSettings -> Maybe (Map Text (Value Text))
customerManagedKey :: DataProtectionSettings -> Maybe (Value Text)
description :: DataProtectionSettings -> Maybe (Value Text)
displayName :: DataProtectionSettings -> Maybe (Value Text)
inlineRedactionConfiguration :: DataProtectionSettings
-> Maybe InlineRedactionConfigurationProperty
tags :: DataProtectionSettings -> Maybe [Tag]
haddock_workaround_ :: ()
additionalEncryptionContext :: Maybe (Map Text (Value Text))
customerManagedKey :: Maybe (Value Text)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
inlineRedactionConfiguration :: Maybe InlineRedactionConfigurationProperty
tags :: Maybe [Tag]
..}
    = DataProtectionSettings {description :: Maybe (Value Text)
description = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Description" DataProtectionSettings
Value Text
newValue, Maybe [Tag]
Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe InlineRedactionConfigurationProperty
()
haddock_workaround_ :: ()
additionalEncryptionContext :: Maybe (Map Text (Value Text))
customerManagedKey :: Maybe (Value Text)
displayName :: Maybe (Value Text)
inlineRedactionConfiguration :: Maybe InlineRedactionConfigurationProperty
tags :: Maybe [Tag]
haddock_workaround_ :: ()
additionalEncryptionContext :: Maybe (Map Text (Value Text))
customerManagedKey :: Maybe (Value Text)
displayName :: Maybe (Value Text)
inlineRedactionConfiguration :: Maybe InlineRedactionConfigurationProperty
tags :: Maybe [Tag]
..}
instance Property "DisplayName" DataProtectionSettings where
  type PropertyType "DisplayName" DataProtectionSettings = Value Prelude.Text
  set :: PropertyType "DisplayName" DataProtectionSettings
-> DataProtectionSettings -> DataProtectionSettings
set PropertyType "DisplayName" DataProtectionSettings
newValue DataProtectionSettings {Maybe [Tag]
Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe InlineRedactionConfigurationProperty
()
haddock_workaround_ :: DataProtectionSettings -> ()
additionalEncryptionContext :: DataProtectionSettings -> Maybe (Map Text (Value Text))
customerManagedKey :: DataProtectionSettings -> Maybe (Value Text)
description :: DataProtectionSettings -> Maybe (Value Text)
displayName :: DataProtectionSettings -> Maybe (Value Text)
inlineRedactionConfiguration :: DataProtectionSettings
-> Maybe InlineRedactionConfigurationProperty
tags :: DataProtectionSettings -> Maybe [Tag]
haddock_workaround_ :: ()
additionalEncryptionContext :: Maybe (Map Text (Value Text))
customerManagedKey :: Maybe (Value Text)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
inlineRedactionConfiguration :: Maybe InlineRedactionConfigurationProperty
tags :: Maybe [Tag]
..}
    = DataProtectionSettings {displayName :: Maybe (Value Text)
displayName = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DisplayName" DataProtectionSettings
Value Text
newValue, Maybe [Tag]
Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe InlineRedactionConfigurationProperty
()
haddock_workaround_ :: ()
additionalEncryptionContext :: Maybe (Map Text (Value Text))
customerManagedKey :: Maybe (Value Text)
description :: Maybe (Value Text)
inlineRedactionConfiguration :: Maybe InlineRedactionConfigurationProperty
tags :: Maybe [Tag]
haddock_workaround_ :: ()
additionalEncryptionContext :: Maybe (Map Text (Value Text))
customerManagedKey :: Maybe (Value Text)
description :: Maybe (Value Text)
inlineRedactionConfiguration :: Maybe InlineRedactionConfigurationProperty
tags :: Maybe [Tag]
..}
instance Property "InlineRedactionConfiguration" DataProtectionSettings where
  type PropertyType "InlineRedactionConfiguration" DataProtectionSettings = InlineRedactionConfigurationProperty
  set :: PropertyType "InlineRedactionConfiguration" DataProtectionSettings
-> DataProtectionSettings -> DataProtectionSettings
set PropertyType "InlineRedactionConfiguration" DataProtectionSettings
newValue DataProtectionSettings {Maybe [Tag]
Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe InlineRedactionConfigurationProperty
()
haddock_workaround_ :: DataProtectionSettings -> ()
additionalEncryptionContext :: DataProtectionSettings -> Maybe (Map Text (Value Text))
customerManagedKey :: DataProtectionSettings -> Maybe (Value Text)
description :: DataProtectionSettings -> Maybe (Value Text)
displayName :: DataProtectionSettings -> Maybe (Value Text)
inlineRedactionConfiguration :: DataProtectionSettings
-> Maybe InlineRedactionConfigurationProperty
tags :: DataProtectionSettings -> Maybe [Tag]
haddock_workaround_ :: ()
additionalEncryptionContext :: Maybe (Map Text (Value Text))
customerManagedKey :: Maybe (Value Text)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
inlineRedactionConfiguration :: Maybe InlineRedactionConfigurationProperty
tags :: Maybe [Tag]
..}
    = DataProtectionSettings
        {inlineRedactionConfiguration :: Maybe InlineRedactionConfigurationProperty
inlineRedactionConfiguration = InlineRedactionConfigurationProperty
-> Maybe InlineRedactionConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "InlineRedactionConfiguration" DataProtectionSettings
InlineRedactionConfigurationProperty
newValue, Maybe [Tag]
Maybe (Map Text (Value Text))
Maybe (Value Text)
()
haddock_workaround_ :: ()
additionalEncryptionContext :: Maybe (Map Text (Value Text))
customerManagedKey :: Maybe (Value Text)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
additionalEncryptionContext :: Maybe (Map Text (Value Text))
customerManagedKey :: Maybe (Value Text)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "Tags" DataProtectionSettings where
  type PropertyType "Tags" DataProtectionSettings = [Tag]
  set :: PropertyType "Tags" DataProtectionSettings
-> DataProtectionSettings -> DataProtectionSettings
set PropertyType "Tags" DataProtectionSettings
newValue DataProtectionSettings {Maybe [Tag]
Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe InlineRedactionConfigurationProperty
()
haddock_workaround_ :: DataProtectionSettings -> ()
additionalEncryptionContext :: DataProtectionSettings -> Maybe (Map Text (Value Text))
customerManagedKey :: DataProtectionSettings -> Maybe (Value Text)
description :: DataProtectionSettings -> Maybe (Value Text)
displayName :: DataProtectionSettings -> Maybe (Value Text)
inlineRedactionConfiguration :: DataProtectionSettings
-> Maybe InlineRedactionConfigurationProperty
tags :: DataProtectionSettings -> Maybe [Tag]
haddock_workaround_ :: ()
additionalEncryptionContext :: Maybe (Map Text (Value Text))
customerManagedKey :: Maybe (Value Text)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
inlineRedactionConfiguration :: Maybe InlineRedactionConfigurationProperty
tags :: Maybe [Tag]
..}
    = DataProtectionSettings {tags :: Maybe [Tag]
tags = [Tag] -> Maybe [Tag]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [Tag]
PropertyType "Tags" DataProtectionSettings
newValue, Maybe (Map Text (Value Text))
Maybe (Value Text)
Maybe InlineRedactionConfigurationProperty
()
haddock_workaround_ :: ()
additionalEncryptionContext :: Maybe (Map Text (Value Text))
customerManagedKey :: Maybe (Value Text)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
inlineRedactionConfiguration :: Maybe InlineRedactionConfigurationProperty
haddock_workaround_ :: ()
additionalEncryptionContext :: Maybe (Map Text (Value Text))
customerManagedKey :: Maybe (Value Text)
description :: Maybe (Value Text)
displayName :: Maybe (Value Text)
inlineRedactionConfiguration :: Maybe InlineRedactionConfigurationProperty
..}