module Stratosphere.Pinpoint.Campaign.ScheduleProperty (
module Exports, ScheduleProperty(..), mkScheduleProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.Pinpoint.Campaign.CampaignEventFilterProperty as Exports
import {-# SOURCE #-} Stratosphere.Pinpoint.Campaign.QuietTimeProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data ScheduleProperty
=
ScheduleProperty {ScheduleProperty -> ()
haddock_workaround_ :: (),
ScheduleProperty -> Maybe (Value Text)
endTime :: (Prelude.Maybe (Value Prelude.Text)),
ScheduleProperty -> Maybe CampaignEventFilterProperty
eventFilter :: (Prelude.Maybe CampaignEventFilterProperty),
ScheduleProperty -> Maybe (Value Text)
frequency :: (Prelude.Maybe (Value Prelude.Text)),
ScheduleProperty -> Maybe (Value Bool)
isLocalTime :: (Prelude.Maybe (Value Prelude.Bool)),
ScheduleProperty -> Maybe QuietTimeProperty
quietTime :: (Prelude.Maybe QuietTimeProperty),
ScheduleProperty -> Maybe (Value Text)
startTime :: (Prelude.Maybe (Value Prelude.Text)),
ScheduleProperty -> Maybe (Value Text)
timeZone :: (Prelude.Maybe (Value Prelude.Text))}
deriving stock (ScheduleProperty -> ScheduleProperty -> Bool
(ScheduleProperty -> ScheduleProperty -> Bool)
-> (ScheduleProperty -> ScheduleProperty -> Bool)
-> Eq ScheduleProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ScheduleProperty -> ScheduleProperty -> Bool
== :: ScheduleProperty -> ScheduleProperty -> Bool
$c/= :: ScheduleProperty -> ScheduleProperty -> Bool
/= :: ScheduleProperty -> ScheduleProperty -> Bool
Prelude.Eq, Int -> ScheduleProperty -> ShowS
[ScheduleProperty] -> ShowS
ScheduleProperty -> String
(Int -> ScheduleProperty -> ShowS)
-> (ScheduleProperty -> String)
-> ([ScheduleProperty] -> ShowS)
-> Show ScheduleProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ScheduleProperty -> ShowS
showsPrec :: Int -> ScheduleProperty -> ShowS
$cshow :: ScheduleProperty -> String
show :: ScheduleProperty -> String
$cshowList :: [ScheduleProperty] -> ShowS
showList :: [ScheduleProperty] -> ShowS
Prelude.Show)
mkScheduleProperty :: ScheduleProperty
mkScheduleProperty :: ScheduleProperty
mkScheduleProperty
= ScheduleProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), endTime :: Maybe (Value Text)
endTime = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
eventFilter :: Maybe CampaignEventFilterProperty
eventFilter = Maybe CampaignEventFilterProperty
forall a. Maybe a
Prelude.Nothing, frequency :: Maybe (Value Text)
frequency = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
isLocalTime :: Maybe (Value Bool)
isLocalTime = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing, quietTime :: Maybe QuietTimeProperty
quietTime = Maybe QuietTimeProperty
forall a. Maybe a
Prelude.Nothing,
startTime :: Maybe (Value Text)
startTime = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, timeZone :: Maybe (Value Text)
timeZone = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties ScheduleProperty where
toResourceProperties :: ScheduleProperty -> ResourceProperties
toResourceProperties ScheduleProperty {Maybe (Value Bool)
Maybe (Value Text)
Maybe QuietTimeProperty
Maybe CampaignEventFilterProperty
()
haddock_workaround_ :: ScheduleProperty -> ()
endTime :: ScheduleProperty -> Maybe (Value Text)
eventFilter :: ScheduleProperty -> Maybe CampaignEventFilterProperty
frequency :: ScheduleProperty -> Maybe (Value Text)
isLocalTime :: ScheduleProperty -> Maybe (Value Bool)
quietTime :: ScheduleProperty -> Maybe QuietTimeProperty
startTime :: ScheduleProperty -> Maybe (Value Text)
timeZone :: ScheduleProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
endTime :: Maybe (Value Text)
eventFilter :: Maybe CampaignEventFilterProperty
frequency :: Maybe (Value Text)
isLocalTime :: Maybe (Value Bool)
quietTime :: Maybe QuietTimeProperty
startTime :: Maybe (Value Text)
timeZone :: Maybe (Value Text)
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::Pinpoint::Campaign.Schedule",
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 -> 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
"EndTime" (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)
endTime,
Key -> CampaignEventFilterProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EventFilter" (CampaignEventFilterProperty -> (Key, Value))
-> Maybe CampaignEventFilterProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CampaignEventFilterProperty
eventFilter,
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
"Frequency" (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)
frequency,
Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"IsLocalTime" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
isLocalTime,
Key -> QuietTimeProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"QuietTime" (QuietTimeProperty -> (Key, Value))
-> Maybe QuietTimeProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe QuietTimeProperty
quietTime,
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
"StartTime" (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)
startTime,
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
"TimeZone" (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)
timeZone])}
instance JSON.ToJSON ScheduleProperty where
toJSON :: ScheduleProperty -> Value
toJSON ScheduleProperty {Maybe (Value Bool)
Maybe (Value Text)
Maybe QuietTimeProperty
Maybe CampaignEventFilterProperty
()
haddock_workaround_ :: ScheduleProperty -> ()
endTime :: ScheduleProperty -> Maybe (Value Text)
eventFilter :: ScheduleProperty -> Maybe CampaignEventFilterProperty
frequency :: ScheduleProperty -> Maybe (Value Text)
isLocalTime :: ScheduleProperty -> Maybe (Value Bool)
quietTime :: ScheduleProperty -> Maybe QuietTimeProperty
startTime :: ScheduleProperty -> Maybe (Value Text)
timeZone :: ScheduleProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
endTime :: Maybe (Value Text)
eventFilter :: Maybe CampaignEventFilterProperty
frequency :: Maybe (Value Text)
isLocalTime :: Maybe (Value Bool)
quietTime :: Maybe QuietTimeProperty
startTime :: Maybe (Value Text)
timeZone :: Maybe (Value Text)
..}
= [(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 -> 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
"EndTime" (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)
endTime,
Key -> CampaignEventFilterProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EventFilter" (CampaignEventFilterProperty -> (Key, Value))
-> Maybe CampaignEventFilterProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CampaignEventFilterProperty
eventFilter,
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
"Frequency" (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)
frequency,
Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"IsLocalTime" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
isLocalTime,
Key -> QuietTimeProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"QuietTime" (QuietTimeProperty -> (Key, Value))
-> Maybe QuietTimeProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe QuietTimeProperty
quietTime,
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
"StartTime" (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)
startTime,
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
"TimeZone" (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)
timeZone]))
instance Property "EndTime" ScheduleProperty where
type PropertyType "EndTime" ScheduleProperty = Value Prelude.Text
set :: PropertyType "EndTime" ScheduleProperty
-> ScheduleProperty -> ScheduleProperty
set PropertyType "EndTime" ScheduleProperty
newValue ScheduleProperty {Maybe (Value Bool)
Maybe (Value Text)
Maybe QuietTimeProperty
Maybe CampaignEventFilterProperty
()
haddock_workaround_ :: ScheduleProperty -> ()
endTime :: ScheduleProperty -> Maybe (Value Text)
eventFilter :: ScheduleProperty -> Maybe CampaignEventFilterProperty
frequency :: ScheduleProperty -> Maybe (Value Text)
isLocalTime :: ScheduleProperty -> Maybe (Value Bool)
quietTime :: ScheduleProperty -> Maybe QuietTimeProperty
startTime :: ScheduleProperty -> Maybe (Value Text)
timeZone :: ScheduleProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
endTime :: Maybe (Value Text)
eventFilter :: Maybe CampaignEventFilterProperty
frequency :: Maybe (Value Text)
isLocalTime :: Maybe (Value Bool)
quietTime :: Maybe QuietTimeProperty
startTime :: Maybe (Value Text)
timeZone :: Maybe (Value Text)
..}
= ScheduleProperty {endTime :: Maybe (Value Text)
endTime = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "EndTime" ScheduleProperty
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Text)
Maybe QuietTimeProperty
Maybe CampaignEventFilterProperty
()
haddock_workaround_ :: ()
eventFilter :: Maybe CampaignEventFilterProperty
frequency :: Maybe (Value Text)
isLocalTime :: Maybe (Value Bool)
quietTime :: Maybe QuietTimeProperty
startTime :: Maybe (Value Text)
timeZone :: Maybe (Value Text)
haddock_workaround_ :: ()
eventFilter :: Maybe CampaignEventFilterProperty
frequency :: Maybe (Value Text)
isLocalTime :: Maybe (Value Bool)
quietTime :: Maybe QuietTimeProperty
startTime :: Maybe (Value Text)
timeZone :: Maybe (Value Text)
..}
instance Property "EventFilter" ScheduleProperty where
type PropertyType "EventFilter" ScheduleProperty = CampaignEventFilterProperty
set :: PropertyType "EventFilter" ScheduleProperty
-> ScheduleProperty -> ScheduleProperty
set PropertyType "EventFilter" ScheduleProperty
newValue ScheduleProperty {Maybe (Value Bool)
Maybe (Value Text)
Maybe QuietTimeProperty
Maybe CampaignEventFilterProperty
()
haddock_workaround_ :: ScheduleProperty -> ()
endTime :: ScheduleProperty -> Maybe (Value Text)
eventFilter :: ScheduleProperty -> Maybe CampaignEventFilterProperty
frequency :: ScheduleProperty -> Maybe (Value Text)
isLocalTime :: ScheduleProperty -> Maybe (Value Bool)
quietTime :: ScheduleProperty -> Maybe QuietTimeProperty
startTime :: ScheduleProperty -> Maybe (Value Text)
timeZone :: ScheduleProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
endTime :: Maybe (Value Text)
eventFilter :: Maybe CampaignEventFilterProperty
frequency :: Maybe (Value Text)
isLocalTime :: Maybe (Value Bool)
quietTime :: Maybe QuietTimeProperty
startTime :: Maybe (Value Text)
timeZone :: Maybe (Value Text)
..}
= ScheduleProperty {eventFilter :: Maybe CampaignEventFilterProperty
eventFilter = CampaignEventFilterProperty -> Maybe CampaignEventFilterProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "EventFilter" ScheduleProperty
CampaignEventFilterProperty
newValue, Maybe (Value Bool)
Maybe (Value Text)
Maybe QuietTimeProperty
()
haddock_workaround_ :: ()
endTime :: Maybe (Value Text)
frequency :: Maybe (Value Text)
isLocalTime :: Maybe (Value Bool)
quietTime :: Maybe QuietTimeProperty
startTime :: Maybe (Value Text)
timeZone :: Maybe (Value Text)
haddock_workaround_ :: ()
endTime :: Maybe (Value Text)
frequency :: Maybe (Value Text)
isLocalTime :: Maybe (Value Bool)
quietTime :: Maybe QuietTimeProperty
startTime :: Maybe (Value Text)
timeZone :: Maybe (Value Text)
..}
instance Property "Frequency" ScheduleProperty where
type PropertyType "Frequency" ScheduleProperty = Value Prelude.Text
set :: PropertyType "Frequency" ScheduleProperty
-> ScheduleProperty -> ScheduleProperty
set PropertyType "Frequency" ScheduleProperty
newValue ScheduleProperty {Maybe (Value Bool)
Maybe (Value Text)
Maybe QuietTimeProperty
Maybe CampaignEventFilterProperty
()
haddock_workaround_ :: ScheduleProperty -> ()
endTime :: ScheduleProperty -> Maybe (Value Text)
eventFilter :: ScheduleProperty -> Maybe CampaignEventFilterProperty
frequency :: ScheduleProperty -> Maybe (Value Text)
isLocalTime :: ScheduleProperty -> Maybe (Value Bool)
quietTime :: ScheduleProperty -> Maybe QuietTimeProperty
startTime :: ScheduleProperty -> Maybe (Value Text)
timeZone :: ScheduleProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
endTime :: Maybe (Value Text)
eventFilter :: Maybe CampaignEventFilterProperty
frequency :: Maybe (Value Text)
isLocalTime :: Maybe (Value Bool)
quietTime :: Maybe QuietTimeProperty
startTime :: Maybe (Value Text)
timeZone :: Maybe (Value Text)
..}
= ScheduleProperty {frequency :: Maybe (Value Text)
frequency = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Frequency" ScheduleProperty
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Text)
Maybe QuietTimeProperty
Maybe CampaignEventFilterProperty
()
haddock_workaround_ :: ()
endTime :: Maybe (Value Text)
eventFilter :: Maybe CampaignEventFilterProperty
isLocalTime :: Maybe (Value Bool)
quietTime :: Maybe QuietTimeProperty
startTime :: Maybe (Value Text)
timeZone :: Maybe (Value Text)
haddock_workaround_ :: ()
endTime :: Maybe (Value Text)
eventFilter :: Maybe CampaignEventFilterProperty
isLocalTime :: Maybe (Value Bool)
quietTime :: Maybe QuietTimeProperty
startTime :: Maybe (Value Text)
timeZone :: Maybe (Value Text)
..}
instance Property "IsLocalTime" ScheduleProperty where
type PropertyType "IsLocalTime" ScheduleProperty = Value Prelude.Bool
set :: PropertyType "IsLocalTime" ScheduleProperty
-> ScheduleProperty -> ScheduleProperty
set PropertyType "IsLocalTime" ScheduleProperty
newValue ScheduleProperty {Maybe (Value Bool)
Maybe (Value Text)
Maybe QuietTimeProperty
Maybe CampaignEventFilterProperty
()
haddock_workaround_ :: ScheduleProperty -> ()
endTime :: ScheduleProperty -> Maybe (Value Text)
eventFilter :: ScheduleProperty -> Maybe CampaignEventFilterProperty
frequency :: ScheduleProperty -> Maybe (Value Text)
isLocalTime :: ScheduleProperty -> Maybe (Value Bool)
quietTime :: ScheduleProperty -> Maybe QuietTimeProperty
startTime :: ScheduleProperty -> Maybe (Value Text)
timeZone :: ScheduleProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
endTime :: Maybe (Value Text)
eventFilter :: Maybe CampaignEventFilterProperty
frequency :: Maybe (Value Text)
isLocalTime :: Maybe (Value Bool)
quietTime :: Maybe QuietTimeProperty
startTime :: Maybe (Value Text)
timeZone :: Maybe (Value Text)
..}
= ScheduleProperty {isLocalTime :: Maybe (Value Bool)
isLocalTime = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "IsLocalTime" ScheduleProperty
Value Bool
newValue, Maybe (Value Text)
Maybe QuietTimeProperty
Maybe CampaignEventFilterProperty
()
haddock_workaround_ :: ()
endTime :: Maybe (Value Text)
eventFilter :: Maybe CampaignEventFilterProperty
frequency :: Maybe (Value Text)
quietTime :: Maybe QuietTimeProperty
startTime :: Maybe (Value Text)
timeZone :: Maybe (Value Text)
haddock_workaround_ :: ()
endTime :: Maybe (Value Text)
eventFilter :: Maybe CampaignEventFilterProperty
frequency :: Maybe (Value Text)
quietTime :: Maybe QuietTimeProperty
startTime :: Maybe (Value Text)
timeZone :: Maybe (Value Text)
..}
instance Property "QuietTime" ScheduleProperty where
type PropertyType "QuietTime" ScheduleProperty = QuietTimeProperty
set :: PropertyType "QuietTime" ScheduleProperty
-> ScheduleProperty -> ScheduleProperty
set PropertyType "QuietTime" ScheduleProperty
newValue ScheduleProperty {Maybe (Value Bool)
Maybe (Value Text)
Maybe QuietTimeProperty
Maybe CampaignEventFilterProperty
()
haddock_workaround_ :: ScheduleProperty -> ()
endTime :: ScheduleProperty -> Maybe (Value Text)
eventFilter :: ScheduleProperty -> Maybe CampaignEventFilterProperty
frequency :: ScheduleProperty -> Maybe (Value Text)
isLocalTime :: ScheduleProperty -> Maybe (Value Bool)
quietTime :: ScheduleProperty -> Maybe QuietTimeProperty
startTime :: ScheduleProperty -> Maybe (Value Text)
timeZone :: ScheduleProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
endTime :: Maybe (Value Text)
eventFilter :: Maybe CampaignEventFilterProperty
frequency :: Maybe (Value Text)
isLocalTime :: Maybe (Value Bool)
quietTime :: Maybe QuietTimeProperty
startTime :: Maybe (Value Text)
timeZone :: Maybe (Value Text)
..}
= ScheduleProperty {quietTime :: Maybe QuietTimeProperty
quietTime = QuietTimeProperty -> Maybe QuietTimeProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "QuietTime" ScheduleProperty
QuietTimeProperty
newValue, Maybe (Value Bool)
Maybe (Value Text)
Maybe CampaignEventFilterProperty
()
haddock_workaround_ :: ()
endTime :: Maybe (Value Text)
eventFilter :: Maybe CampaignEventFilterProperty
frequency :: Maybe (Value Text)
isLocalTime :: Maybe (Value Bool)
startTime :: Maybe (Value Text)
timeZone :: Maybe (Value Text)
haddock_workaround_ :: ()
endTime :: Maybe (Value Text)
eventFilter :: Maybe CampaignEventFilterProperty
frequency :: Maybe (Value Text)
isLocalTime :: Maybe (Value Bool)
startTime :: Maybe (Value Text)
timeZone :: Maybe (Value Text)
..}
instance Property "StartTime" ScheduleProperty where
type PropertyType "StartTime" ScheduleProperty = Value Prelude.Text
set :: PropertyType "StartTime" ScheduleProperty
-> ScheduleProperty -> ScheduleProperty
set PropertyType "StartTime" ScheduleProperty
newValue ScheduleProperty {Maybe (Value Bool)
Maybe (Value Text)
Maybe QuietTimeProperty
Maybe CampaignEventFilterProperty
()
haddock_workaround_ :: ScheduleProperty -> ()
endTime :: ScheduleProperty -> Maybe (Value Text)
eventFilter :: ScheduleProperty -> Maybe CampaignEventFilterProperty
frequency :: ScheduleProperty -> Maybe (Value Text)
isLocalTime :: ScheduleProperty -> Maybe (Value Bool)
quietTime :: ScheduleProperty -> Maybe QuietTimeProperty
startTime :: ScheduleProperty -> Maybe (Value Text)
timeZone :: ScheduleProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
endTime :: Maybe (Value Text)
eventFilter :: Maybe CampaignEventFilterProperty
frequency :: Maybe (Value Text)
isLocalTime :: Maybe (Value Bool)
quietTime :: Maybe QuietTimeProperty
startTime :: Maybe (Value Text)
timeZone :: Maybe (Value Text)
..}
= ScheduleProperty {startTime :: Maybe (Value Text)
startTime = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "StartTime" ScheduleProperty
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Text)
Maybe QuietTimeProperty
Maybe CampaignEventFilterProperty
()
haddock_workaround_ :: ()
endTime :: Maybe (Value Text)
eventFilter :: Maybe CampaignEventFilterProperty
frequency :: Maybe (Value Text)
isLocalTime :: Maybe (Value Bool)
quietTime :: Maybe QuietTimeProperty
timeZone :: Maybe (Value Text)
haddock_workaround_ :: ()
endTime :: Maybe (Value Text)
eventFilter :: Maybe CampaignEventFilterProperty
frequency :: Maybe (Value Text)
isLocalTime :: Maybe (Value Bool)
quietTime :: Maybe QuietTimeProperty
timeZone :: Maybe (Value Text)
..}
instance Property "TimeZone" ScheduleProperty where
type PropertyType "TimeZone" ScheduleProperty = Value Prelude.Text
set :: PropertyType "TimeZone" ScheduleProperty
-> ScheduleProperty -> ScheduleProperty
set PropertyType "TimeZone" ScheduleProperty
newValue ScheduleProperty {Maybe (Value Bool)
Maybe (Value Text)
Maybe QuietTimeProperty
Maybe CampaignEventFilterProperty
()
haddock_workaround_ :: ScheduleProperty -> ()
endTime :: ScheduleProperty -> Maybe (Value Text)
eventFilter :: ScheduleProperty -> Maybe CampaignEventFilterProperty
frequency :: ScheduleProperty -> Maybe (Value Text)
isLocalTime :: ScheduleProperty -> Maybe (Value Bool)
quietTime :: ScheduleProperty -> Maybe QuietTimeProperty
startTime :: ScheduleProperty -> Maybe (Value Text)
timeZone :: ScheduleProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
endTime :: Maybe (Value Text)
eventFilter :: Maybe CampaignEventFilterProperty
frequency :: Maybe (Value Text)
isLocalTime :: Maybe (Value Bool)
quietTime :: Maybe QuietTimeProperty
startTime :: Maybe (Value Text)
timeZone :: Maybe (Value Text)
..}
= ScheduleProperty {timeZone :: Maybe (Value Text)
timeZone = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "TimeZone" ScheduleProperty
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Text)
Maybe QuietTimeProperty
Maybe CampaignEventFilterProperty
()
haddock_workaround_ :: ()
endTime :: Maybe (Value Text)
eventFilter :: Maybe CampaignEventFilterProperty
frequency :: Maybe (Value Text)
isLocalTime :: Maybe (Value Bool)
quietTime :: Maybe QuietTimeProperty
startTime :: Maybe (Value Text)
haddock_workaround_ :: ()
endTime :: Maybe (Value Text)
eventFilter :: Maybe CampaignEventFilterProperty
frequency :: Maybe (Value Text)
isLocalTime :: Maybe (Value Bool)
quietTime :: Maybe QuietTimeProperty
startTime :: Maybe (Value Text)
..}