module Stratosphere.QuickSight.Template.DateTimeParameterDeclarationProperty (
module Exports, DateTimeParameterDeclarationProperty(..),
mkDateTimeParameterDeclarationProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.QuickSight.Template.DateTimeDefaultValuesProperty as Exports
import {-# SOURCE #-} Stratosphere.QuickSight.Template.DateTimeValueWhenUnsetConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.QuickSight.Template.MappedDataSetParameterProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data DateTimeParameterDeclarationProperty
=
DateTimeParameterDeclarationProperty {DateTimeParameterDeclarationProperty -> ()
haddock_workaround_ :: (),
DateTimeParameterDeclarationProperty
-> Maybe DateTimeDefaultValuesProperty
defaultValues :: (Prelude.Maybe DateTimeDefaultValuesProperty),
DateTimeParameterDeclarationProperty
-> Maybe [MappedDataSetParameterProperty]
mappedDataSetParameters :: (Prelude.Maybe [MappedDataSetParameterProperty]),
DateTimeParameterDeclarationProperty -> Value Text
name :: (Value Prelude.Text),
DateTimeParameterDeclarationProperty -> Maybe (Value Text)
timeGranularity :: (Prelude.Maybe (Value Prelude.Text)),
DateTimeParameterDeclarationProperty
-> Maybe DateTimeValueWhenUnsetConfigurationProperty
valueWhenUnset :: (Prelude.Maybe DateTimeValueWhenUnsetConfigurationProperty)}
deriving stock (DateTimeParameterDeclarationProperty
-> DateTimeParameterDeclarationProperty -> Bool
(DateTimeParameterDeclarationProperty
-> DateTimeParameterDeclarationProperty -> Bool)
-> (DateTimeParameterDeclarationProperty
-> DateTimeParameterDeclarationProperty -> Bool)
-> Eq DateTimeParameterDeclarationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: DateTimeParameterDeclarationProperty
-> DateTimeParameterDeclarationProperty -> Bool
== :: DateTimeParameterDeclarationProperty
-> DateTimeParameterDeclarationProperty -> Bool
$c/= :: DateTimeParameterDeclarationProperty
-> DateTimeParameterDeclarationProperty -> Bool
/= :: DateTimeParameterDeclarationProperty
-> DateTimeParameterDeclarationProperty -> Bool
Prelude.Eq, Int -> DateTimeParameterDeclarationProperty -> ShowS
[DateTimeParameterDeclarationProperty] -> ShowS
DateTimeParameterDeclarationProperty -> String
(Int -> DateTimeParameterDeclarationProperty -> ShowS)
-> (DateTimeParameterDeclarationProperty -> String)
-> ([DateTimeParameterDeclarationProperty] -> ShowS)
-> Show DateTimeParameterDeclarationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> DateTimeParameterDeclarationProperty -> ShowS
showsPrec :: Int -> DateTimeParameterDeclarationProperty -> ShowS
$cshow :: DateTimeParameterDeclarationProperty -> String
show :: DateTimeParameterDeclarationProperty -> String
$cshowList :: [DateTimeParameterDeclarationProperty] -> ShowS
showList :: [DateTimeParameterDeclarationProperty] -> ShowS
Prelude.Show)
mkDateTimeParameterDeclarationProperty ::
Value Prelude.Text -> DateTimeParameterDeclarationProperty
mkDateTimeParameterDeclarationProperty :: Value Text -> DateTimeParameterDeclarationProperty
mkDateTimeParameterDeclarationProperty Value Text
name
= DateTimeParameterDeclarationProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), name :: Value Text
name = Value Text
name,
defaultValues :: Maybe DateTimeDefaultValuesProperty
defaultValues = Maybe DateTimeDefaultValuesProperty
forall a. Maybe a
Prelude.Nothing,
mappedDataSetParameters :: Maybe [MappedDataSetParameterProperty]
mappedDataSetParameters = Maybe [MappedDataSetParameterProperty]
forall a. Maybe a
Prelude.Nothing,
timeGranularity :: Maybe (Value Text)
timeGranularity = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
valueWhenUnset :: Maybe DateTimeValueWhenUnsetConfigurationProperty
valueWhenUnset = Maybe DateTimeValueWhenUnsetConfigurationProperty
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties DateTimeParameterDeclarationProperty where
toResourceProperties :: DateTimeParameterDeclarationProperty -> ResourceProperties
toResourceProperties DateTimeParameterDeclarationProperty {Maybe [MappedDataSetParameterProperty]
Maybe (Value Text)
Maybe DateTimeValueWhenUnsetConfigurationProperty
Maybe DateTimeDefaultValuesProperty
()
Value Text
haddock_workaround_ :: DateTimeParameterDeclarationProperty -> ()
defaultValues :: DateTimeParameterDeclarationProperty
-> Maybe DateTimeDefaultValuesProperty
mappedDataSetParameters :: DateTimeParameterDeclarationProperty
-> Maybe [MappedDataSetParameterProperty]
name :: DateTimeParameterDeclarationProperty -> Value Text
timeGranularity :: DateTimeParameterDeclarationProperty -> Maybe (Value Text)
valueWhenUnset :: DateTimeParameterDeclarationProperty
-> Maybe DateTimeValueWhenUnsetConfigurationProperty
haddock_workaround_ :: ()
defaultValues :: Maybe DateTimeDefaultValuesProperty
mappedDataSetParameters :: Maybe [MappedDataSetParameterProperty]
name :: Value Text
timeGranularity :: Maybe (Value Text)
valueWhenUnset :: Maybe DateTimeValueWhenUnsetConfigurationProperty
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::QuickSight::Template.DateTimeParameterDeclaration",
supportsTags :: Bool
supportsTags = Bool
Prelude.False,
properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
[Key
"Name" 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
name]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> DateTimeDefaultValuesProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DefaultValues" (DateTimeDefaultValuesProperty -> (Key, Value))
-> Maybe DateTimeDefaultValuesProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe DateTimeDefaultValuesProperty
defaultValues,
Key -> [MappedDataSetParameterProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MappedDataSetParameters"
([MappedDataSetParameterProperty] -> (Key, Value))
-> Maybe [MappedDataSetParameterProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [MappedDataSetParameterProperty]
mappedDataSetParameters,
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..=) Key
"TimeGranularity" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
timeGranularity,
Key -> DateTimeValueWhenUnsetConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ValueWhenUnset" (DateTimeValueWhenUnsetConfigurationProperty -> (Key, Value))
-> Maybe DateTimeValueWhenUnsetConfigurationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe DateTimeValueWhenUnsetConfigurationProperty
valueWhenUnset]))}
instance JSON.ToJSON DateTimeParameterDeclarationProperty where
toJSON :: DateTimeParameterDeclarationProperty -> Value
toJSON DateTimeParameterDeclarationProperty {Maybe [MappedDataSetParameterProperty]
Maybe (Value Text)
Maybe DateTimeValueWhenUnsetConfigurationProperty
Maybe DateTimeDefaultValuesProperty
()
Value Text
haddock_workaround_ :: DateTimeParameterDeclarationProperty -> ()
defaultValues :: DateTimeParameterDeclarationProperty
-> Maybe DateTimeDefaultValuesProperty
mappedDataSetParameters :: DateTimeParameterDeclarationProperty
-> Maybe [MappedDataSetParameterProperty]
name :: DateTimeParameterDeclarationProperty -> Value Text
timeGranularity :: DateTimeParameterDeclarationProperty -> Maybe (Value Text)
valueWhenUnset :: DateTimeParameterDeclarationProperty
-> Maybe DateTimeValueWhenUnsetConfigurationProperty
haddock_workaround_ :: ()
defaultValues :: Maybe DateTimeDefaultValuesProperty
mappedDataSetParameters :: Maybe [MappedDataSetParameterProperty]
name :: Value Text
timeGranularity :: Maybe (Value Text)
valueWhenUnset :: Maybe DateTimeValueWhenUnsetConfigurationProperty
..}
= [(Key, Value)] -> Value
JSON.object
([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
[Key
"Name" 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
name]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> DateTimeDefaultValuesProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DefaultValues" (DateTimeDefaultValuesProperty -> (Key, Value))
-> Maybe DateTimeDefaultValuesProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe DateTimeDefaultValuesProperty
defaultValues,
Key -> [MappedDataSetParameterProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MappedDataSetParameters"
([MappedDataSetParameterProperty] -> (Key, Value))
-> Maybe [MappedDataSetParameterProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [MappedDataSetParameterProperty]
mappedDataSetParameters,
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..=) Key
"TimeGranularity" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
timeGranularity,
Key -> DateTimeValueWhenUnsetConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ValueWhenUnset" (DateTimeValueWhenUnsetConfigurationProperty -> (Key, Value))
-> Maybe DateTimeValueWhenUnsetConfigurationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe DateTimeValueWhenUnsetConfigurationProperty
valueWhenUnset])))
instance Property "DefaultValues" DateTimeParameterDeclarationProperty where
type PropertyType "DefaultValues" DateTimeParameterDeclarationProperty = DateTimeDefaultValuesProperty
set :: PropertyType "DefaultValues" DateTimeParameterDeclarationProperty
-> DateTimeParameterDeclarationProperty
-> DateTimeParameterDeclarationProperty
set PropertyType "DefaultValues" DateTimeParameterDeclarationProperty
newValue DateTimeParameterDeclarationProperty {Maybe [MappedDataSetParameterProperty]
Maybe (Value Text)
Maybe DateTimeValueWhenUnsetConfigurationProperty
Maybe DateTimeDefaultValuesProperty
()
Value Text
haddock_workaround_ :: DateTimeParameterDeclarationProperty -> ()
defaultValues :: DateTimeParameterDeclarationProperty
-> Maybe DateTimeDefaultValuesProperty
mappedDataSetParameters :: DateTimeParameterDeclarationProperty
-> Maybe [MappedDataSetParameterProperty]
name :: DateTimeParameterDeclarationProperty -> Value Text
timeGranularity :: DateTimeParameterDeclarationProperty -> Maybe (Value Text)
valueWhenUnset :: DateTimeParameterDeclarationProperty
-> Maybe DateTimeValueWhenUnsetConfigurationProperty
haddock_workaround_ :: ()
defaultValues :: Maybe DateTimeDefaultValuesProperty
mappedDataSetParameters :: Maybe [MappedDataSetParameterProperty]
name :: Value Text
timeGranularity :: Maybe (Value Text)
valueWhenUnset :: Maybe DateTimeValueWhenUnsetConfigurationProperty
..}
= DateTimeParameterDeclarationProperty
{defaultValues :: Maybe DateTimeDefaultValuesProperty
defaultValues = DateTimeDefaultValuesProperty
-> Maybe DateTimeDefaultValuesProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DefaultValues" DateTimeParameterDeclarationProperty
DateTimeDefaultValuesProperty
newValue, Maybe [MappedDataSetParameterProperty]
Maybe (Value Text)
Maybe DateTimeValueWhenUnsetConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
mappedDataSetParameters :: Maybe [MappedDataSetParameterProperty]
name :: Value Text
timeGranularity :: Maybe (Value Text)
valueWhenUnset :: Maybe DateTimeValueWhenUnsetConfigurationProperty
haddock_workaround_ :: ()
mappedDataSetParameters :: Maybe [MappedDataSetParameterProperty]
name :: Value Text
timeGranularity :: Maybe (Value Text)
valueWhenUnset :: Maybe DateTimeValueWhenUnsetConfigurationProperty
..}
instance Property "MappedDataSetParameters" DateTimeParameterDeclarationProperty where
type PropertyType "MappedDataSetParameters" DateTimeParameterDeclarationProperty = [MappedDataSetParameterProperty]
set :: PropertyType
"MappedDataSetParameters" DateTimeParameterDeclarationProperty
-> DateTimeParameterDeclarationProperty
-> DateTimeParameterDeclarationProperty
set PropertyType
"MappedDataSetParameters" DateTimeParameterDeclarationProperty
newValue DateTimeParameterDeclarationProperty {Maybe [MappedDataSetParameterProperty]
Maybe (Value Text)
Maybe DateTimeValueWhenUnsetConfigurationProperty
Maybe DateTimeDefaultValuesProperty
()
Value Text
haddock_workaround_ :: DateTimeParameterDeclarationProperty -> ()
defaultValues :: DateTimeParameterDeclarationProperty
-> Maybe DateTimeDefaultValuesProperty
mappedDataSetParameters :: DateTimeParameterDeclarationProperty
-> Maybe [MappedDataSetParameterProperty]
name :: DateTimeParameterDeclarationProperty -> Value Text
timeGranularity :: DateTimeParameterDeclarationProperty -> Maybe (Value Text)
valueWhenUnset :: DateTimeParameterDeclarationProperty
-> Maybe DateTimeValueWhenUnsetConfigurationProperty
haddock_workaround_ :: ()
defaultValues :: Maybe DateTimeDefaultValuesProperty
mappedDataSetParameters :: Maybe [MappedDataSetParameterProperty]
name :: Value Text
timeGranularity :: Maybe (Value Text)
valueWhenUnset :: Maybe DateTimeValueWhenUnsetConfigurationProperty
..}
= DateTimeParameterDeclarationProperty
{mappedDataSetParameters :: Maybe [MappedDataSetParameterProperty]
mappedDataSetParameters = [MappedDataSetParameterProperty]
-> Maybe [MappedDataSetParameterProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [MappedDataSetParameterProperty]
PropertyType
"MappedDataSetParameters" DateTimeParameterDeclarationProperty
newValue, Maybe (Value Text)
Maybe DateTimeValueWhenUnsetConfigurationProperty
Maybe DateTimeDefaultValuesProperty
()
Value Text
haddock_workaround_ :: ()
defaultValues :: Maybe DateTimeDefaultValuesProperty
name :: Value Text
timeGranularity :: Maybe (Value Text)
valueWhenUnset :: Maybe DateTimeValueWhenUnsetConfigurationProperty
haddock_workaround_ :: ()
defaultValues :: Maybe DateTimeDefaultValuesProperty
name :: Value Text
timeGranularity :: Maybe (Value Text)
valueWhenUnset :: Maybe DateTimeValueWhenUnsetConfigurationProperty
..}
instance Property "Name" DateTimeParameterDeclarationProperty where
type PropertyType "Name" DateTimeParameterDeclarationProperty = Value Prelude.Text
set :: PropertyType "Name" DateTimeParameterDeclarationProperty
-> DateTimeParameterDeclarationProperty
-> DateTimeParameterDeclarationProperty
set PropertyType "Name" DateTimeParameterDeclarationProperty
newValue DateTimeParameterDeclarationProperty {Maybe [MappedDataSetParameterProperty]
Maybe (Value Text)
Maybe DateTimeValueWhenUnsetConfigurationProperty
Maybe DateTimeDefaultValuesProperty
()
Value Text
haddock_workaround_ :: DateTimeParameterDeclarationProperty -> ()
defaultValues :: DateTimeParameterDeclarationProperty
-> Maybe DateTimeDefaultValuesProperty
mappedDataSetParameters :: DateTimeParameterDeclarationProperty
-> Maybe [MappedDataSetParameterProperty]
name :: DateTimeParameterDeclarationProperty -> Value Text
timeGranularity :: DateTimeParameterDeclarationProperty -> Maybe (Value Text)
valueWhenUnset :: DateTimeParameterDeclarationProperty
-> Maybe DateTimeValueWhenUnsetConfigurationProperty
haddock_workaround_ :: ()
defaultValues :: Maybe DateTimeDefaultValuesProperty
mappedDataSetParameters :: Maybe [MappedDataSetParameterProperty]
name :: Value Text
timeGranularity :: Maybe (Value Text)
valueWhenUnset :: Maybe DateTimeValueWhenUnsetConfigurationProperty
..}
= DateTimeParameterDeclarationProperty {name :: Value Text
name = PropertyType "Name" DateTimeParameterDeclarationProperty
Value Text
newValue, Maybe [MappedDataSetParameterProperty]
Maybe (Value Text)
Maybe DateTimeValueWhenUnsetConfigurationProperty
Maybe DateTimeDefaultValuesProperty
()
haddock_workaround_ :: ()
defaultValues :: Maybe DateTimeDefaultValuesProperty
mappedDataSetParameters :: Maybe [MappedDataSetParameterProperty]
timeGranularity :: Maybe (Value Text)
valueWhenUnset :: Maybe DateTimeValueWhenUnsetConfigurationProperty
haddock_workaround_ :: ()
defaultValues :: Maybe DateTimeDefaultValuesProperty
mappedDataSetParameters :: Maybe [MappedDataSetParameterProperty]
timeGranularity :: Maybe (Value Text)
valueWhenUnset :: Maybe DateTimeValueWhenUnsetConfigurationProperty
..}
instance Property "TimeGranularity" DateTimeParameterDeclarationProperty where
type PropertyType "TimeGranularity" DateTimeParameterDeclarationProperty = Value Prelude.Text
set :: PropertyType "TimeGranularity" DateTimeParameterDeclarationProperty
-> DateTimeParameterDeclarationProperty
-> DateTimeParameterDeclarationProperty
set PropertyType "TimeGranularity" DateTimeParameterDeclarationProperty
newValue DateTimeParameterDeclarationProperty {Maybe [MappedDataSetParameterProperty]
Maybe (Value Text)
Maybe DateTimeValueWhenUnsetConfigurationProperty
Maybe DateTimeDefaultValuesProperty
()
Value Text
haddock_workaround_ :: DateTimeParameterDeclarationProperty -> ()
defaultValues :: DateTimeParameterDeclarationProperty
-> Maybe DateTimeDefaultValuesProperty
mappedDataSetParameters :: DateTimeParameterDeclarationProperty
-> Maybe [MappedDataSetParameterProperty]
name :: DateTimeParameterDeclarationProperty -> Value Text
timeGranularity :: DateTimeParameterDeclarationProperty -> Maybe (Value Text)
valueWhenUnset :: DateTimeParameterDeclarationProperty
-> Maybe DateTimeValueWhenUnsetConfigurationProperty
haddock_workaround_ :: ()
defaultValues :: Maybe DateTimeDefaultValuesProperty
mappedDataSetParameters :: Maybe [MappedDataSetParameterProperty]
name :: Value Text
timeGranularity :: Maybe (Value Text)
valueWhenUnset :: Maybe DateTimeValueWhenUnsetConfigurationProperty
..}
= DateTimeParameterDeclarationProperty
{timeGranularity :: Maybe (Value Text)
timeGranularity = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "TimeGranularity" DateTimeParameterDeclarationProperty
Value Text
newValue, Maybe [MappedDataSetParameterProperty]
Maybe DateTimeValueWhenUnsetConfigurationProperty
Maybe DateTimeDefaultValuesProperty
()
Value Text
haddock_workaround_ :: ()
defaultValues :: Maybe DateTimeDefaultValuesProperty
mappedDataSetParameters :: Maybe [MappedDataSetParameterProperty]
name :: Value Text
valueWhenUnset :: Maybe DateTimeValueWhenUnsetConfigurationProperty
haddock_workaround_ :: ()
defaultValues :: Maybe DateTimeDefaultValuesProperty
mappedDataSetParameters :: Maybe [MappedDataSetParameterProperty]
name :: Value Text
valueWhenUnset :: Maybe DateTimeValueWhenUnsetConfigurationProperty
..}
instance Property "ValueWhenUnset" DateTimeParameterDeclarationProperty where
type PropertyType "ValueWhenUnset" DateTimeParameterDeclarationProperty = DateTimeValueWhenUnsetConfigurationProperty
set :: PropertyType "ValueWhenUnset" DateTimeParameterDeclarationProperty
-> DateTimeParameterDeclarationProperty
-> DateTimeParameterDeclarationProperty
set PropertyType "ValueWhenUnset" DateTimeParameterDeclarationProperty
newValue DateTimeParameterDeclarationProperty {Maybe [MappedDataSetParameterProperty]
Maybe (Value Text)
Maybe DateTimeValueWhenUnsetConfigurationProperty
Maybe DateTimeDefaultValuesProperty
()
Value Text
haddock_workaround_ :: DateTimeParameterDeclarationProperty -> ()
defaultValues :: DateTimeParameterDeclarationProperty
-> Maybe DateTimeDefaultValuesProperty
mappedDataSetParameters :: DateTimeParameterDeclarationProperty
-> Maybe [MappedDataSetParameterProperty]
name :: DateTimeParameterDeclarationProperty -> Value Text
timeGranularity :: DateTimeParameterDeclarationProperty -> Maybe (Value Text)
valueWhenUnset :: DateTimeParameterDeclarationProperty
-> Maybe DateTimeValueWhenUnsetConfigurationProperty
haddock_workaround_ :: ()
defaultValues :: Maybe DateTimeDefaultValuesProperty
mappedDataSetParameters :: Maybe [MappedDataSetParameterProperty]
name :: Value Text
timeGranularity :: Maybe (Value Text)
valueWhenUnset :: Maybe DateTimeValueWhenUnsetConfigurationProperty
..}
= DateTimeParameterDeclarationProperty
{valueWhenUnset :: Maybe DateTimeValueWhenUnsetConfigurationProperty
valueWhenUnset = DateTimeValueWhenUnsetConfigurationProperty
-> Maybe DateTimeValueWhenUnsetConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ValueWhenUnset" DateTimeParameterDeclarationProperty
DateTimeValueWhenUnsetConfigurationProperty
newValue, Maybe [MappedDataSetParameterProperty]
Maybe (Value Text)
Maybe DateTimeDefaultValuesProperty
()
Value Text
haddock_workaround_ :: ()
defaultValues :: Maybe DateTimeDefaultValuesProperty
mappedDataSetParameters :: Maybe [MappedDataSetParameterProperty]
name :: Value Text
timeGranularity :: Maybe (Value Text)
haddock_workaround_ :: ()
defaultValues :: Maybe DateTimeDefaultValuesProperty
mappedDataSetParameters :: Maybe [MappedDataSetParameterProperty]
name :: Value Text
timeGranularity :: Maybe (Value Text)
..}