module Stratosphere.QBusiness.WebExperience.BrowserExtensionConfigurationProperty (
        BrowserExtensionConfigurationProperty(..),
        mkBrowserExtensionConfigurationProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data BrowserExtensionConfigurationProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-webexperience-browserextensionconfiguration.html>
    BrowserExtensionConfigurationProperty {BrowserExtensionConfigurationProperty -> ()
haddock_workaround_ :: (),
                                           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-webexperience-browserextensionconfiguration.html#cfn-qbusiness-webexperience-browserextensionconfiguration-enabledbrowserextensions>
                                           BrowserExtensionConfigurationProperty -> ValueList Text
enabledBrowserExtensions :: (ValueList Prelude.Text)}
  deriving stock (BrowserExtensionConfigurationProperty
-> BrowserExtensionConfigurationProperty -> Bool
(BrowserExtensionConfigurationProperty
 -> BrowserExtensionConfigurationProperty -> Bool)
-> (BrowserExtensionConfigurationProperty
    -> BrowserExtensionConfigurationProperty -> Bool)
-> Eq BrowserExtensionConfigurationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: BrowserExtensionConfigurationProperty
-> BrowserExtensionConfigurationProperty -> Bool
== :: BrowserExtensionConfigurationProperty
-> BrowserExtensionConfigurationProperty -> Bool
$c/= :: BrowserExtensionConfigurationProperty
-> BrowserExtensionConfigurationProperty -> Bool
/= :: BrowserExtensionConfigurationProperty
-> BrowserExtensionConfigurationProperty -> Bool
Prelude.Eq, Int -> BrowserExtensionConfigurationProperty -> ShowS
[BrowserExtensionConfigurationProperty] -> ShowS
BrowserExtensionConfigurationProperty -> String
(Int -> BrowserExtensionConfigurationProperty -> ShowS)
-> (BrowserExtensionConfigurationProperty -> String)
-> ([BrowserExtensionConfigurationProperty] -> ShowS)
-> Show BrowserExtensionConfigurationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> BrowserExtensionConfigurationProperty -> ShowS
showsPrec :: Int -> BrowserExtensionConfigurationProperty -> ShowS
$cshow :: BrowserExtensionConfigurationProperty -> String
show :: BrowserExtensionConfigurationProperty -> String
$cshowList :: [BrowserExtensionConfigurationProperty] -> ShowS
showList :: [BrowserExtensionConfigurationProperty] -> ShowS
Prelude.Show)
mkBrowserExtensionConfigurationProperty ::
  ValueList Prelude.Text -> BrowserExtensionConfigurationProperty
mkBrowserExtensionConfigurationProperty :: ValueList Text -> BrowserExtensionConfigurationProperty
mkBrowserExtensionConfigurationProperty ValueList Text
enabledBrowserExtensions
  = BrowserExtensionConfigurationProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (),
       enabledBrowserExtensions :: ValueList Text
enabledBrowserExtensions = ValueList Text
enabledBrowserExtensions}
instance ToResourceProperties BrowserExtensionConfigurationProperty where
  toResourceProperties :: BrowserExtensionConfigurationProperty -> ResourceProperties
toResourceProperties BrowserExtensionConfigurationProperty {()
ValueList Text
haddock_workaround_ :: BrowserExtensionConfigurationProperty -> ()
enabledBrowserExtensions :: BrowserExtensionConfigurationProperty -> ValueList Text
haddock_workaround_ :: ()
enabledBrowserExtensions :: ValueList Text
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::QBusiness::WebExperience.BrowserExtensionConfiguration",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Key
"EnabledBrowserExtensions"
                         Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= ValueList Text
enabledBrowserExtensions]}
instance JSON.ToJSON BrowserExtensionConfigurationProperty where
  toJSON :: BrowserExtensionConfigurationProperty -> Value
toJSON BrowserExtensionConfigurationProperty {()
ValueList Text
haddock_workaround_ :: BrowserExtensionConfigurationProperty -> ()
enabledBrowserExtensions :: BrowserExtensionConfigurationProperty -> ValueList Text
haddock_workaround_ :: ()
enabledBrowserExtensions :: ValueList Text
..}
    = [(Key, Value)] -> Value
JSON.object
        [Key
"EnabledBrowserExtensions" Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= ValueList Text
enabledBrowserExtensions]
instance Property "EnabledBrowserExtensions" BrowserExtensionConfigurationProperty where
  type PropertyType "EnabledBrowserExtensions" BrowserExtensionConfigurationProperty = ValueList Prelude.Text
  set :: PropertyType
  "EnabledBrowserExtensions" BrowserExtensionConfigurationProperty
-> BrowserExtensionConfigurationProperty
-> BrowserExtensionConfigurationProperty
set PropertyType
  "EnabledBrowserExtensions" BrowserExtensionConfigurationProperty
newValue BrowserExtensionConfigurationProperty {()
ValueList Text
haddock_workaround_ :: BrowserExtensionConfigurationProperty -> ()
enabledBrowserExtensions :: BrowserExtensionConfigurationProperty -> ValueList Text
haddock_workaround_ :: ()
enabledBrowserExtensions :: ValueList Text
..}
    = BrowserExtensionConfigurationProperty
        {enabledBrowserExtensions :: ValueList Text
enabledBrowserExtensions = PropertyType
  "EnabledBrowserExtensions" BrowserExtensionConfigurationProperty
ValueList Text
newValue, ()
haddock_workaround_ :: ()
haddock_workaround_ :: ()
..}