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