module Stratosphere.QBusiness.Application.QuickSightConfigurationProperty (
        QuickSightConfigurationProperty(..),
        mkQuickSightConfigurationProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data QuickSightConfigurationProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-application-quicksightconfiguration.html>
    QuickSightConfigurationProperty {QuickSightConfigurationProperty -> ()
haddock_workaround_ :: (),
                                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-application-quicksightconfiguration.html#cfn-qbusiness-application-quicksightconfiguration-clientnamespace>
                                     QuickSightConfigurationProperty -> Value Text
clientNamespace :: (Value Prelude.Text)}
  deriving stock (QuickSightConfigurationProperty
-> QuickSightConfigurationProperty -> Bool
(QuickSightConfigurationProperty
 -> QuickSightConfigurationProperty -> Bool)
-> (QuickSightConfigurationProperty
    -> QuickSightConfigurationProperty -> Bool)
-> Eq QuickSightConfigurationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: QuickSightConfigurationProperty
-> QuickSightConfigurationProperty -> Bool
== :: QuickSightConfigurationProperty
-> QuickSightConfigurationProperty -> Bool
$c/= :: QuickSightConfigurationProperty
-> QuickSightConfigurationProperty -> Bool
/= :: QuickSightConfigurationProperty
-> QuickSightConfigurationProperty -> Bool
Prelude.Eq, Int -> QuickSightConfigurationProperty -> ShowS
[QuickSightConfigurationProperty] -> ShowS
QuickSightConfigurationProperty -> String
(Int -> QuickSightConfigurationProperty -> ShowS)
-> (QuickSightConfigurationProperty -> String)
-> ([QuickSightConfigurationProperty] -> ShowS)
-> Show QuickSightConfigurationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> QuickSightConfigurationProperty -> ShowS
showsPrec :: Int -> QuickSightConfigurationProperty -> ShowS
$cshow :: QuickSightConfigurationProperty -> String
show :: QuickSightConfigurationProperty -> String
$cshowList :: [QuickSightConfigurationProperty] -> ShowS
showList :: [QuickSightConfigurationProperty] -> ShowS
Prelude.Show)
mkQuickSightConfigurationProperty ::
  Value Prelude.Text -> QuickSightConfigurationProperty
mkQuickSightConfigurationProperty :: Value Text -> QuickSightConfigurationProperty
mkQuickSightConfigurationProperty Value Text
clientNamespace
  = QuickSightConfigurationProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), clientNamespace :: Value Text
clientNamespace = Value Text
clientNamespace}
instance ToResourceProperties QuickSightConfigurationProperty where
  toResourceProperties :: QuickSightConfigurationProperty -> ResourceProperties
toResourceProperties QuickSightConfigurationProperty {()
Value Text
haddock_workaround_ :: QuickSightConfigurationProperty -> ()
clientNamespace :: QuickSightConfigurationProperty -> Value Text
haddock_workaround_ :: ()
clientNamespace :: Value Text
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::QBusiness::Application.QuickSightConfiguration",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Key
"ClientNamespace" 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
clientNamespace]}
instance JSON.ToJSON QuickSightConfigurationProperty where
  toJSON :: QuickSightConfigurationProperty -> Value
toJSON QuickSightConfigurationProperty {()
Value Text
haddock_workaround_ :: QuickSightConfigurationProperty -> ()
clientNamespace :: QuickSightConfigurationProperty -> Value Text
haddock_workaround_ :: ()
clientNamespace :: Value Text
..}
    = [(Key, Value)] -> Value
JSON.object [Key
"ClientNamespace" 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
clientNamespace]
instance Property "ClientNamespace" QuickSightConfigurationProperty where
  type PropertyType "ClientNamespace" QuickSightConfigurationProperty = Value Prelude.Text
  set :: PropertyType "ClientNamespace" QuickSightConfigurationProperty
-> QuickSightConfigurationProperty
-> QuickSightConfigurationProperty
set PropertyType "ClientNamespace" QuickSightConfigurationProperty
newValue QuickSightConfigurationProperty {()
Value Text
haddock_workaround_ :: QuickSightConfigurationProperty -> ()
clientNamespace :: QuickSightConfigurationProperty -> Value Text
haddock_workaround_ :: ()
clientNamespace :: Value Text
..}
    = QuickSightConfigurationProperty {clientNamespace :: Value Text
clientNamespace = PropertyType "ClientNamespace" QuickSightConfigurationProperty
Value Text
newValue, ()
haddock_workaround_ :: ()
haddock_workaround_ :: ()
..}