module Stratosphere.QuickSight.Dashboard.KPIVisualStandardLayoutProperty (
        KPIVisualStandardLayoutProperty(..),
        mkKPIVisualStandardLayoutProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data KPIVisualStandardLayoutProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpivisualstandardlayout.html>
    KPIVisualStandardLayoutProperty {KPIVisualStandardLayoutProperty -> ()
haddock_workaround_ :: (),
                                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-kpivisualstandardlayout.html#cfn-quicksight-dashboard-kpivisualstandardlayout-type>
                                     KPIVisualStandardLayoutProperty -> Value Text
type' :: (Value Prelude.Text)}
  deriving stock (KPIVisualStandardLayoutProperty
-> KPIVisualStandardLayoutProperty -> Bool
(KPIVisualStandardLayoutProperty
 -> KPIVisualStandardLayoutProperty -> Bool)
-> (KPIVisualStandardLayoutProperty
    -> KPIVisualStandardLayoutProperty -> Bool)
-> Eq KPIVisualStandardLayoutProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: KPIVisualStandardLayoutProperty
-> KPIVisualStandardLayoutProperty -> Bool
== :: KPIVisualStandardLayoutProperty
-> KPIVisualStandardLayoutProperty -> Bool
$c/= :: KPIVisualStandardLayoutProperty
-> KPIVisualStandardLayoutProperty -> Bool
/= :: KPIVisualStandardLayoutProperty
-> KPIVisualStandardLayoutProperty -> Bool
Prelude.Eq, Int -> KPIVisualStandardLayoutProperty -> ShowS
[KPIVisualStandardLayoutProperty] -> ShowS
KPIVisualStandardLayoutProperty -> String
(Int -> KPIVisualStandardLayoutProperty -> ShowS)
-> (KPIVisualStandardLayoutProperty -> String)
-> ([KPIVisualStandardLayoutProperty] -> ShowS)
-> Show KPIVisualStandardLayoutProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> KPIVisualStandardLayoutProperty -> ShowS
showsPrec :: Int -> KPIVisualStandardLayoutProperty -> ShowS
$cshow :: KPIVisualStandardLayoutProperty -> String
show :: KPIVisualStandardLayoutProperty -> String
$cshowList :: [KPIVisualStandardLayoutProperty] -> ShowS
showList :: [KPIVisualStandardLayoutProperty] -> ShowS
Prelude.Show)
mkKPIVisualStandardLayoutProperty ::
  Value Prelude.Text -> KPIVisualStandardLayoutProperty
mkKPIVisualStandardLayoutProperty :: Value Text -> KPIVisualStandardLayoutProperty
mkKPIVisualStandardLayoutProperty Value Text
type'
  = KPIVisualStandardLayoutProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), type' :: Value Text
type' = Value Text
type'}
instance ToResourceProperties KPIVisualStandardLayoutProperty where
  toResourceProperties :: KPIVisualStandardLayoutProperty -> ResourceProperties
toResourceProperties KPIVisualStandardLayoutProperty {()
Value Text
haddock_workaround_ :: KPIVisualStandardLayoutProperty -> ()
type' :: KPIVisualStandardLayoutProperty -> Value Text
haddock_workaround_ :: ()
type' :: Value Text
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::QuickSight::Dashboard.KPIVisualStandardLayout",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False, properties :: Object
properties = [Key
"Type" 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
type']}
instance JSON.ToJSON KPIVisualStandardLayoutProperty where
  toJSON :: KPIVisualStandardLayoutProperty -> Value
toJSON KPIVisualStandardLayoutProperty {()
Value Text
haddock_workaround_ :: KPIVisualStandardLayoutProperty -> ()
type' :: KPIVisualStandardLayoutProperty -> Value Text
haddock_workaround_ :: ()
type' :: Value Text
..}
    = [(Key, Value)] -> Value
JSON.object [Key
"Type" 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
type']
instance Property "Type" KPIVisualStandardLayoutProperty where
  type PropertyType "Type" KPIVisualStandardLayoutProperty = Value Prelude.Text
  set :: PropertyType "Type" KPIVisualStandardLayoutProperty
-> KPIVisualStandardLayoutProperty
-> KPIVisualStandardLayoutProperty
set PropertyType "Type" KPIVisualStandardLayoutProperty
newValue KPIVisualStandardLayoutProperty {()
Value Text
haddock_workaround_ :: KPIVisualStandardLayoutProperty -> ()
type' :: KPIVisualStandardLayoutProperty -> Value Text
haddock_workaround_ :: ()
type' :: Value Text
..}
    = KPIVisualStandardLayoutProperty {type' :: Value Text
type' = PropertyType "Type" KPIVisualStandardLayoutProperty
Value Text
newValue, ()
haddock_workaround_ :: ()
haddock_workaround_ :: ()
..}