module Stratosphere.QuickSight.Template.RadarChartSortConfigurationProperty (
module Exports, RadarChartSortConfigurationProperty(..),
mkRadarChartSortConfigurationProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.QuickSight.Template.FieldSortOptionsProperty as Exports
import {-# SOURCE #-} Stratosphere.QuickSight.Template.ItemsLimitConfigurationProperty as Exports
import Stratosphere.ResourceProperties
data RadarChartSortConfigurationProperty
=
RadarChartSortConfigurationProperty {RadarChartSortConfigurationProperty -> ()
haddock_workaround_ :: (),
RadarChartSortConfigurationProperty
-> Maybe ItemsLimitConfigurationProperty
categoryItemsLimit :: (Prelude.Maybe ItemsLimitConfigurationProperty),
RadarChartSortConfigurationProperty
-> Maybe [FieldSortOptionsProperty]
categorySort :: (Prelude.Maybe [FieldSortOptionsProperty]),
RadarChartSortConfigurationProperty
-> Maybe ItemsLimitConfigurationProperty
colorItemsLimit :: (Prelude.Maybe ItemsLimitConfigurationProperty),
RadarChartSortConfigurationProperty
-> Maybe [FieldSortOptionsProperty]
colorSort :: (Prelude.Maybe [FieldSortOptionsProperty])}
deriving stock (RadarChartSortConfigurationProperty
-> RadarChartSortConfigurationProperty -> Bool
(RadarChartSortConfigurationProperty
-> RadarChartSortConfigurationProperty -> Bool)
-> (RadarChartSortConfigurationProperty
-> RadarChartSortConfigurationProperty -> Bool)
-> Eq RadarChartSortConfigurationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: RadarChartSortConfigurationProperty
-> RadarChartSortConfigurationProperty -> Bool
== :: RadarChartSortConfigurationProperty
-> RadarChartSortConfigurationProperty -> Bool
$c/= :: RadarChartSortConfigurationProperty
-> RadarChartSortConfigurationProperty -> Bool
/= :: RadarChartSortConfigurationProperty
-> RadarChartSortConfigurationProperty -> Bool
Prelude.Eq, Int -> RadarChartSortConfigurationProperty -> ShowS
[RadarChartSortConfigurationProperty] -> ShowS
RadarChartSortConfigurationProperty -> String
(Int -> RadarChartSortConfigurationProperty -> ShowS)
-> (RadarChartSortConfigurationProperty -> String)
-> ([RadarChartSortConfigurationProperty] -> ShowS)
-> Show RadarChartSortConfigurationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> RadarChartSortConfigurationProperty -> ShowS
showsPrec :: Int -> RadarChartSortConfigurationProperty -> ShowS
$cshow :: RadarChartSortConfigurationProperty -> String
show :: RadarChartSortConfigurationProperty -> String
$cshowList :: [RadarChartSortConfigurationProperty] -> ShowS
showList :: [RadarChartSortConfigurationProperty] -> ShowS
Prelude.Show)
mkRadarChartSortConfigurationProperty ::
RadarChartSortConfigurationProperty
mkRadarChartSortConfigurationProperty :: RadarChartSortConfigurationProperty
mkRadarChartSortConfigurationProperty
= RadarChartSortConfigurationProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), categoryItemsLimit :: Maybe ItemsLimitConfigurationProperty
categoryItemsLimit = Maybe ItemsLimitConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
categorySort :: Maybe [FieldSortOptionsProperty]
categorySort = Maybe [FieldSortOptionsProperty]
forall a. Maybe a
Prelude.Nothing, colorItemsLimit :: Maybe ItemsLimitConfigurationProperty
colorItemsLimit = Maybe ItemsLimitConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
colorSort :: Maybe [FieldSortOptionsProperty]
colorSort = Maybe [FieldSortOptionsProperty]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties RadarChartSortConfigurationProperty where
toResourceProperties :: RadarChartSortConfigurationProperty -> ResourceProperties
toResourceProperties RadarChartSortConfigurationProperty {Maybe [FieldSortOptionsProperty]
Maybe ItemsLimitConfigurationProperty
()
haddock_workaround_ :: RadarChartSortConfigurationProperty -> ()
categoryItemsLimit :: RadarChartSortConfigurationProperty
-> Maybe ItemsLimitConfigurationProperty
categorySort :: RadarChartSortConfigurationProperty
-> Maybe [FieldSortOptionsProperty]
colorItemsLimit :: RadarChartSortConfigurationProperty
-> Maybe ItemsLimitConfigurationProperty
colorSort :: RadarChartSortConfigurationProperty
-> Maybe [FieldSortOptionsProperty]
haddock_workaround_ :: ()
categoryItemsLimit :: Maybe ItemsLimitConfigurationProperty
categorySort :: Maybe [FieldSortOptionsProperty]
colorItemsLimit :: Maybe ItemsLimitConfigurationProperty
colorSort :: Maybe [FieldSortOptionsProperty]
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::QuickSight::Template.RadarChartSortConfiguration",
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 -> ItemsLimitConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CategoryItemsLimit" (ItemsLimitConfigurationProperty -> (Key, Value))
-> Maybe ItemsLimitConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ItemsLimitConfigurationProperty
categoryItemsLimit,
Key -> [FieldSortOptionsProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CategorySort" ([FieldSortOptionsProperty] -> (Key, Value))
-> Maybe [FieldSortOptionsProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [FieldSortOptionsProperty]
categorySort,
Key -> ItemsLimitConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ColorItemsLimit" (ItemsLimitConfigurationProperty -> (Key, Value))
-> Maybe ItemsLimitConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ItemsLimitConfigurationProperty
colorItemsLimit,
Key -> [FieldSortOptionsProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ColorSort" ([FieldSortOptionsProperty] -> (Key, Value))
-> Maybe [FieldSortOptionsProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [FieldSortOptionsProperty]
colorSort])}
instance JSON.ToJSON RadarChartSortConfigurationProperty where
toJSON :: RadarChartSortConfigurationProperty -> Value
toJSON RadarChartSortConfigurationProperty {Maybe [FieldSortOptionsProperty]
Maybe ItemsLimitConfigurationProperty
()
haddock_workaround_ :: RadarChartSortConfigurationProperty -> ()
categoryItemsLimit :: RadarChartSortConfigurationProperty
-> Maybe ItemsLimitConfigurationProperty
categorySort :: RadarChartSortConfigurationProperty
-> Maybe [FieldSortOptionsProperty]
colorItemsLimit :: RadarChartSortConfigurationProperty
-> Maybe ItemsLimitConfigurationProperty
colorSort :: RadarChartSortConfigurationProperty
-> Maybe [FieldSortOptionsProperty]
haddock_workaround_ :: ()
categoryItemsLimit :: Maybe ItemsLimitConfigurationProperty
categorySort :: Maybe [FieldSortOptionsProperty]
colorItemsLimit :: Maybe ItemsLimitConfigurationProperty
colorSort :: Maybe [FieldSortOptionsProperty]
..}
= [(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 -> ItemsLimitConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CategoryItemsLimit" (ItemsLimitConfigurationProperty -> (Key, Value))
-> Maybe ItemsLimitConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ItemsLimitConfigurationProperty
categoryItemsLimit,
Key -> [FieldSortOptionsProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CategorySort" ([FieldSortOptionsProperty] -> (Key, Value))
-> Maybe [FieldSortOptionsProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [FieldSortOptionsProperty]
categorySort,
Key -> ItemsLimitConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ColorItemsLimit" (ItemsLimitConfigurationProperty -> (Key, Value))
-> Maybe ItemsLimitConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ItemsLimitConfigurationProperty
colorItemsLimit,
Key -> [FieldSortOptionsProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ColorSort" ([FieldSortOptionsProperty] -> (Key, Value))
-> Maybe [FieldSortOptionsProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [FieldSortOptionsProperty]
colorSort]))
instance Property "CategoryItemsLimit" RadarChartSortConfigurationProperty where
type PropertyType "CategoryItemsLimit" RadarChartSortConfigurationProperty = ItemsLimitConfigurationProperty
set :: PropertyType
"CategoryItemsLimit" RadarChartSortConfigurationProperty
-> RadarChartSortConfigurationProperty
-> RadarChartSortConfigurationProperty
set PropertyType
"CategoryItemsLimit" RadarChartSortConfigurationProperty
newValue RadarChartSortConfigurationProperty {Maybe [FieldSortOptionsProperty]
Maybe ItemsLimitConfigurationProperty
()
haddock_workaround_ :: RadarChartSortConfigurationProperty -> ()
categoryItemsLimit :: RadarChartSortConfigurationProperty
-> Maybe ItemsLimitConfigurationProperty
categorySort :: RadarChartSortConfigurationProperty
-> Maybe [FieldSortOptionsProperty]
colorItemsLimit :: RadarChartSortConfigurationProperty
-> Maybe ItemsLimitConfigurationProperty
colorSort :: RadarChartSortConfigurationProperty
-> Maybe [FieldSortOptionsProperty]
haddock_workaround_ :: ()
categoryItemsLimit :: Maybe ItemsLimitConfigurationProperty
categorySort :: Maybe [FieldSortOptionsProperty]
colorItemsLimit :: Maybe ItemsLimitConfigurationProperty
colorSort :: Maybe [FieldSortOptionsProperty]
..}
= RadarChartSortConfigurationProperty
{categoryItemsLimit :: Maybe ItemsLimitConfigurationProperty
categoryItemsLimit = ItemsLimitConfigurationProperty
-> Maybe ItemsLimitConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
"CategoryItemsLimit" RadarChartSortConfigurationProperty
ItemsLimitConfigurationProperty
newValue, Maybe [FieldSortOptionsProperty]
Maybe ItemsLimitConfigurationProperty
()
haddock_workaround_ :: ()
categorySort :: Maybe [FieldSortOptionsProperty]
colorItemsLimit :: Maybe ItemsLimitConfigurationProperty
colorSort :: Maybe [FieldSortOptionsProperty]
haddock_workaround_ :: ()
categorySort :: Maybe [FieldSortOptionsProperty]
colorItemsLimit :: Maybe ItemsLimitConfigurationProperty
colorSort :: Maybe [FieldSortOptionsProperty]
..}
instance Property "CategorySort" RadarChartSortConfigurationProperty where
type PropertyType "CategorySort" RadarChartSortConfigurationProperty = [FieldSortOptionsProperty]
set :: PropertyType "CategorySort" RadarChartSortConfigurationProperty
-> RadarChartSortConfigurationProperty
-> RadarChartSortConfigurationProperty
set PropertyType "CategorySort" RadarChartSortConfigurationProperty
newValue RadarChartSortConfigurationProperty {Maybe [FieldSortOptionsProperty]
Maybe ItemsLimitConfigurationProperty
()
haddock_workaround_ :: RadarChartSortConfigurationProperty -> ()
categoryItemsLimit :: RadarChartSortConfigurationProperty
-> Maybe ItemsLimitConfigurationProperty
categorySort :: RadarChartSortConfigurationProperty
-> Maybe [FieldSortOptionsProperty]
colorItemsLimit :: RadarChartSortConfigurationProperty
-> Maybe ItemsLimitConfigurationProperty
colorSort :: RadarChartSortConfigurationProperty
-> Maybe [FieldSortOptionsProperty]
haddock_workaround_ :: ()
categoryItemsLimit :: Maybe ItemsLimitConfigurationProperty
categorySort :: Maybe [FieldSortOptionsProperty]
colorItemsLimit :: Maybe ItemsLimitConfigurationProperty
colorSort :: Maybe [FieldSortOptionsProperty]
..}
= RadarChartSortConfigurationProperty
{categorySort :: Maybe [FieldSortOptionsProperty]
categorySort = [FieldSortOptionsProperty] -> Maybe [FieldSortOptionsProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [FieldSortOptionsProperty]
PropertyType "CategorySort" RadarChartSortConfigurationProperty
newValue, Maybe [FieldSortOptionsProperty]
Maybe ItemsLimitConfigurationProperty
()
haddock_workaround_ :: ()
categoryItemsLimit :: Maybe ItemsLimitConfigurationProperty
colorItemsLimit :: Maybe ItemsLimitConfigurationProperty
colorSort :: Maybe [FieldSortOptionsProperty]
haddock_workaround_ :: ()
categoryItemsLimit :: Maybe ItemsLimitConfigurationProperty
colorItemsLimit :: Maybe ItemsLimitConfigurationProperty
colorSort :: Maybe [FieldSortOptionsProperty]
..}
instance Property "ColorItemsLimit" RadarChartSortConfigurationProperty where
type PropertyType "ColorItemsLimit" RadarChartSortConfigurationProperty = ItemsLimitConfigurationProperty
set :: PropertyType "ColorItemsLimit" RadarChartSortConfigurationProperty
-> RadarChartSortConfigurationProperty
-> RadarChartSortConfigurationProperty
set PropertyType "ColorItemsLimit" RadarChartSortConfigurationProperty
newValue RadarChartSortConfigurationProperty {Maybe [FieldSortOptionsProperty]
Maybe ItemsLimitConfigurationProperty
()
haddock_workaround_ :: RadarChartSortConfigurationProperty -> ()
categoryItemsLimit :: RadarChartSortConfigurationProperty
-> Maybe ItemsLimitConfigurationProperty
categorySort :: RadarChartSortConfigurationProperty
-> Maybe [FieldSortOptionsProperty]
colorItemsLimit :: RadarChartSortConfigurationProperty
-> Maybe ItemsLimitConfigurationProperty
colorSort :: RadarChartSortConfigurationProperty
-> Maybe [FieldSortOptionsProperty]
haddock_workaround_ :: ()
categoryItemsLimit :: Maybe ItemsLimitConfigurationProperty
categorySort :: Maybe [FieldSortOptionsProperty]
colorItemsLimit :: Maybe ItemsLimitConfigurationProperty
colorSort :: Maybe [FieldSortOptionsProperty]
..}
= RadarChartSortConfigurationProperty
{colorItemsLimit :: Maybe ItemsLimitConfigurationProperty
colorItemsLimit = ItemsLimitConfigurationProperty
-> Maybe ItemsLimitConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ColorItemsLimit" RadarChartSortConfigurationProperty
ItemsLimitConfigurationProperty
newValue, Maybe [FieldSortOptionsProperty]
Maybe ItemsLimitConfigurationProperty
()
haddock_workaround_ :: ()
categoryItemsLimit :: Maybe ItemsLimitConfigurationProperty
categorySort :: Maybe [FieldSortOptionsProperty]
colorSort :: Maybe [FieldSortOptionsProperty]
haddock_workaround_ :: ()
categoryItemsLimit :: Maybe ItemsLimitConfigurationProperty
categorySort :: Maybe [FieldSortOptionsProperty]
colorSort :: Maybe [FieldSortOptionsProperty]
..}
instance Property "ColorSort" RadarChartSortConfigurationProperty where
type PropertyType "ColorSort" RadarChartSortConfigurationProperty = [FieldSortOptionsProperty]
set :: PropertyType "ColorSort" RadarChartSortConfigurationProperty
-> RadarChartSortConfigurationProperty
-> RadarChartSortConfigurationProperty
set PropertyType "ColorSort" RadarChartSortConfigurationProperty
newValue RadarChartSortConfigurationProperty {Maybe [FieldSortOptionsProperty]
Maybe ItemsLimitConfigurationProperty
()
haddock_workaround_ :: RadarChartSortConfigurationProperty -> ()
categoryItemsLimit :: RadarChartSortConfigurationProperty
-> Maybe ItemsLimitConfigurationProperty
categorySort :: RadarChartSortConfigurationProperty
-> Maybe [FieldSortOptionsProperty]
colorItemsLimit :: RadarChartSortConfigurationProperty
-> Maybe ItemsLimitConfigurationProperty
colorSort :: RadarChartSortConfigurationProperty
-> Maybe [FieldSortOptionsProperty]
haddock_workaround_ :: ()
categoryItemsLimit :: Maybe ItemsLimitConfigurationProperty
categorySort :: Maybe [FieldSortOptionsProperty]
colorItemsLimit :: Maybe ItemsLimitConfigurationProperty
colorSort :: Maybe [FieldSortOptionsProperty]
..}
= RadarChartSortConfigurationProperty
{colorSort :: Maybe [FieldSortOptionsProperty]
colorSort = [FieldSortOptionsProperty] -> Maybe [FieldSortOptionsProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [FieldSortOptionsProperty]
PropertyType "ColorSort" RadarChartSortConfigurationProperty
newValue, Maybe [FieldSortOptionsProperty]
Maybe ItemsLimitConfigurationProperty
()
haddock_workaround_ :: ()
categoryItemsLimit :: Maybe ItemsLimitConfigurationProperty
categorySort :: Maybe [FieldSortOptionsProperty]
colorItemsLimit :: Maybe ItemsLimitConfigurationProperty
haddock_workaround_ :: ()
categoryItemsLimit :: Maybe ItemsLimitConfigurationProperty
categorySort :: Maybe [FieldSortOptionsProperty]
colorItemsLimit :: Maybe ItemsLimitConfigurationProperty
..}