module Stratosphere.QuickSight.Template.FunnelChartFieldWellsProperty (
module Exports, FunnelChartFieldWellsProperty(..),
mkFunnelChartFieldWellsProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.QuickSight.Template.FunnelChartAggregatedFieldWellsProperty as Exports
import Stratosphere.ResourceProperties
data FunnelChartFieldWellsProperty
=
FunnelChartFieldWellsProperty {FunnelChartFieldWellsProperty -> ()
haddock_workaround_ :: (),
FunnelChartFieldWellsProperty
-> Maybe FunnelChartAggregatedFieldWellsProperty
funnelChartAggregatedFieldWells :: (Prelude.Maybe FunnelChartAggregatedFieldWellsProperty)}
deriving stock (FunnelChartFieldWellsProperty
-> FunnelChartFieldWellsProperty -> Bool
(FunnelChartFieldWellsProperty
-> FunnelChartFieldWellsProperty -> Bool)
-> (FunnelChartFieldWellsProperty
-> FunnelChartFieldWellsProperty -> Bool)
-> Eq FunnelChartFieldWellsProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: FunnelChartFieldWellsProperty
-> FunnelChartFieldWellsProperty -> Bool
== :: FunnelChartFieldWellsProperty
-> FunnelChartFieldWellsProperty -> Bool
$c/= :: FunnelChartFieldWellsProperty
-> FunnelChartFieldWellsProperty -> Bool
/= :: FunnelChartFieldWellsProperty
-> FunnelChartFieldWellsProperty -> Bool
Prelude.Eq, Int -> FunnelChartFieldWellsProperty -> ShowS
[FunnelChartFieldWellsProperty] -> ShowS
FunnelChartFieldWellsProperty -> String
(Int -> FunnelChartFieldWellsProperty -> ShowS)
-> (FunnelChartFieldWellsProperty -> String)
-> ([FunnelChartFieldWellsProperty] -> ShowS)
-> Show FunnelChartFieldWellsProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> FunnelChartFieldWellsProperty -> ShowS
showsPrec :: Int -> FunnelChartFieldWellsProperty -> ShowS
$cshow :: FunnelChartFieldWellsProperty -> String
show :: FunnelChartFieldWellsProperty -> String
$cshowList :: [FunnelChartFieldWellsProperty] -> ShowS
showList :: [FunnelChartFieldWellsProperty] -> ShowS
Prelude.Show)
mkFunnelChartFieldWellsProperty :: FunnelChartFieldWellsProperty
mkFunnelChartFieldWellsProperty :: FunnelChartFieldWellsProperty
mkFunnelChartFieldWellsProperty
= FunnelChartFieldWellsProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (),
funnelChartAggregatedFieldWells :: Maybe FunnelChartAggregatedFieldWellsProperty
funnelChartAggregatedFieldWells = Maybe FunnelChartAggregatedFieldWellsProperty
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties FunnelChartFieldWellsProperty where
toResourceProperties :: FunnelChartFieldWellsProperty -> ResourceProperties
toResourceProperties FunnelChartFieldWellsProperty {Maybe FunnelChartAggregatedFieldWellsProperty
()
haddock_workaround_ :: FunnelChartFieldWellsProperty -> ()
funnelChartAggregatedFieldWells :: FunnelChartFieldWellsProperty
-> Maybe FunnelChartAggregatedFieldWellsProperty
haddock_workaround_ :: ()
funnelChartAggregatedFieldWells :: Maybe FunnelChartAggregatedFieldWellsProperty
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::QuickSight::Template.FunnelChartFieldWells",
supportsTags :: Bool
supportsTags = Bool
Prelude.False,
properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> FunnelChartAggregatedFieldWellsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"FunnelChartAggregatedFieldWells"
(FunnelChartAggregatedFieldWellsProperty -> (Key, Value))
-> Maybe FunnelChartAggregatedFieldWellsProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe FunnelChartAggregatedFieldWellsProperty
funnelChartAggregatedFieldWells])}
instance JSON.ToJSON FunnelChartFieldWellsProperty where
toJSON :: FunnelChartFieldWellsProperty -> Value
toJSON FunnelChartFieldWellsProperty {Maybe FunnelChartAggregatedFieldWellsProperty
()
haddock_workaround_ :: FunnelChartFieldWellsProperty -> ()
funnelChartAggregatedFieldWells :: FunnelChartFieldWellsProperty
-> Maybe FunnelChartAggregatedFieldWellsProperty
haddock_workaround_ :: ()
funnelChartAggregatedFieldWells :: Maybe FunnelChartAggregatedFieldWellsProperty
..}
= [(Key, Value)] -> Value
JSON.object
([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> FunnelChartAggregatedFieldWellsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"FunnelChartAggregatedFieldWells"
(FunnelChartAggregatedFieldWellsProperty -> (Key, Value))
-> Maybe FunnelChartAggregatedFieldWellsProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe FunnelChartAggregatedFieldWellsProperty
funnelChartAggregatedFieldWells]))
instance Property "FunnelChartAggregatedFieldWells" FunnelChartFieldWellsProperty where
type PropertyType "FunnelChartAggregatedFieldWells" FunnelChartFieldWellsProperty = FunnelChartAggregatedFieldWellsProperty
set :: PropertyType
"FunnelChartAggregatedFieldWells" FunnelChartFieldWellsProperty
-> FunnelChartFieldWellsProperty -> FunnelChartFieldWellsProperty
set PropertyType
"FunnelChartAggregatedFieldWells" FunnelChartFieldWellsProperty
newValue FunnelChartFieldWellsProperty {Maybe FunnelChartAggregatedFieldWellsProperty
()
haddock_workaround_ :: FunnelChartFieldWellsProperty -> ()
funnelChartAggregatedFieldWells :: FunnelChartFieldWellsProperty
-> Maybe FunnelChartAggregatedFieldWellsProperty
haddock_workaround_ :: ()
funnelChartAggregatedFieldWells :: Maybe FunnelChartAggregatedFieldWellsProperty
..}
= FunnelChartFieldWellsProperty
{funnelChartAggregatedFieldWells :: Maybe FunnelChartAggregatedFieldWellsProperty
funnelChartAggregatedFieldWells = FunnelChartAggregatedFieldWellsProperty
-> Maybe FunnelChartAggregatedFieldWellsProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
"FunnelChartAggregatedFieldWells" FunnelChartFieldWellsProperty
FunnelChartAggregatedFieldWellsProperty
newValue, ()
haddock_workaround_ :: ()
haddock_workaround_ :: ()
..}