module Stratosphere.QuickSight.Analysis.BodySectionRepeatConfigurationProperty (
module Exports, BodySectionRepeatConfigurationProperty(..),
mkBodySectionRepeatConfigurationProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.QuickSight.Analysis.BodySectionRepeatDimensionConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.QuickSight.Analysis.BodySectionRepeatPageBreakConfigurationProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data BodySectionRepeatConfigurationProperty
=
BodySectionRepeatConfigurationProperty {BodySectionRepeatConfigurationProperty -> ()
haddock_workaround_ :: (),
BodySectionRepeatConfigurationProperty
-> Maybe [BodySectionRepeatDimensionConfigurationProperty]
dimensionConfigurations :: (Prelude.Maybe [BodySectionRepeatDimensionConfigurationProperty]),
BodySectionRepeatConfigurationProperty -> Maybe (ValueList Text)
nonRepeatingVisuals :: (Prelude.Maybe (ValueList Prelude.Text)),
BodySectionRepeatConfigurationProperty
-> Maybe BodySectionRepeatPageBreakConfigurationProperty
pageBreakConfiguration :: (Prelude.Maybe BodySectionRepeatPageBreakConfigurationProperty)}
deriving stock (BodySectionRepeatConfigurationProperty
-> BodySectionRepeatConfigurationProperty -> Bool
(BodySectionRepeatConfigurationProperty
-> BodySectionRepeatConfigurationProperty -> Bool)
-> (BodySectionRepeatConfigurationProperty
-> BodySectionRepeatConfigurationProperty -> Bool)
-> Eq BodySectionRepeatConfigurationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: BodySectionRepeatConfigurationProperty
-> BodySectionRepeatConfigurationProperty -> Bool
== :: BodySectionRepeatConfigurationProperty
-> BodySectionRepeatConfigurationProperty -> Bool
$c/= :: BodySectionRepeatConfigurationProperty
-> BodySectionRepeatConfigurationProperty -> Bool
/= :: BodySectionRepeatConfigurationProperty
-> BodySectionRepeatConfigurationProperty -> Bool
Prelude.Eq, Int -> BodySectionRepeatConfigurationProperty -> ShowS
[BodySectionRepeatConfigurationProperty] -> ShowS
BodySectionRepeatConfigurationProperty -> String
(Int -> BodySectionRepeatConfigurationProperty -> ShowS)
-> (BodySectionRepeatConfigurationProperty -> String)
-> ([BodySectionRepeatConfigurationProperty] -> ShowS)
-> Show BodySectionRepeatConfigurationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> BodySectionRepeatConfigurationProperty -> ShowS
showsPrec :: Int -> BodySectionRepeatConfigurationProperty -> ShowS
$cshow :: BodySectionRepeatConfigurationProperty -> String
show :: BodySectionRepeatConfigurationProperty -> String
$cshowList :: [BodySectionRepeatConfigurationProperty] -> ShowS
showList :: [BodySectionRepeatConfigurationProperty] -> ShowS
Prelude.Show)
mkBodySectionRepeatConfigurationProperty ::
BodySectionRepeatConfigurationProperty
mkBodySectionRepeatConfigurationProperty :: BodySectionRepeatConfigurationProperty
mkBodySectionRepeatConfigurationProperty
= BodySectionRepeatConfigurationProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (),
dimensionConfigurations :: Maybe [BodySectionRepeatDimensionConfigurationProperty]
dimensionConfigurations = Maybe [BodySectionRepeatDimensionConfigurationProperty]
forall a. Maybe a
Prelude.Nothing,
nonRepeatingVisuals :: Maybe (ValueList Text)
nonRepeatingVisuals = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing,
pageBreakConfiguration :: Maybe BodySectionRepeatPageBreakConfigurationProperty
pageBreakConfiguration = Maybe BodySectionRepeatPageBreakConfigurationProperty
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties BodySectionRepeatConfigurationProperty where
toResourceProperties :: BodySectionRepeatConfigurationProperty -> ResourceProperties
toResourceProperties BodySectionRepeatConfigurationProperty {Maybe [BodySectionRepeatDimensionConfigurationProperty]
Maybe (ValueList Text)
Maybe BodySectionRepeatPageBreakConfigurationProperty
()
haddock_workaround_ :: BodySectionRepeatConfigurationProperty -> ()
dimensionConfigurations :: BodySectionRepeatConfigurationProperty
-> Maybe [BodySectionRepeatDimensionConfigurationProperty]
nonRepeatingVisuals :: BodySectionRepeatConfigurationProperty -> Maybe (ValueList Text)
pageBreakConfiguration :: BodySectionRepeatConfigurationProperty
-> Maybe BodySectionRepeatPageBreakConfigurationProperty
haddock_workaround_ :: ()
dimensionConfigurations :: Maybe [BodySectionRepeatDimensionConfigurationProperty]
nonRepeatingVisuals :: Maybe (ValueList Text)
pageBreakConfiguration :: Maybe BodySectionRepeatPageBreakConfigurationProperty
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::QuickSight::Analysis.BodySectionRepeatConfiguration",
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
-> [BodySectionRepeatDimensionConfigurationProperty]
-> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DimensionConfigurations"
([BodySectionRepeatDimensionConfigurationProperty] -> (Key, Value))
-> Maybe [BodySectionRepeatDimensionConfigurationProperty]
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [BodySectionRepeatDimensionConfigurationProperty]
dimensionConfigurations,
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..=) Key
"NonRepeatingVisuals" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
nonRepeatingVisuals,
Key
-> BodySectionRepeatPageBreakConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"PageBreakConfiguration"
(BodySectionRepeatPageBreakConfigurationProperty -> (Key, Value))
-> Maybe BodySectionRepeatPageBreakConfigurationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe BodySectionRepeatPageBreakConfigurationProperty
pageBreakConfiguration])}
instance JSON.ToJSON BodySectionRepeatConfigurationProperty where
toJSON :: BodySectionRepeatConfigurationProperty -> Value
toJSON BodySectionRepeatConfigurationProperty {Maybe [BodySectionRepeatDimensionConfigurationProperty]
Maybe (ValueList Text)
Maybe BodySectionRepeatPageBreakConfigurationProperty
()
haddock_workaround_ :: BodySectionRepeatConfigurationProperty -> ()
dimensionConfigurations :: BodySectionRepeatConfigurationProperty
-> Maybe [BodySectionRepeatDimensionConfigurationProperty]
nonRepeatingVisuals :: BodySectionRepeatConfigurationProperty -> Maybe (ValueList Text)
pageBreakConfiguration :: BodySectionRepeatConfigurationProperty
-> Maybe BodySectionRepeatPageBreakConfigurationProperty
haddock_workaround_ :: ()
dimensionConfigurations :: Maybe [BodySectionRepeatDimensionConfigurationProperty]
nonRepeatingVisuals :: Maybe (ValueList Text)
pageBreakConfiguration :: Maybe BodySectionRepeatPageBreakConfigurationProperty
..}
= [(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
-> [BodySectionRepeatDimensionConfigurationProperty]
-> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DimensionConfigurations"
([BodySectionRepeatDimensionConfigurationProperty] -> (Key, Value))
-> Maybe [BodySectionRepeatDimensionConfigurationProperty]
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [BodySectionRepeatDimensionConfigurationProperty]
dimensionConfigurations,
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..=) Key
"NonRepeatingVisuals" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
nonRepeatingVisuals,
Key
-> BodySectionRepeatPageBreakConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"PageBreakConfiguration"
(BodySectionRepeatPageBreakConfigurationProperty -> (Key, Value))
-> Maybe BodySectionRepeatPageBreakConfigurationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe BodySectionRepeatPageBreakConfigurationProperty
pageBreakConfiguration]))
instance Property "DimensionConfigurations" BodySectionRepeatConfigurationProperty where
type PropertyType "DimensionConfigurations" BodySectionRepeatConfigurationProperty = [BodySectionRepeatDimensionConfigurationProperty]
set :: PropertyType
"DimensionConfigurations" BodySectionRepeatConfigurationProperty
-> BodySectionRepeatConfigurationProperty
-> BodySectionRepeatConfigurationProperty
set PropertyType
"DimensionConfigurations" BodySectionRepeatConfigurationProperty
newValue BodySectionRepeatConfigurationProperty {Maybe [BodySectionRepeatDimensionConfigurationProperty]
Maybe (ValueList Text)
Maybe BodySectionRepeatPageBreakConfigurationProperty
()
haddock_workaround_ :: BodySectionRepeatConfigurationProperty -> ()
dimensionConfigurations :: BodySectionRepeatConfigurationProperty
-> Maybe [BodySectionRepeatDimensionConfigurationProperty]
nonRepeatingVisuals :: BodySectionRepeatConfigurationProperty -> Maybe (ValueList Text)
pageBreakConfiguration :: BodySectionRepeatConfigurationProperty
-> Maybe BodySectionRepeatPageBreakConfigurationProperty
haddock_workaround_ :: ()
dimensionConfigurations :: Maybe [BodySectionRepeatDimensionConfigurationProperty]
nonRepeatingVisuals :: Maybe (ValueList Text)
pageBreakConfiguration :: Maybe BodySectionRepeatPageBreakConfigurationProperty
..}
= BodySectionRepeatConfigurationProperty
{dimensionConfigurations :: Maybe [BodySectionRepeatDimensionConfigurationProperty]
dimensionConfigurations = [BodySectionRepeatDimensionConfigurationProperty]
-> Maybe [BodySectionRepeatDimensionConfigurationProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [BodySectionRepeatDimensionConfigurationProperty]
PropertyType
"DimensionConfigurations" BodySectionRepeatConfigurationProperty
newValue, Maybe (ValueList Text)
Maybe BodySectionRepeatPageBreakConfigurationProperty
()
haddock_workaround_ :: ()
nonRepeatingVisuals :: Maybe (ValueList Text)
pageBreakConfiguration :: Maybe BodySectionRepeatPageBreakConfigurationProperty
haddock_workaround_ :: ()
nonRepeatingVisuals :: Maybe (ValueList Text)
pageBreakConfiguration :: Maybe BodySectionRepeatPageBreakConfigurationProperty
..}
instance Property "NonRepeatingVisuals" BodySectionRepeatConfigurationProperty where
type PropertyType "NonRepeatingVisuals" BodySectionRepeatConfigurationProperty = ValueList Prelude.Text
set :: PropertyType
"NonRepeatingVisuals" BodySectionRepeatConfigurationProperty
-> BodySectionRepeatConfigurationProperty
-> BodySectionRepeatConfigurationProperty
set PropertyType
"NonRepeatingVisuals" BodySectionRepeatConfigurationProperty
newValue BodySectionRepeatConfigurationProperty {Maybe [BodySectionRepeatDimensionConfigurationProperty]
Maybe (ValueList Text)
Maybe BodySectionRepeatPageBreakConfigurationProperty
()
haddock_workaround_ :: BodySectionRepeatConfigurationProperty -> ()
dimensionConfigurations :: BodySectionRepeatConfigurationProperty
-> Maybe [BodySectionRepeatDimensionConfigurationProperty]
nonRepeatingVisuals :: BodySectionRepeatConfigurationProperty -> Maybe (ValueList Text)
pageBreakConfiguration :: BodySectionRepeatConfigurationProperty
-> Maybe BodySectionRepeatPageBreakConfigurationProperty
haddock_workaround_ :: ()
dimensionConfigurations :: Maybe [BodySectionRepeatDimensionConfigurationProperty]
nonRepeatingVisuals :: Maybe (ValueList Text)
pageBreakConfiguration :: Maybe BodySectionRepeatPageBreakConfigurationProperty
..}
= BodySectionRepeatConfigurationProperty
{nonRepeatingVisuals :: Maybe (ValueList Text)
nonRepeatingVisuals = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
"NonRepeatingVisuals" BodySectionRepeatConfigurationProperty
ValueList Text
newValue, Maybe [BodySectionRepeatDimensionConfigurationProperty]
Maybe BodySectionRepeatPageBreakConfigurationProperty
()
haddock_workaround_ :: ()
dimensionConfigurations :: Maybe [BodySectionRepeatDimensionConfigurationProperty]
pageBreakConfiguration :: Maybe BodySectionRepeatPageBreakConfigurationProperty
haddock_workaround_ :: ()
dimensionConfigurations :: Maybe [BodySectionRepeatDimensionConfigurationProperty]
pageBreakConfiguration :: Maybe BodySectionRepeatPageBreakConfigurationProperty
..}
instance Property "PageBreakConfiguration" BodySectionRepeatConfigurationProperty where
type PropertyType "PageBreakConfiguration" BodySectionRepeatConfigurationProperty = BodySectionRepeatPageBreakConfigurationProperty
set :: PropertyType
"PageBreakConfiguration" BodySectionRepeatConfigurationProperty
-> BodySectionRepeatConfigurationProperty
-> BodySectionRepeatConfigurationProperty
set PropertyType
"PageBreakConfiguration" BodySectionRepeatConfigurationProperty
newValue BodySectionRepeatConfigurationProperty {Maybe [BodySectionRepeatDimensionConfigurationProperty]
Maybe (ValueList Text)
Maybe BodySectionRepeatPageBreakConfigurationProperty
()
haddock_workaround_ :: BodySectionRepeatConfigurationProperty -> ()
dimensionConfigurations :: BodySectionRepeatConfigurationProperty
-> Maybe [BodySectionRepeatDimensionConfigurationProperty]
nonRepeatingVisuals :: BodySectionRepeatConfigurationProperty -> Maybe (ValueList Text)
pageBreakConfiguration :: BodySectionRepeatConfigurationProperty
-> Maybe BodySectionRepeatPageBreakConfigurationProperty
haddock_workaround_ :: ()
dimensionConfigurations :: Maybe [BodySectionRepeatDimensionConfigurationProperty]
nonRepeatingVisuals :: Maybe (ValueList Text)
pageBreakConfiguration :: Maybe BodySectionRepeatPageBreakConfigurationProperty
..}
= BodySectionRepeatConfigurationProperty
{pageBreakConfiguration :: Maybe BodySectionRepeatPageBreakConfigurationProperty
pageBreakConfiguration = BodySectionRepeatPageBreakConfigurationProperty
-> Maybe BodySectionRepeatPageBreakConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
"PageBreakConfiguration" BodySectionRepeatConfigurationProperty
BodySectionRepeatPageBreakConfigurationProperty
newValue, Maybe [BodySectionRepeatDimensionConfigurationProperty]
Maybe (ValueList Text)
()
haddock_workaround_ :: ()
dimensionConfigurations :: Maybe [BodySectionRepeatDimensionConfigurationProperty]
nonRepeatingVisuals :: Maybe (ValueList Text)
haddock_workaround_ :: ()
dimensionConfigurations :: Maybe [BodySectionRepeatDimensionConfigurationProperty]
nonRepeatingVisuals :: Maybe (ValueList Text)
..}