module Stratosphere.HealthLake.FHIRDatastore (
        module Exports, FHIRDatastore(..), mkFHIRDatastore
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.HealthLake.FHIRDatastore.IdentityProviderConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.HealthLake.FHIRDatastore.PreloadDataConfigProperty as Exports
import {-# SOURCE #-} Stratosphere.HealthLake.FHIRDatastore.SseConfigurationProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data FHIRDatastore
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-healthlake-fhirdatastore.html>
    FHIRDatastore {FHIRDatastore -> ()
haddock_workaround_ :: (),
                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-healthlake-fhirdatastore.html#cfn-healthlake-fhirdatastore-datastorename>
                   FHIRDatastore -> Maybe (Value Text)
datastoreName :: (Prelude.Maybe (Value Prelude.Text)),
                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-healthlake-fhirdatastore.html#cfn-healthlake-fhirdatastore-datastoretypeversion>
                   FHIRDatastore -> Value Text
datastoreTypeVersion :: (Value Prelude.Text),
                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-healthlake-fhirdatastore.html#cfn-healthlake-fhirdatastore-identityproviderconfiguration>
                   FHIRDatastore -> Maybe IdentityProviderConfigurationProperty
identityProviderConfiguration :: (Prelude.Maybe IdentityProviderConfigurationProperty),
                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-healthlake-fhirdatastore.html#cfn-healthlake-fhirdatastore-preloaddataconfig>
                   FHIRDatastore -> Maybe PreloadDataConfigProperty
preloadDataConfig :: (Prelude.Maybe PreloadDataConfigProperty),
                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-healthlake-fhirdatastore.html#cfn-healthlake-fhirdatastore-sseconfiguration>
                   FHIRDatastore -> Maybe SseConfigurationProperty
sseConfiguration :: (Prelude.Maybe SseConfigurationProperty),
                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-healthlake-fhirdatastore.html#cfn-healthlake-fhirdatastore-tags>
                   FHIRDatastore -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag])}
  deriving stock (FHIRDatastore -> FHIRDatastore -> Bool
(FHIRDatastore -> FHIRDatastore -> Bool)
-> (FHIRDatastore -> FHIRDatastore -> Bool) -> Eq FHIRDatastore
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: FHIRDatastore -> FHIRDatastore -> Bool
== :: FHIRDatastore -> FHIRDatastore -> Bool
$c/= :: FHIRDatastore -> FHIRDatastore -> Bool
/= :: FHIRDatastore -> FHIRDatastore -> Bool
Prelude.Eq, Int -> FHIRDatastore -> ShowS
[FHIRDatastore] -> ShowS
FHIRDatastore -> String
(Int -> FHIRDatastore -> ShowS)
-> (FHIRDatastore -> String)
-> ([FHIRDatastore] -> ShowS)
-> Show FHIRDatastore
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> FHIRDatastore -> ShowS
showsPrec :: Int -> FHIRDatastore -> ShowS
$cshow :: FHIRDatastore -> String
show :: FHIRDatastore -> String
$cshowList :: [FHIRDatastore] -> ShowS
showList :: [FHIRDatastore] -> ShowS
Prelude.Show)
mkFHIRDatastore :: Value Prelude.Text -> FHIRDatastore
mkFHIRDatastore :: Value Text -> FHIRDatastore
mkFHIRDatastore Value Text
datastoreTypeVersion
  = FHIRDatastore
      {haddock_workaround_ :: ()
haddock_workaround_ = (),
       datastoreTypeVersion :: Value Text
datastoreTypeVersion = Value Text
datastoreTypeVersion,
       datastoreName :: Maybe (Value Text)
datastoreName = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       identityProviderConfiguration :: Maybe IdentityProviderConfigurationProperty
identityProviderConfiguration = Maybe IdentityProviderConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
       preloadDataConfig :: Maybe PreloadDataConfigProperty
preloadDataConfig = Maybe PreloadDataConfigProperty
forall a. Maybe a
Prelude.Nothing,
       sseConfiguration :: Maybe SseConfigurationProperty
sseConfiguration = Maybe SseConfigurationProperty
forall a. Maybe a
Prelude.Nothing, tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties FHIRDatastore where
  toResourceProperties :: FHIRDatastore -> ResourceProperties
toResourceProperties FHIRDatastore {Maybe [Tag]
Maybe (Value Text)
Maybe IdentityProviderConfigurationProperty
Maybe PreloadDataConfigProperty
Maybe SseConfigurationProperty
()
Value Text
haddock_workaround_ :: FHIRDatastore -> ()
datastoreName :: FHIRDatastore -> Maybe (Value Text)
datastoreTypeVersion :: FHIRDatastore -> Value Text
identityProviderConfiguration :: FHIRDatastore -> Maybe IdentityProviderConfigurationProperty
preloadDataConfig :: FHIRDatastore -> Maybe PreloadDataConfigProperty
sseConfiguration :: FHIRDatastore -> Maybe SseConfigurationProperty
tags :: FHIRDatastore -> Maybe [Tag]
haddock_workaround_ :: ()
datastoreName :: Maybe (Value Text)
datastoreTypeVersion :: Value Text
identityProviderConfiguration :: Maybe IdentityProviderConfigurationProperty
preloadDataConfig :: Maybe PreloadDataConfigProperty
sseConfiguration :: Maybe SseConfigurationProperty
tags :: Maybe [Tag]
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::HealthLake::FHIRDatastore",
         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
"DatastoreTypeVersion" 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
datastoreTypeVersion]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [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
"DatastoreName" (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)
datastoreName,
                               Key -> IdentityProviderConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"IdentityProviderConfiguration"
                                 (IdentityProviderConfigurationProperty -> (Key, Value))
-> Maybe IdentityProviderConfigurationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe IdentityProviderConfigurationProperty
identityProviderConfiguration,
                               Key -> PreloadDataConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"PreloadDataConfig" (PreloadDataConfigProperty -> (Key, Value))
-> Maybe PreloadDataConfigProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe PreloadDataConfigProperty
preloadDataConfig,
                               Key -> SseConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SseConfiguration" (SseConfigurationProperty -> (Key, Value))
-> Maybe SseConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe SseConfigurationProperty
sseConfiguration,
                               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 FHIRDatastore where
  toJSON :: FHIRDatastore -> Value
toJSON FHIRDatastore {Maybe [Tag]
Maybe (Value Text)
Maybe IdentityProviderConfigurationProperty
Maybe PreloadDataConfigProperty
Maybe SseConfigurationProperty
()
Value Text
haddock_workaround_ :: FHIRDatastore -> ()
datastoreName :: FHIRDatastore -> Maybe (Value Text)
datastoreTypeVersion :: FHIRDatastore -> Value Text
identityProviderConfiguration :: FHIRDatastore -> Maybe IdentityProviderConfigurationProperty
preloadDataConfig :: FHIRDatastore -> Maybe PreloadDataConfigProperty
sseConfiguration :: FHIRDatastore -> Maybe SseConfigurationProperty
tags :: FHIRDatastore -> Maybe [Tag]
haddock_workaround_ :: ()
datastoreName :: Maybe (Value Text)
datastoreTypeVersion :: Value Text
identityProviderConfiguration :: Maybe IdentityProviderConfigurationProperty
preloadDataConfig :: Maybe PreloadDataConfigProperty
sseConfiguration :: Maybe SseConfigurationProperty
tags :: Maybe [Tag]
..}
    = [(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
"DatastoreTypeVersion" 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
datastoreTypeVersion]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [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
"DatastoreName" (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)
datastoreName,
                  Key -> IdentityProviderConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"IdentityProviderConfiguration"
                    (IdentityProviderConfigurationProperty -> (Key, Value))
-> Maybe IdentityProviderConfigurationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe IdentityProviderConfigurationProperty
identityProviderConfiguration,
                  Key -> PreloadDataConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"PreloadDataConfig" (PreloadDataConfigProperty -> (Key, Value))
-> Maybe PreloadDataConfigProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe PreloadDataConfigProperty
preloadDataConfig,
                  Key -> SseConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SseConfiguration" (SseConfigurationProperty -> (Key, Value))
-> Maybe SseConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe SseConfigurationProperty
sseConfiguration,
                  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 "DatastoreName" FHIRDatastore where
  type PropertyType "DatastoreName" FHIRDatastore = Value Prelude.Text
  set :: PropertyType "DatastoreName" FHIRDatastore
-> FHIRDatastore -> FHIRDatastore
set PropertyType "DatastoreName" FHIRDatastore
newValue FHIRDatastore {Maybe [Tag]
Maybe (Value Text)
Maybe IdentityProviderConfigurationProperty
Maybe PreloadDataConfigProperty
Maybe SseConfigurationProperty
()
Value Text
haddock_workaround_ :: FHIRDatastore -> ()
datastoreName :: FHIRDatastore -> Maybe (Value Text)
datastoreTypeVersion :: FHIRDatastore -> Value Text
identityProviderConfiguration :: FHIRDatastore -> Maybe IdentityProviderConfigurationProperty
preloadDataConfig :: FHIRDatastore -> Maybe PreloadDataConfigProperty
sseConfiguration :: FHIRDatastore -> Maybe SseConfigurationProperty
tags :: FHIRDatastore -> Maybe [Tag]
haddock_workaround_ :: ()
datastoreName :: Maybe (Value Text)
datastoreTypeVersion :: Value Text
identityProviderConfiguration :: Maybe IdentityProviderConfigurationProperty
preloadDataConfig :: Maybe PreloadDataConfigProperty
sseConfiguration :: Maybe SseConfigurationProperty
tags :: Maybe [Tag]
..}
    = FHIRDatastore {datastoreName :: Maybe (Value Text)
datastoreName = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DatastoreName" FHIRDatastore
Value Text
newValue, Maybe [Tag]
Maybe IdentityProviderConfigurationProperty
Maybe PreloadDataConfigProperty
Maybe SseConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
datastoreTypeVersion :: Value Text
identityProviderConfiguration :: Maybe IdentityProviderConfigurationProperty
preloadDataConfig :: Maybe PreloadDataConfigProperty
sseConfiguration :: Maybe SseConfigurationProperty
tags :: Maybe [Tag]
haddock_workaround_ :: ()
datastoreTypeVersion :: Value Text
identityProviderConfiguration :: Maybe IdentityProviderConfigurationProperty
preloadDataConfig :: Maybe PreloadDataConfigProperty
sseConfiguration :: Maybe SseConfigurationProperty
tags :: Maybe [Tag]
..}
instance Property "DatastoreTypeVersion" FHIRDatastore where
  type PropertyType "DatastoreTypeVersion" FHIRDatastore = Value Prelude.Text
  set :: PropertyType "DatastoreTypeVersion" FHIRDatastore
-> FHIRDatastore -> FHIRDatastore
set PropertyType "DatastoreTypeVersion" FHIRDatastore
newValue FHIRDatastore {Maybe [Tag]
Maybe (Value Text)
Maybe IdentityProviderConfigurationProperty
Maybe PreloadDataConfigProperty
Maybe SseConfigurationProperty
()
Value Text
haddock_workaround_ :: FHIRDatastore -> ()
datastoreName :: FHIRDatastore -> Maybe (Value Text)
datastoreTypeVersion :: FHIRDatastore -> Value Text
identityProviderConfiguration :: FHIRDatastore -> Maybe IdentityProviderConfigurationProperty
preloadDataConfig :: FHIRDatastore -> Maybe PreloadDataConfigProperty
sseConfiguration :: FHIRDatastore -> Maybe SseConfigurationProperty
tags :: FHIRDatastore -> Maybe [Tag]
haddock_workaround_ :: ()
datastoreName :: Maybe (Value Text)
datastoreTypeVersion :: Value Text
identityProviderConfiguration :: Maybe IdentityProviderConfigurationProperty
preloadDataConfig :: Maybe PreloadDataConfigProperty
sseConfiguration :: Maybe SseConfigurationProperty
tags :: Maybe [Tag]
..}
    = FHIRDatastore {datastoreTypeVersion :: Value Text
datastoreTypeVersion = PropertyType "DatastoreTypeVersion" FHIRDatastore
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe IdentityProviderConfigurationProperty
Maybe PreloadDataConfigProperty
Maybe SseConfigurationProperty
()
haddock_workaround_ :: ()
datastoreName :: Maybe (Value Text)
identityProviderConfiguration :: Maybe IdentityProviderConfigurationProperty
preloadDataConfig :: Maybe PreloadDataConfigProperty
sseConfiguration :: Maybe SseConfigurationProperty
tags :: Maybe [Tag]
haddock_workaround_ :: ()
datastoreName :: Maybe (Value Text)
identityProviderConfiguration :: Maybe IdentityProviderConfigurationProperty
preloadDataConfig :: Maybe PreloadDataConfigProperty
sseConfiguration :: Maybe SseConfigurationProperty
tags :: Maybe [Tag]
..}
instance Property "IdentityProviderConfiguration" FHIRDatastore where
  type PropertyType "IdentityProviderConfiguration" FHIRDatastore = IdentityProviderConfigurationProperty
  set :: PropertyType "IdentityProviderConfiguration" FHIRDatastore
-> FHIRDatastore -> FHIRDatastore
set PropertyType "IdentityProviderConfiguration" FHIRDatastore
newValue FHIRDatastore {Maybe [Tag]
Maybe (Value Text)
Maybe IdentityProviderConfigurationProperty
Maybe PreloadDataConfigProperty
Maybe SseConfigurationProperty
()
Value Text
haddock_workaround_ :: FHIRDatastore -> ()
datastoreName :: FHIRDatastore -> Maybe (Value Text)
datastoreTypeVersion :: FHIRDatastore -> Value Text
identityProviderConfiguration :: FHIRDatastore -> Maybe IdentityProviderConfigurationProperty
preloadDataConfig :: FHIRDatastore -> Maybe PreloadDataConfigProperty
sseConfiguration :: FHIRDatastore -> Maybe SseConfigurationProperty
tags :: FHIRDatastore -> Maybe [Tag]
haddock_workaround_ :: ()
datastoreName :: Maybe (Value Text)
datastoreTypeVersion :: Value Text
identityProviderConfiguration :: Maybe IdentityProviderConfigurationProperty
preloadDataConfig :: Maybe PreloadDataConfigProperty
sseConfiguration :: Maybe SseConfigurationProperty
tags :: Maybe [Tag]
..}
    = FHIRDatastore
        {identityProviderConfiguration :: Maybe IdentityProviderConfigurationProperty
identityProviderConfiguration = IdentityProviderConfigurationProperty
-> Maybe IdentityProviderConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "IdentityProviderConfiguration" FHIRDatastore
IdentityProviderConfigurationProperty
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe PreloadDataConfigProperty
Maybe SseConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
datastoreName :: Maybe (Value Text)
datastoreTypeVersion :: Value Text
preloadDataConfig :: Maybe PreloadDataConfigProperty
sseConfiguration :: Maybe SseConfigurationProperty
tags :: Maybe [Tag]
haddock_workaround_ :: ()
datastoreName :: Maybe (Value Text)
datastoreTypeVersion :: Value Text
preloadDataConfig :: Maybe PreloadDataConfigProperty
sseConfiguration :: Maybe SseConfigurationProperty
tags :: Maybe [Tag]
..}
instance Property "PreloadDataConfig" FHIRDatastore where
  type PropertyType "PreloadDataConfig" FHIRDatastore = PreloadDataConfigProperty
  set :: PropertyType "PreloadDataConfig" FHIRDatastore
-> FHIRDatastore -> FHIRDatastore
set PropertyType "PreloadDataConfig" FHIRDatastore
newValue FHIRDatastore {Maybe [Tag]
Maybe (Value Text)
Maybe IdentityProviderConfigurationProperty
Maybe PreloadDataConfigProperty
Maybe SseConfigurationProperty
()
Value Text
haddock_workaround_ :: FHIRDatastore -> ()
datastoreName :: FHIRDatastore -> Maybe (Value Text)
datastoreTypeVersion :: FHIRDatastore -> Value Text
identityProviderConfiguration :: FHIRDatastore -> Maybe IdentityProviderConfigurationProperty
preloadDataConfig :: FHIRDatastore -> Maybe PreloadDataConfigProperty
sseConfiguration :: FHIRDatastore -> Maybe SseConfigurationProperty
tags :: FHIRDatastore -> Maybe [Tag]
haddock_workaround_ :: ()
datastoreName :: Maybe (Value Text)
datastoreTypeVersion :: Value Text
identityProviderConfiguration :: Maybe IdentityProviderConfigurationProperty
preloadDataConfig :: Maybe PreloadDataConfigProperty
sseConfiguration :: Maybe SseConfigurationProperty
tags :: Maybe [Tag]
..}
    = FHIRDatastore {preloadDataConfig :: Maybe PreloadDataConfigProperty
preloadDataConfig = PreloadDataConfigProperty -> Maybe PreloadDataConfigProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "PreloadDataConfig" FHIRDatastore
PreloadDataConfigProperty
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe IdentityProviderConfigurationProperty
Maybe SseConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
datastoreName :: Maybe (Value Text)
datastoreTypeVersion :: Value Text
identityProviderConfiguration :: Maybe IdentityProviderConfigurationProperty
sseConfiguration :: Maybe SseConfigurationProperty
tags :: Maybe [Tag]
haddock_workaround_ :: ()
datastoreName :: Maybe (Value Text)
datastoreTypeVersion :: Value Text
identityProviderConfiguration :: Maybe IdentityProviderConfigurationProperty
sseConfiguration :: Maybe SseConfigurationProperty
tags :: Maybe [Tag]
..}
instance Property "SseConfiguration" FHIRDatastore where
  type PropertyType "SseConfiguration" FHIRDatastore = SseConfigurationProperty
  set :: PropertyType "SseConfiguration" FHIRDatastore
-> FHIRDatastore -> FHIRDatastore
set PropertyType "SseConfiguration" FHIRDatastore
newValue FHIRDatastore {Maybe [Tag]
Maybe (Value Text)
Maybe IdentityProviderConfigurationProperty
Maybe PreloadDataConfigProperty
Maybe SseConfigurationProperty
()
Value Text
haddock_workaround_ :: FHIRDatastore -> ()
datastoreName :: FHIRDatastore -> Maybe (Value Text)
datastoreTypeVersion :: FHIRDatastore -> Value Text
identityProviderConfiguration :: FHIRDatastore -> Maybe IdentityProviderConfigurationProperty
preloadDataConfig :: FHIRDatastore -> Maybe PreloadDataConfigProperty
sseConfiguration :: FHIRDatastore -> Maybe SseConfigurationProperty
tags :: FHIRDatastore -> Maybe [Tag]
haddock_workaround_ :: ()
datastoreName :: Maybe (Value Text)
datastoreTypeVersion :: Value Text
identityProviderConfiguration :: Maybe IdentityProviderConfigurationProperty
preloadDataConfig :: Maybe PreloadDataConfigProperty
sseConfiguration :: Maybe SseConfigurationProperty
tags :: Maybe [Tag]
..}
    = FHIRDatastore {sseConfiguration :: Maybe SseConfigurationProperty
sseConfiguration = SseConfigurationProperty -> Maybe SseConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "SseConfiguration" FHIRDatastore
SseConfigurationProperty
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe IdentityProviderConfigurationProperty
Maybe PreloadDataConfigProperty
()
Value Text
haddock_workaround_ :: ()
datastoreName :: Maybe (Value Text)
datastoreTypeVersion :: Value Text
identityProviderConfiguration :: Maybe IdentityProviderConfigurationProperty
preloadDataConfig :: Maybe PreloadDataConfigProperty
tags :: Maybe [Tag]
haddock_workaround_ :: ()
datastoreName :: Maybe (Value Text)
datastoreTypeVersion :: Value Text
identityProviderConfiguration :: Maybe IdentityProviderConfigurationProperty
preloadDataConfig :: Maybe PreloadDataConfigProperty
tags :: Maybe [Tag]
..}
instance Property "Tags" FHIRDatastore where
  type PropertyType "Tags" FHIRDatastore = [Tag]
  set :: PropertyType "Tags" FHIRDatastore -> FHIRDatastore -> FHIRDatastore
set PropertyType "Tags" FHIRDatastore
newValue FHIRDatastore {Maybe [Tag]
Maybe (Value Text)
Maybe IdentityProviderConfigurationProperty
Maybe PreloadDataConfigProperty
Maybe SseConfigurationProperty
()
Value Text
haddock_workaround_ :: FHIRDatastore -> ()
datastoreName :: FHIRDatastore -> Maybe (Value Text)
datastoreTypeVersion :: FHIRDatastore -> Value Text
identityProviderConfiguration :: FHIRDatastore -> Maybe IdentityProviderConfigurationProperty
preloadDataConfig :: FHIRDatastore -> Maybe PreloadDataConfigProperty
sseConfiguration :: FHIRDatastore -> Maybe SseConfigurationProperty
tags :: FHIRDatastore -> Maybe [Tag]
haddock_workaround_ :: ()
datastoreName :: Maybe (Value Text)
datastoreTypeVersion :: Value Text
identityProviderConfiguration :: Maybe IdentityProviderConfigurationProperty
preloadDataConfig :: Maybe PreloadDataConfigProperty
sseConfiguration :: Maybe SseConfigurationProperty
tags :: Maybe [Tag]
..}
    = FHIRDatastore {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" FHIRDatastore
newValue, Maybe (Value Text)
Maybe IdentityProviderConfigurationProperty
Maybe PreloadDataConfigProperty
Maybe SseConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
datastoreName :: Maybe (Value Text)
datastoreTypeVersion :: Value Text
identityProviderConfiguration :: Maybe IdentityProviderConfigurationProperty
preloadDataConfig :: Maybe PreloadDataConfigProperty
sseConfiguration :: Maybe SseConfigurationProperty
haddock_workaround_ :: ()
datastoreName :: Maybe (Value Text)
datastoreTypeVersion :: Value Text
identityProviderConfiguration :: Maybe IdentityProviderConfigurationProperty
preloadDataConfig :: Maybe PreloadDataConfigProperty
sseConfiguration :: Maybe SseConfigurationProperty
..}