module Stratosphere.QuickSight.Template.TimeRangeDrillDownFilterProperty (
module Exports, TimeRangeDrillDownFilterProperty(..),
mkTimeRangeDrillDownFilterProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.QuickSight.Template.ColumnIdentifierProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data TimeRangeDrillDownFilterProperty
=
TimeRangeDrillDownFilterProperty {TimeRangeDrillDownFilterProperty -> ()
haddock_workaround_ :: (),
TimeRangeDrillDownFilterProperty -> ColumnIdentifierProperty
column :: ColumnIdentifierProperty,
TimeRangeDrillDownFilterProperty -> Value Text
rangeMaximum :: (Value Prelude.Text),
TimeRangeDrillDownFilterProperty -> Value Text
rangeMinimum :: (Value Prelude.Text),
TimeRangeDrillDownFilterProperty -> Value Text
timeGranularity :: (Value Prelude.Text)}
deriving stock (TimeRangeDrillDownFilterProperty
-> TimeRangeDrillDownFilterProperty -> Bool
(TimeRangeDrillDownFilterProperty
-> TimeRangeDrillDownFilterProperty -> Bool)
-> (TimeRangeDrillDownFilterProperty
-> TimeRangeDrillDownFilterProperty -> Bool)
-> Eq TimeRangeDrillDownFilterProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: TimeRangeDrillDownFilterProperty
-> TimeRangeDrillDownFilterProperty -> Bool
== :: TimeRangeDrillDownFilterProperty
-> TimeRangeDrillDownFilterProperty -> Bool
$c/= :: TimeRangeDrillDownFilterProperty
-> TimeRangeDrillDownFilterProperty -> Bool
/= :: TimeRangeDrillDownFilterProperty
-> TimeRangeDrillDownFilterProperty -> Bool
Prelude.Eq, Int -> TimeRangeDrillDownFilterProperty -> ShowS
[TimeRangeDrillDownFilterProperty] -> ShowS
TimeRangeDrillDownFilterProperty -> String
(Int -> TimeRangeDrillDownFilterProperty -> ShowS)
-> (TimeRangeDrillDownFilterProperty -> String)
-> ([TimeRangeDrillDownFilterProperty] -> ShowS)
-> Show TimeRangeDrillDownFilterProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> TimeRangeDrillDownFilterProperty -> ShowS
showsPrec :: Int -> TimeRangeDrillDownFilterProperty -> ShowS
$cshow :: TimeRangeDrillDownFilterProperty -> String
show :: TimeRangeDrillDownFilterProperty -> String
$cshowList :: [TimeRangeDrillDownFilterProperty] -> ShowS
showList :: [TimeRangeDrillDownFilterProperty] -> ShowS
Prelude.Show)
mkTimeRangeDrillDownFilterProperty ::
ColumnIdentifierProperty
-> Value Prelude.Text
-> Value Prelude.Text
-> Value Prelude.Text -> TimeRangeDrillDownFilterProperty
mkTimeRangeDrillDownFilterProperty :: ColumnIdentifierProperty
-> Value Text
-> Value Text
-> Value Text
-> TimeRangeDrillDownFilterProperty
mkTimeRangeDrillDownFilterProperty
ColumnIdentifierProperty
column
Value Text
rangeMaximum
Value Text
rangeMinimum
Value Text
timeGranularity
= TimeRangeDrillDownFilterProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), column :: ColumnIdentifierProperty
column = ColumnIdentifierProperty
column,
rangeMaximum :: Value Text
rangeMaximum = Value Text
rangeMaximum, rangeMinimum :: Value Text
rangeMinimum = Value Text
rangeMinimum,
timeGranularity :: Value Text
timeGranularity = Value Text
timeGranularity}
instance ToResourceProperties TimeRangeDrillDownFilterProperty where
toResourceProperties :: TimeRangeDrillDownFilterProperty -> ResourceProperties
toResourceProperties TimeRangeDrillDownFilterProperty {()
Value Text
ColumnIdentifierProperty
haddock_workaround_ :: TimeRangeDrillDownFilterProperty -> ()
column :: TimeRangeDrillDownFilterProperty -> ColumnIdentifierProperty
rangeMaximum :: TimeRangeDrillDownFilterProperty -> Value Text
rangeMinimum :: TimeRangeDrillDownFilterProperty -> Value Text
timeGranularity :: TimeRangeDrillDownFilterProperty -> Value Text
haddock_workaround_ :: ()
column :: ColumnIdentifierProperty
rangeMaximum :: Value Text
rangeMinimum :: Value Text
timeGranularity :: Value Text
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::QuickSight::Template.TimeRangeDrillDownFilter",
supportsTags :: Bool
supportsTags = Bool
Prelude.False,
properties :: Object
properties = [Key
"Column" Key -> ColumnIdentifierProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= ColumnIdentifierProperty
column,
Key
"RangeMaximum" 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
rangeMaximum,
Key
"RangeMinimum" 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
rangeMinimum,
Key
"TimeGranularity" 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
timeGranularity]}
instance JSON.ToJSON TimeRangeDrillDownFilterProperty where
toJSON :: TimeRangeDrillDownFilterProperty -> Value
toJSON TimeRangeDrillDownFilterProperty {()
Value Text
ColumnIdentifierProperty
haddock_workaround_ :: TimeRangeDrillDownFilterProperty -> ()
column :: TimeRangeDrillDownFilterProperty -> ColumnIdentifierProperty
rangeMaximum :: TimeRangeDrillDownFilterProperty -> Value Text
rangeMinimum :: TimeRangeDrillDownFilterProperty -> Value Text
timeGranularity :: TimeRangeDrillDownFilterProperty -> Value Text
haddock_workaround_ :: ()
column :: ColumnIdentifierProperty
rangeMaximum :: Value Text
rangeMinimum :: Value Text
timeGranularity :: Value Text
..}
= [(Key, Value)] -> Value
JSON.object
[Key
"Column" Key -> ColumnIdentifierProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= ColumnIdentifierProperty
column, Key
"RangeMaximum" 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
rangeMaximum,
Key
"RangeMinimum" 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
rangeMinimum,
Key
"TimeGranularity" 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
timeGranularity]
instance Property "Column" TimeRangeDrillDownFilterProperty where
type PropertyType "Column" TimeRangeDrillDownFilterProperty = ColumnIdentifierProperty
set :: PropertyType "Column" TimeRangeDrillDownFilterProperty
-> TimeRangeDrillDownFilterProperty
-> TimeRangeDrillDownFilterProperty
set PropertyType "Column" TimeRangeDrillDownFilterProperty
newValue TimeRangeDrillDownFilterProperty {()
Value Text
ColumnIdentifierProperty
haddock_workaround_ :: TimeRangeDrillDownFilterProperty -> ()
column :: TimeRangeDrillDownFilterProperty -> ColumnIdentifierProperty
rangeMaximum :: TimeRangeDrillDownFilterProperty -> Value Text
rangeMinimum :: TimeRangeDrillDownFilterProperty -> Value Text
timeGranularity :: TimeRangeDrillDownFilterProperty -> Value Text
haddock_workaround_ :: ()
column :: ColumnIdentifierProperty
rangeMaximum :: Value Text
rangeMinimum :: Value Text
timeGranularity :: Value Text
..}
= TimeRangeDrillDownFilterProperty {column :: ColumnIdentifierProperty
column = PropertyType "Column" TimeRangeDrillDownFilterProperty
ColumnIdentifierProperty
newValue, ()
Value Text
haddock_workaround_ :: ()
rangeMaximum :: Value Text
rangeMinimum :: Value Text
timeGranularity :: Value Text
haddock_workaround_ :: ()
rangeMaximum :: Value Text
rangeMinimum :: Value Text
timeGranularity :: Value Text
..}
instance Property "RangeMaximum" TimeRangeDrillDownFilterProperty where
type PropertyType "RangeMaximum" TimeRangeDrillDownFilterProperty = Value Prelude.Text
set :: PropertyType "RangeMaximum" TimeRangeDrillDownFilterProperty
-> TimeRangeDrillDownFilterProperty
-> TimeRangeDrillDownFilterProperty
set PropertyType "RangeMaximum" TimeRangeDrillDownFilterProperty
newValue TimeRangeDrillDownFilterProperty {()
Value Text
ColumnIdentifierProperty
haddock_workaround_ :: TimeRangeDrillDownFilterProperty -> ()
column :: TimeRangeDrillDownFilterProperty -> ColumnIdentifierProperty
rangeMaximum :: TimeRangeDrillDownFilterProperty -> Value Text
rangeMinimum :: TimeRangeDrillDownFilterProperty -> Value Text
timeGranularity :: TimeRangeDrillDownFilterProperty -> Value Text
haddock_workaround_ :: ()
column :: ColumnIdentifierProperty
rangeMaximum :: Value Text
rangeMinimum :: Value Text
timeGranularity :: Value Text
..}
= TimeRangeDrillDownFilterProperty {rangeMaximum :: Value Text
rangeMaximum = PropertyType "RangeMaximum" TimeRangeDrillDownFilterProperty
Value Text
newValue, ()
Value Text
ColumnIdentifierProperty
haddock_workaround_ :: ()
column :: ColumnIdentifierProperty
rangeMinimum :: Value Text
timeGranularity :: Value Text
haddock_workaround_ :: ()
column :: ColumnIdentifierProperty
rangeMinimum :: Value Text
timeGranularity :: Value Text
..}
instance Property "RangeMinimum" TimeRangeDrillDownFilterProperty where
type PropertyType "RangeMinimum" TimeRangeDrillDownFilterProperty = Value Prelude.Text
set :: PropertyType "RangeMinimum" TimeRangeDrillDownFilterProperty
-> TimeRangeDrillDownFilterProperty
-> TimeRangeDrillDownFilterProperty
set PropertyType "RangeMinimum" TimeRangeDrillDownFilterProperty
newValue TimeRangeDrillDownFilterProperty {()
Value Text
ColumnIdentifierProperty
haddock_workaround_ :: TimeRangeDrillDownFilterProperty -> ()
column :: TimeRangeDrillDownFilterProperty -> ColumnIdentifierProperty
rangeMaximum :: TimeRangeDrillDownFilterProperty -> Value Text
rangeMinimum :: TimeRangeDrillDownFilterProperty -> Value Text
timeGranularity :: TimeRangeDrillDownFilterProperty -> Value Text
haddock_workaround_ :: ()
column :: ColumnIdentifierProperty
rangeMaximum :: Value Text
rangeMinimum :: Value Text
timeGranularity :: Value Text
..}
= TimeRangeDrillDownFilterProperty {rangeMinimum :: Value Text
rangeMinimum = PropertyType "RangeMinimum" TimeRangeDrillDownFilterProperty
Value Text
newValue, ()
Value Text
ColumnIdentifierProperty
haddock_workaround_ :: ()
column :: ColumnIdentifierProperty
rangeMaximum :: Value Text
timeGranularity :: Value Text
haddock_workaround_ :: ()
column :: ColumnIdentifierProperty
rangeMaximum :: Value Text
timeGranularity :: Value Text
..}
instance Property "TimeGranularity" TimeRangeDrillDownFilterProperty where
type PropertyType "TimeGranularity" TimeRangeDrillDownFilterProperty = Value Prelude.Text
set :: PropertyType "TimeGranularity" TimeRangeDrillDownFilterProperty
-> TimeRangeDrillDownFilterProperty
-> TimeRangeDrillDownFilterProperty
set PropertyType "TimeGranularity" TimeRangeDrillDownFilterProperty
newValue TimeRangeDrillDownFilterProperty {()
Value Text
ColumnIdentifierProperty
haddock_workaround_ :: TimeRangeDrillDownFilterProperty -> ()
column :: TimeRangeDrillDownFilterProperty -> ColumnIdentifierProperty
rangeMaximum :: TimeRangeDrillDownFilterProperty -> Value Text
rangeMinimum :: TimeRangeDrillDownFilterProperty -> Value Text
timeGranularity :: TimeRangeDrillDownFilterProperty -> Value Text
haddock_workaround_ :: ()
column :: ColumnIdentifierProperty
rangeMaximum :: Value Text
rangeMinimum :: Value Text
timeGranularity :: Value Text
..}
= TimeRangeDrillDownFilterProperty {timeGranularity :: Value Text
timeGranularity = PropertyType "TimeGranularity" TimeRangeDrillDownFilterProperty
Value Text
newValue, ()
Value Text
ColumnIdentifierProperty
haddock_workaround_ :: ()
column :: ColumnIdentifierProperty
rangeMaximum :: Value Text
rangeMinimum :: Value Text
haddock_workaround_ :: ()
column :: ColumnIdentifierProperty
rangeMaximum :: Value Text
rangeMinimum :: Value Text
..}