module Stratosphere.GuardDuty.TrustedEntitySet (
        module Exports, TrustedEntitySet(..), mkTrustedEntitySet
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.GuardDuty.TrustedEntitySet.TagItemProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data TrustedEntitySet
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-trustedentityset.html>
    TrustedEntitySet {TrustedEntitySet -> ()
haddock_workaround_ :: (),
                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-trustedentityset.html#cfn-guardduty-trustedentityset-activate>
                      TrustedEntitySet -> Maybe (Value Bool)
activate :: (Prelude.Maybe (Value Prelude.Bool)),
                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-trustedentityset.html#cfn-guardduty-trustedentityset-detectorid>
                      TrustedEntitySet -> Maybe (Value Text)
detectorId :: (Prelude.Maybe (Value Prelude.Text)),
                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-trustedentityset.html#cfn-guardduty-trustedentityset-expectedbucketowner>
                      TrustedEntitySet -> Maybe (Value Text)
expectedBucketOwner :: (Prelude.Maybe (Value Prelude.Text)),
                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-trustedentityset.html#cfn-guardduty-trustedentityset-format>
                      TrustedEntitySet -> Value Text
format :: (Value Prelude.Text),
                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-trustedentityset.html#cfn-guardduty-trustedentityset-location>
                      TrustedEntitySet -> Value Text
location :: (Value Prelude.Text),
                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-trustedentityset.html#cfn-guardduty-trustedentityset-name>
                      TrustedEntitySet -> Maybe (Value Text)
name :: (Prelude.Maybe (Value Prelude.Text)),
                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-trustedentityset.html#cfn-guardduty-trustedentityset-tags>
                      TrustedEntitySet -> Maybe [TagItemProperty]
tags :: (Prelude.Maybe [TagItemProperty])}
  deriving stock (TrustedEntitySet -> TrustedEntitySet -> Bool
(TrustedEntitySet -> TrustedEntitySet -> Bool)
-> (TrustedEntitySet -> TrustedEntitySet -> Bool)
-> Eq TrustedEntitySet
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: TrustedEntitySet -> TrustedEntitySet -> Bool
== :: TrustedEntitySet -> TrustedEntitySet -> Bool
$c/= :: TrustedEntitySet -> TrustedEntitySet -> Bool
/= :: TrustedEntitySet -> TrustedEntitySet -> Bool
Prelude.Eq, Int -> TrustedEntitySet -> ShowS
[TrustedEntitySet] -> ShowS
TrustedEntitySet -> String
(Int -> TrustedEntitySet -> ShowS)
-> (TrustedEntitySet -> String)
-> ([TrustedEntitySet] -> ShowS)
-> Show TrustedEntitySet
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> TrustedEntitySet -> ShowS
showsPrec :: Int -> TrustedEntitySet -> ShowS
$cshow :: TrustedEntitySet -> String
show :: TrustedEntitySet -> String
$cshowList :: [TrustedEntitySet] -> ShowS
showList :: [TrustedEntitySet] -> ShowS
Prelude.Show)
mkTrustedEntitySet ::
  Value Prelude.Text -> Value Prelude.Text -> TrustedEntitySet
mkTrustedEntitySet :: Value Text -> Value Text -> TrustedEntitySet
mkTrustedEntitySet Value Text
format Value Text
location
  = TrustedEntitySet
      {haddock_workaround_ :: ()
haddock_workaround_ = (), format :: Value Text
format = Value Text
format, location :: Value Text
location = Value Text
location,
       activate :: Maybe (Value Bool)
activate = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing, detectorId :: Maybe (Value Text)
detectorId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       expectedBucketOwner :: Maybe (Value Text)
expectedBucketOwner = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, name :: Maybe (Value Text)
name = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       tags :: Maybe [TagItemProperty]
tags = Maybe [TagItemProperty]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties TrustedEntitySet where
  toResourceProperties :: TrustedEntitySet -> ResourceProperties
toResourceProperties TrustedEntitySet {Maybe [TagItemProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: TrustedEntitySet -> ()
activate :: TrustedEntitySet -> Maybe (Value Bool)
detectorId :: TrustedEntitySet -> Maybe (Value Text)
expectedBucketOwner :: TrustedEntitySet -> Maybe (Value Text)
format :: TrustedEntitySet -> Value Text
location :: TrustedEntitySet -> Value Text
name :: TrustedEntitySet -> Maybe (Value Text)
tags :: TrustedEntitySet -> Maybe [TagItemProperty]
haddock_workaround_ :: ()
activate :: Maybe (Value Bool)
detectorId :: Maybe (Value Text)
expectedBucketOwner :: Maybe (Value Text)
format :: Value Text
location :: Value Text
name :: Maybe (Value Text)
tags :: Maybe [TagItemProperty]
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::GuardDuty::TrustedEntitySet",
         supportsTags :: Bool
supportsTags = Bool
Prelude.True,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
                           [Key
"Format" 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..= Value Text
format, Key
"Location" 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..= Value Text
location]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Activate" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
activate,
                               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
"DetectorId" (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)
detectorId,
                               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
"ExpectedBucketOwner" (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)
expectedBucketOwner,
                               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
"Name" (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)
name,
                               Key -> [TagItemProperty] -> (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" ([TagItemProperty] -> (Key, Value))
-> Maybe [TagItemProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [TagItemProperty]
tags]))}
instance JSON.ToJSON TrustedEntitySet where
  toJSON :: TrustedEntitySet -> Value
toJSON TrustedEntitySet {Maybe [TagItemProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: TrustedEntitySet -> ()
activate :: TrustedEntitySet -> Maybe (Value Bool)
detectorId :: TrustedEntitySet -> Maybe (Value Text)
expectedBucketOwner :: TrustedEntitySet -> Maybe (Value Text)
format :: TrustedEntitySet -> Value Text
location :: TrustedEntitySet -> Value Text
name :: TrustedEntitySet -> Maybe (Value Text)
tags :: TrustedEntitySet -> Maybe [TagItemProperty]
haddock_workaround_ :: ()
activate :: Maybe (Value Bool)
detectorId :: Maybe (Value Text)
expectedBucketOwner :: Maybe (Value Text)
format :: Value Text
location :: Value Text
name :: Maybe (Value Text)
tags :: Maybe [TagItemProperty]
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
              [Key
"Format" 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..= Value Text
format, Key
"Location" 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..= Value Text
location]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Activate" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
activate,
                  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
"DetectorId" (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)
detectorId,
                  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
"ExpectedBucketOwner" (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)
expectedBucketOwner,
                  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
"Name" (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)
name,
                  Key -> [TagItemProperty] -> (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" ([TagItemProperty] -> (Key, Value))
-> Maybe [TagItemProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [TagItemProperty]
tags])))
instance Property "Activate" TrustedEntitySet where
  type PropertyType "Activate" TrustedEntitySet = Value Prelude.Bool
  set :: PropertyType "Activate" TrustedEntitySet
-> TrustedEntitySet -> TrustedEntitySet
set PropertyType "Activate" TrustedEntitySet
newValue TrustedEntitySet {Maybe [TagItemProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: TrustedEntitySet -> ()
activate :: TrustedEntitySet -> Maybe (Value Bool)
detectorId :: TrustedEntitySet -> Maybe (Value Text)
expectedBucketOwner :: TrustedEntitySet -> Maybe (Value Text)
format :: TrustedEntitySet -> Value Text
location :: TrustedEntitySet -> Value Text
name :: TrustedEntitySet -> Maybe (Value Text)
tags :: TrustedEntitySet -> Maybe [TagItemProperty]
haddock_workaround_ :: ()
activate :: Maybe (Value Bool)
detectorId :: Maybe (Value Text)
expectedBucketOwner :: Maybe (Value Text)
format :: Value Text
location :: Value Text
name :: Maybe (Value Text)
tags :: Maybe [TagItemProperty]
..}
    = TrustedEntitySet {activate :: Maybe (Value Bool)
activate = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Activate" TrustedEntitySet
Value Bool
newValue, Maybe [TagItemProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
detectorId :: Maybe (Value Text)
expectedBucketOwner :: Maybe (Value Text)
format :: Value Text
location :: Value Text
name :: Maybe (Value Text)
tags :: Maybe [TagItemProperty]
haddock_workaround_ :: ()
detectorId :: Maybe (Value Text)
expectedBucketOwner :: Maybe (Value Text)
format :: Value Text
location :: Value Text
name :: Maybe (Value Text)
tags :: Maybe [TagItemProperty]
..}
instance Property "DetectorId" TrustedEntitySet where
  type PropertyType "DetectorId" TrustedEntitySet = Value Prelude.Text
  set :: PropertyType "DetectorId" TrustedEntitySet
-> TrustedEntitySet -> TrustedEntitySet
set PropertyType "DetectorId" TrustedEntitySet
newValue TrustedEntitySet {Maybe [TagItemProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: TrustedEntitySet -> ()
activate :: TrustedEntitySet -> Maybe (Value Bool)
detectorId :: TrustedEntitySet -> Maybe (Value Text)
expectedBucketOwner :: TrustedEntitySet -> Maybe (Value Text)
format :: TrustedEntitySet -> Value Text
location :: TrustedEntitySet -> Value Text
name :: TrustedEntitySet -> Maybe (Value Text)
tags :: TrustedEntitySet -> Maybe [TagItemProperty]
haddock_workaround_ :: ()
activate :: Maybe (Value Bool)
detectorId :: Maybe (Value Text)
expectedBucketOwner :: Maybe (Value Text)
format :: Value Text
location :: Value Text
name :: Maybe (Value Text)
tags :: Maybe [TagItemProperty]
..}
    = TrustedEntitySet {detectorId :: Maybe (Value Text)
detectorId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DetectorId" TrustedEntitySet
Value Text
newValue, Maybe [TagItemProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
activate :: Maybe (Value Bool)
expectedBucketOwner :: Maybe (Value Text)
format :: Value Text
location :: Value Text
name :: Maybe (Value Text)
tags :: Maybe [TagItemProperty]
haddock_workaround_ :: ()
activate :: Maybe (Value Bool)
expectedBucketOwner :: Maybe (Value Text)
format :: Value Text
location :: Value Text
name :: Maybe (Value Text)
tags :: Maybe [TagItemProperty]
..}
instance Property "ExpectedBucketOwner" TrustedEntitySet where
  type PropertyType "ExpectedBucketOwner" TrustedEntitySet = Value Prelude.Text
  set :: PropertyType "ExpectedBucketOwner" TrustedEntitySet
-> TrustedEntitySet -> TrustedEntitySet
set PropertyType "ExpectedBucketOwner" TrustedEntitySet
newValue TrustedEntitySet {Maybe [TagItemProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: TrustedEntitySet -> ()
activate :: TrustedEntitySet -> Maybe (Value Bool)
detectorId :: TrustedEntitySet -> Maybe (Value Text)
expectedBucketOwner :: TrustedEntitySet -> Maybe (Value Text)
format :: TrustedEntitySet -> Value Text
location :: TrustedEntitySet -> Value Text
name :: TrustedEntitySet -> Maybe (Value Text)
tags :: TrustedEntitySet -> Maybe [TagItemProperty]
haddock_workaround_ :: ()
activate :: Maybe (Value Bool)
detectorId :: Maybe (Value Text)
expectedBucketOwner :: Maybe (Value Text)
format :: Value Text
location :: Value Text
name :: Maybe (Value Text)
tags :: Maybe [TagItemProperty]
..}
    = TrustedEntitySet
        {expectedBucketOwner :: Maybe (Value Text)
expectedBucketOwner = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ExpectedBucketOwner" TrustedEntitySet
Value Text
newValue, Maybe [TagItemProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
activate :: Maybe (Value Bool)
detectorId :: Maybe (Value Text)
format :: Value Text
location :: Value Text
name :: Maybe (Value Text)
tags :: Maybe [TagItemProperty]
haddock_workaround_ :: ()
activate :: Maybe (Value Bool)
detectorId :: Maybe (Value Text)
format :: Value Text
location :: Value Text
name :: Maybe (Value Text)
tags :: Maybe [TagItemProperty]
..}
instance Property "Format" TrustedEntitySet where
  type PropertyType "Format" TrustedEntitySet = Value Prelude.Text
  set :: PropertyType "Format" TrustedEntitySet
-> TrustedEntitySet -> TrustedEntitySet
set PropertyType "Format" TrustedEntitySet
newValue TrustedEntitySet {Maybe [TagItemProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: TrustedEntitySet -> ()
activate :: TrustedEntitySet -> Maybe (Value Bool)
detectorId :: TrustedEntitySet -> Maybe (Value Text)
expectedBucketOwner :: TrustedEntitySet -> Maybe (Value Text)
format :: TrustedEntitySet -> Value Text
location :: TrustedEntitySet -> Value Text
name :: TrustedEntitySet -> Maybe (Value Text)
tags :: TrustedEntitySet -> Maybe [TagItemProperty]
haddock_workaround_ :: ()
activate :: Maybe (Value Bool)
detectorId :: Maybe (Value Text)
expectedBucketOwner :: Maybe (Value Text)
format :: Value Text
location :: Value Text
name :: Maybe (Value Text)
tags :: Maybe [TagItemProperty]
..}
    = TrustedEntitySet {format :: Value Text
format = PropertyType "Format" TrustedEntitySet
Value Text
newValue, Maybe [TagItemProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
activate :: Maybe (Value Bool)
detectorId :: Maybe (Value Text)
expectedBucketOwner :: Maybe (Value Text)
location :: Value Text
name :: Maybe (Value Text)
tags :: Maybe [TagItemProperty]
haddock_workaround_ :: ()
activate :: Maybe (Value Bool)
detectorId :: Maybe (Value Text)
expectedBucketOwner :: Maybe (Value Text)
location :: Value Text
name :: Maybe (Value Text)
tags :: Maybe [TagItemProperty]
..}
instance Property "Location" TrustedEntitySet where
  type PropertyType "Location" TrustedEntitySet = Value Prelude.Text
  set :: PropertyType "Location" TrustedEntitySet
-> TrustedEntitySet -> TrustedEntitySet
set PropertyType "Location" TrustedEntitySet
newValue TrustedEntitySet {Maybe [TagItemProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: TrustedEntitySet -> ()
activate :: TrustedEntitySet -> Maybe (Value Bool)
detectorId :: TrustedEntitySet -> Maybe (Value Text)
expectedBucketOwner :: TrustedEntitySet -> Maybe (Value Text)
format :: TrustedEntitySet -> Value Text
location :: TrustedEntitySet -> Value Text
name :: TrustedEntitySet -> Maybe (Value Text)
tags :: TrustedEntitySet -> Maybe [TagItemProperty]
haddock_workaround_ :: ()
activate :: Maybe (Value Bool)
detectorId :: Maybe (Value Text)
expectedBucketOwner :: Maybe (Value Text)
format :: Value Text
location :: Value Text
name :: Maybe (Value Text)
tags :: Maybe [TagItemProperty]
..}
    = TrustedEntitySet {location :: Value Text
location = PropertyType "Location" TrustedEntitySet
Value Text
newValue, Maybe [TagItemProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
activate :: Maybe (Value Bool)
detectorId :: Maybe (Value Text)
expectedBucketOwner :: Maybe (Value Text)
format :: Value Text
name :: Maybe (Value Text)
tags :: Maybe [TagItemProperty]
haddock_workaround_ :: ()
activate :: Maybe (Value Bool)
detectorId :: Maybe (Value Text)
expectedBucketOwner :: Maybe (Value Text)
format :: Value Text
name :: Maybe (Value Text)
tags :: Maybe [TagItemProperty]
..}
instance Property "Name" TrustedEntitySet where
  type PropertyType "Name" TrustedEntitySet = Value Prelude.Text
  set :: PropertyType "Name" TrustedEntitySet
-> TrustedEntitySet -> TrustedEntitySet
set PropertyType "Name" TrustedEntitySet
newValue TrustedEntitySet {Maybe [TagItemProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: TrustedEntitySet -> ()
activate :: TrustedEntitySet -> Maybe (Value Bool)
detectorId :: TrustedEntitySet -> Maybe (Value Text)
expectedBucketOwner :: TrustedEntitySet -> Maybe (Value Text)
format :: TrustedEntitySet -> Value Text
location :: TrustedEntitySet -> Value Text
name :: TrustedEntitySet -> Maybe (Value Text)
tags :: TrustedEntitySet -> Maybe [TagItemProperty]
haddock_workaround_ :: ()
activate :: Maybe (Value Bool)
detectorId :: Maybe (Value Text)
expectedBucketOwner :: Maybe (Value Text)
format :: Value Text
location :: Value Text
name :: Maybe (Value Text)
tags :: Maybe [TagItemProperty]
..}
    = TrustedEntitySet {name :: Maybe (Value Text)
name = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Name" TrustedEntitySet
Value Text
newValue, Maybe [TagItemProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
activate :: Maybe (Value Bool)
detectorId :: Maybe (Value Text)
expectedBucketOwner :: Maybe (Value Text)
format :: Value Text
location :: Value Text
tags :: Maybe [TagItemProperty]
haddock_workaround_ :: ()
activate :: Maybe (Value Bool)
detectorId :: Maybe (Value Text)
expectedBucketOwner :: Maybe (Value Text)
format :: Value Text
location :: Value Text
tags :: Maybe [TagItemProperty]
..}
instance Property "Tags" TrustedEntitySet where
  type PropertyType "Tags" TrustedEntitySet = [TagItemProperty]
  set :: PropertyType "Tags" TrustedEntitySet
-> TrustedEntitySet -> TrustedEntitySet
set PropertyType "Tags" TrustedEntitySet
newValue TrustedEntitySet {Maybe [TagItemProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: TrustedEntitySet -> ()
activate :: TrustedEntitySet -> Maybe (Value Bool)
detectorId :: TrustedEntitySet -> Maybe (Value Text)
expectedBucketOwner :: TrustedEntitySet -> Maybe (Value Text)
format :: TrustedEntitySet -> Value Text
location :: TrustedEntitySet -> Value Text
name :: TrustedEntitySet -> Maybe (Value Text)
tags :: TrustedEntitySet -> Maybe [TagItemProperty]
haddock_workaround_ :: ()
activate :: Maybe (Value Bool)
detectorId :: Maybe (Value Text)
expectedBucketOwner :: Maybe (Value Text)
format :: Value Text
location :: Value Text
name :: Maybe (Value Text)
tags :: Maybe [TagItemProperty]
..}
    = TrustedEntitySet {tags :: Maybe [TagItemProperty]
tags = [TagItemProperty] -> Maybe [TagItemProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [TagItemProperty]
PropertyType "Tags" TrustedEntitySet
newValue, Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
activate :: Maybe (Value Bool)
detectorId :: Maybe (Value Text)
expectedBucketOwner :: Maybe (Value Text)
format :: Value Text
location :: Value Text
name :: Maybe (Value Text)
haddock_workaround_ :: ()
activate :: Maybe (Value Bool)
detectorId :: Maybe (Value Text)
expectedBucketOwner :: Maybe (Value Text)
format :: Value Text
location :: Value Text
name :: Maybe (Value Text)
..}