{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.MediaConvert.Types.JobTemplateSettings where
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import Amazonka.MediaConvert.Types.AvailBlanking
import Amazonka.MediaConvert.Types.EsamSettings
import Amazonka.MediaConvert.Types.ExtendedDataServices
import Amazonka.MediaConvert.Types.InputTemplate
import Amazonka.MediaConvert.Types.KantarWatermarkSettings
import Amazonka.MediaConvert.Types.MotionImageInserter
import Amazonka.MediaConvert.Types.NielsenConfiguration
import Amazonka.MediaConvert.Types.NielsenNonLinearWatermarkSettings
import Amazonka.MediaConvert.Types.OutputGroup
import Amazonka.MediaConvert.Types.TimecodeConfig
import Amazonka.MediaConvert.Types.TimedMetadataInsertion
import qualified Amazonka.Prelude as Prelude
data JobTemplateSettings = JobTemplateSettings'
{
JobTemplateSettings -> Maybe Int
adAvailOffset :: Prelude.Maybe Prelude.Int,
JobTemplateSettings -> Maybe AvailBlanking
availBlanking :: Prelude.Maybe AvailBlanking,
JobTemplateSettings -> Maybe EsamSettings
esam :: Prelude.Maybe EsamSettings,
JobTemplateSettings -> Maybe ExtendedDataServices
extendedDataServices :: Prelude.Maybe ExtendedDataServices,
JobTemplateSettings -> Maybe [InputTemplate]
inputs :: Prelude.Maybe [InputTemplate],
JobTemplateSettings -> Maybe KantarWatermarkSettings
kantarWatermark :: Prelude.Maybe KantarWatermarkSettings,
JobTemplateSettings -> Maybe MotionImageInserter
motionImageInserter :: Prelude.Maybe MotionImageInserter,
JobTemplateSettings -> Maybe NielsenConfiguration
nielsenConfiguration :: Prelude.Maybe NielsenConfiguration,
JobTemplateSettings -> Maybe NielsenNonLinearWatermarkSettings
nielsenNonLinearWatermark :: Prelude.Maybe NielsenNonLinearWatermarkSettings,
JobTemplateSettings -> Maybe [OutputGroup]
outputGroups :: Prelude.Maybe [OutputGroup],
JobTemplateSettings -> Maybe TimecodeConfig
timecodeConfig :: Prelude.Maybe TimecodeConfig,
JobTemplateSettings -> Maybe TimedMetadataInsertion
timedMetadataInsertion :: Prelude.Maybe TimedMetadataInsertion
}
deriving (JobTemplateSettings -> JobTemplateSettings -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: JobTemplateSettings -> JobTemplateSettings -> Bool
$c/= :: JobTemplateSettings -> JobTemplateSettings -> Bool
== :: JobTemplateSettings -> JobTemplateSettings -> Bool
$c== :: JobTemplateSettings -> JobTemplateSettings -> Bool
Prelude.Eq, ReadPrec [JobTemplateSettings]
ReadPrec JobTemplateSettings
Int -> ReadS JobTemplateSettings
ReadS [JobTemplateSettings]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [JobTemplateSettings]
$creadListPrec :: ReadPrec [JobTemplateSettings]
readPrec :: ReadPrec JobTemplateSettings
$creadPrec :: ReadPrec JobTemplateSettings
readList :: ReadS [JobTemplateSettings]
$creadList :: ReadS [JobTemplateSettings]
readsPrec :: Int -> ReadS JobTemplateSettings
$creadsPrec :: Int -> ReadS JobTemplateSettings
Prelude.Read, Int -> JobTemplateSettings -> ShowS
[JobTemplateSettings] -> ShowS
JobTemplateSettings -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [JobTemplateSettings] -> ShowS
$cshowList :: [JobTemplateSettings] -> ShowS
show :: JobTemplateSettings -> String
$cshow :: JobTemplateSettings -> String
showsPrec :: Int -> JobTemplateSettings -> ShowS
$cshowsPrec :: Int -> JobTemplateSettings -> ShowS
Prelude.Show, forall x. Rep JobTemplateSettings x -> JobTemplateSettings
forall x. JobTemplateSettings -> Rep JobTemplateSettings x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep JobTemplateSettings x -> JobTemplateSettings
$cfrom :: forall x. JobTemplateSettings -> Rep JobTemplateSettings x
Prelude.Generic)
newJobTemplateSettings ::
JobTemplateSettings
newJobTemplateSettings :: JobTemplateSettings
newJobTemplateSettings =
JobTemplateSettings'
{ $sel:adAvailOffset:JobTemplateSettings' :: Maybe Int
adAvailOffset =
forall a. Maybe a
Prelude.Nothing,
$sel:availBlanking:JobTemplateSettings' :: Maybe AvailBlanking
availBlanking = forall a. Maybe a
Prelude.Nothing,
$sel:esam:JobTemplateSettings' :: Maybe EsamSettings
esam = forall a. Maybe a
Prelude.Nothing,
$sel:extendedDataServices:JobTemplateSettings' :: Maybe ExtendedDataServices
extendedDataServices = forall a. Maybe a
Prelude.Nothing,
$sel:inputs:JobTemplateSettings' :: Maybe [InputTemplate]
inputs = forall a. Maybe a
Prelude.Nothing,
$sel:kantarWatermark:JobTemplateSettings' :: Maybe KantarWatermarkSettings
kantarWatermark = forall a. Maybe a
Prelude.Nothing,
$sel:motionImageInserter:JobTemplateSettings' :: Maybe MotionImageInserter
motionImageInserter = forall a. Maybe a
Prelude.Nothing,
$sel:nielsenConfiguration:JobTemplateSettings' :: Maybe NielsenConfiguration
nielsenConfiguration = forall a. Maybe a
Prelude.Nothing,
$sel:nielsenNonLinearWatermark:JobTemplateSettings' :: Maybe NielsenNonLinearWatermarkSettings
nielsenNonLinearWatermark = forall a. Maybe a
Prelude.Nothing,
$sel:outputGroups:JobTemplateSettings' :: Maybe [OutputGroup]
outputGroups = forall a. Maybe a
Prelude.Nothing,
$sel:timecodeConfig:JobTemplateSettings' :: Maybe TimecodeConfig
timecodeConfig = forall a. Maybe a
Prelude.Nothing,
$sel:timedMetadataInsertion:JobTemplateSettings' :: Maybe TimedMetadataInsertion
timedMetadataInsertion = forall a. Maybe a
Prelude.Nothing
}
jobTemplateSettings_adAvailOffset :: Lens.Lens' JobTemplateSettings (Prelude.Maybe Prelude.Int)
jobTemplateSettings_adAvailOffset :: Lens' JobTemplateSettings (Maybe Int)
jobTemplateSettings_adAvailOffset = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\JobTemplateSettings' {Maybe Int
adAvailOffset :: Maybe Int
$sel:adAvailOffset:JobTemplateSettings' :: JobTemplateSettings -> Maybe Int
adAvailOffset} -> Maybe Int
adAvailOffset) (\s :: JobTemplateSettings
s@JobTemplateSettings' {} Maybe Int
a -> JobTemplateSettings
s {$sel:adAvailOffset:JobTemplateSettings' :: Maybe Int
adAvailOffset = Maybe Int
a} :: JobTemplateSettings)
jobTemplateSettings_availBlanking :: Lens.Lens' JobTemplateSettings (Prelude.Maybe AvailBlanking)
jobTemplateSettings_availBlanking :: Lens' JobTemplateSettings (Maybe AvailBlanking)
jobTemplateSettings_availBlanking = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\JobTemplateSettings' {Maybe AvailBlanking
availBlanking :: Maybe AvailBlanking
$sel:availBlanking:JobTemplateSettings' :: JobTemplateSettings -> Maybe AvailBlanking
availBlanking} -> Maybe AvailBlanking
availBlanking) (\s :: JobTemplateSettings
s@JobTemplateSettings' {} Maybe AvailBlanking
a -> JobTemplateSettings
s {$sel:availBlanking:JobTemplateSettings' :: Maybe AvailBlanking
availBlanking = Maybe AvailBlanking
a} :: JobTemplateSettings)
jobTemplateSettings_esam :: Lens.Lens' JobTemplateSettings (Prelude.Maybe EsamSettings)
jobTemplateSettings_esam :: Lens' JobTemplateSettings (Maybe EsamSettings)
jobTemplateSettings_esam = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\JobTemplateSettings' {Maybe EsamSettings
esam :: Maybe EsamSettings
$sel:esam:JobTemplateSettings' :: JobTemplateSettings -> Maybe EsamSettings
esam} -> Maybe EsamSettings
esam) (\s :: JobTemplateSettings
s@JobTemplateSettings' {} Maybe EsamSettings
a -> JobTemplateSettings
s {$sel:esam:JobTemplateSettings' :: Maybe EsamSettings
esam = Maybe EsamSettings
a} :: JobTemplateSettings)
jobTemplateSettings_extendedDataServices :: Lens.Lens' JobTemplateSettings (Prelude.Maybe ExtendedDataServices)
jobTemplateSettings_extendedDataServices :: Lens' JobTemplateSettings (Maybe ExtendedDataServices)
jobTemplateSettings_extendedDataServices = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\JobTemplateSettings' {Maybe ExtendedDataServices
extendedDataServices :: Maybe ExtendedDataServices
$sel:extendedDataServices:JobTemplateSettings' :: JobTemplateSettings -> Maybe ExtendedDataServices
extendedDataServices} -> Maybe ExtendedDataServices
extendedDataServices) (\s :: JobTemplateSettings
s@JobTemplateSettings' {} Maybe ExtendedDataServices
a -> JobTemplateSettings
s {$sel:extendedDataServices:JobTemplateSettings' :: Maybe ExtendedDataServices
extendedDataServices = Maybe ExtendedDataServices
a} :: JobTemplateSettings)
jobTemplateSettings_inputs :: Lens.Lens' JobTemplateSettings (Prelude.Maybe [InputTemplate])
jobTemplateSettings_inputs :: Lens' JobTemplateSettings (Maybe [InputTemplate])
jobTemplateSettings_inputs = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\JobTemplateSettings' {Maybe [InputTemplate]
inputs :: Maybe [InputTemplate]
$sel:inputs:JobTemplateSettings' :: JobTemplateSettings -> Maybe [InputTemplate]
inputs} -> Maybe [InputTemplate]
inputs) (\s :: JobTemplateSettings
s@JobTemplateSettings' {} Maybe [InputTemplate]
a -> JobTemplateSettings
s {$sel:inputs:JobTemplateSettings' :: Maybe [InputTemplate]
inputs = Maybe [InputTemplate]
a} :: JobTemplateSettings) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
jobTemplateSettings_kantarWatermark :: Lens.Lens' JobTemplateSettings (Prelude.Maybe KantarWatermarkSettings)
jobTemplateSettings_kantarWatermark :: Lens' JobTemplateSettings (Maybe KantarWatermarkSettings)
jobTemplateSettings_kantarWatermark = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\JobTemplateSettings' {Maybe KantarWatermarkSettings
kantarWatermark :: Maybe KantarWatermarkSettings
$sel:kantarWatermark:JobTemplateSettings' :: JobTemplateSettings -> Maybe KantarWatermarkSettings
kantarWatermark} -> Maybe KantarWatermarkSettings
kantarWatermark) (\s :: JobTemplateSettings
s@JobTemplateSettings' {} Maybe KantarWatermarkSettings
a -> JobTemplateSettings
s {$sel:kantarWatermark:JobTemplateSettings' :: Maybe KantarWatermarkSettings
kantarWatermark = Maybe KantarWatermarkSettings
a} :: JobTemplateSettings)
jobTemplateSettings_motionImageInserter :: Lens.Lens' JobTemplateSettings (Prelude.Maybe MotionImageInserter)
jobTemplateSettings_motionImageInserter :: Lens' JobTemplateSettings (Maybe MotionImageInserter)
jobTemplateSettings_motionImageInserter = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\JobTemplateSettings' {Maybe MotionImageInserter
motionImageInserter :: Maybe MotionImageInserter
$sel:motionImageInserter:JobTemplateSettings' :: JobTemplateSettings -> Maybe MotionImageInserter
motionImageInserter} -> Maybe MotionImageInserter
motionImageInserter) (\s :: JobTemplateSettings
s@JobTemplateSettings' {} Maybe MotionImageInserter
a -> JobTemplateSettings
s {$sel:motionImageInserter:JobTemplateSettings' :: Maybe MotionImageInserter
motionImageInserter = Maybe MotionImageInserter
a} :: JobTemplateSettings)
jobTemplateSettings_nielsenConfiguration :: Lens.Lens' JobTemplateSettings (Prelude.Maybe NielsenConfiguration)
jobTemplateSettings_nielsenConfiguration :: Lens' JobTemplateSettings (Maybe NielsenConfiguration)
jobTemplateSettings_nielsenConfiguration = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\JobTemplateSettings' {Maybe NielsenConfiguration
nielsenConfiguration :: Maybe NielsenConfiguration
$sel:nielsenConfiguration:JobTemplateSettings' :: JobTemplateSettings -> Maybe NielsenConfiguration
nielsenConfiguration} -> Maybe NielsenConfiguration
nielsenConfiguration) (\s :: JobTemplateSettings
s@JobTemplateSettings' {} Maybe NielsenConfiguration
a -> JobTemplateSettings
s {$sel:nielsenConfiguration:JobTemplateSettings' :: Maybe NielsenConfiguration
nielsenConfiguration = Maybe NielsenConfiguration
a} :: JobTemplateSettings)
jobTemplateSettings_nielsenNonLinearWatermark :: Lens.Lens' JobTemplateSettings (Prelude.Maybe NielsenNonLinearWatermarkSettings)
jobTemplateSettings_nielsenNonLinearWatermark :: Lens' JobTemplateSettings (Maybe NielsenNonLinearWatermarkSettings)
jobTemplateSettings_nielsenNonLinearWatermark = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\JobTemplateSettings' {Maybe NielsenNonLinearWatermarkSettings
nielsenNonLinearWatermark :: Maybe NielsenNonLinearWatermarkSettings
$sel:nielsenNonLinearWatermark:JobTemplateSettings' :: JobTemplateSettings -> Maybe NielsenNonLinearWatermarkSettings
nielsenNonLinearWatermark} -> Maybe NielsenNonLinearWatermarkSettings
nielsenNonLinearWatermark) (\s :: JobTemplateSettings
s@JobTemplateSettings' {} Maybe NielsenNonLinearWatermarkSettings
a -> JobTemplateSettings
s {$sel:nielsenNonLinearWatermark:JobTemplateSettings' :: Maybe NielsenNonLinearWatermarkSettings
nielsenNonLinearWatermark = Maybe NielsenNonLinearWatermarkSettings
a} :: JobTemplateSettings)
jobTemplateSettings_outputGroups :: Lens.Lens' JobTemplateSettings (Prelude.Maybe [OutputGroup])
jobTemplateSettings_outputGroups :: Lens' JobTemplateSettings (Maybe [OutputGroup])
jobTemplateSettings_outputGroups = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\JobTemplateSettings' {Maybe [OutputGroup]
outputGroups :: Maybe [OutputGroup]
$sel:outputGroups:JobTemplateSettings' :: JobTemplateSettings -> Maybe [OutputGroup]
outputGroups} -> Maybe [OutputGroup]
outputGroups) (\s :: JobTemplateSettings
s@JobTemplateSettings' {} Maybe [OutputGroup]
a -> JobTemplateSettings
s {$sel:outputGroups:JobTemplateSettings' :: Maybe [OutputGroup]
outputGroups = Maybe [OutputGroup]
a} :: JobTemplateSettings) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
jobTemplateSettings_timecodeConfig :: Lens.Lens' JobTemplateSettings (Prelude.Maybe TimecodeConfig)
jobTemplateSettings_timecodeConfig :: Lens' JobTemplateSettings (Maybe TimecodeConfig)
jobTemplateSettings_timecodeConfig = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\JobTemplateSettings' {Maybe TimecodeConfig
timecodeConfig :: Maybe TimecodeConfig
$sel:timecodeConfig:JobTemplateSettings' :: JobTemplateSettings -> Maybe TimecodeConfig
timecodeConfig} -> Maybe TimecodeConfig
timecodeConfig) (\s :: JobTemplateSettings
s@JobTemplateSettings' {} Maybe TimecodeConfig
a -> JobTemplateSettings
s {$sel:timecodeConfig:JobTemplateSettings' :: Maybe TimecodeConfig
timecodeConfig = Maybe TimecodeConfig
a} :: JobTemplateSettings)
jobTemplateSettings_timedMetadataInsertion :: Lens.Lens' JobTemplateSettings (Prelude.Maybe TimedMetadataInsertion)
jobTemplateSettings_timedMetadataInsertion :: Lens' JobTemplateSettings (Maybe TimedMetadataInsertion)
jobTemplateSettings_timedMetadataInsertion = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\JobTemplateSettings' {Maybe TimedMetadataInsertion
timedMetadataInsertion :: Maybe TimedMetadataInsertion
$sel:timedMetadataInsertion:JobTemplateSettings' :: JobTemplateSettings -> Maybe TimedMetadataInsertion
timedMetadataInsertion} -> Maybe TimedMetadataInsertion
timedMetadataInsertion) (\s :: JobTemplateSettings
s@JobTemplateSettings' {} Maybe TimedMetadataInsertion
a -> JobTemplateSettings
s {$sel:timedMetadataInsertion:JobTemplateSettings' :: Maybe TimedMetadataInsertion
timedMetadataInsertion = Maybe TimedMetadataInsertion
a} :: JobTemplateSettings)
instance Data.FromJSON JobTemplateSettings where
parseJSON :: Value -> Parser JobTemplateSettings
parseJSON =
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
String
"JobTemplateSettings"
( \Object
x ->
Maybe Int
-> Maybe AvailBlanking
-> Maybe EsamSettings
-> Maybe ExtendedDataServices
-> Maybe [InputTemplate]
-> Maybe KantarWatermarkSettings
-> Maybe MotionImageInserter
-> Maybe NielsenConfiguration
-> Maybe NielsenNonLinearWatermarkSettings
-> Maybe [OutputGroup]
-> Maybe TimecodeConfig
-> Maybe TimedMetadataInsertion
-> JobTemplateSettings
JobTemplateSettings'
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"adAvailOffset")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"availBlanking")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"esam")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"extendedDataServices")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"inputs" forall a. Parser (Maybe a) -> a -> Parser a
Data..!= forall a. Monoid a => a
Prelude.mempty)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"kantarWatermark")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"motionImageInserter")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"nielsenConfiguration")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"nielsenNonLinearWatermark")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"outputGroups" forall a. Parser (Maybe a) -> a -> Parser a
Data..!= forall a. Monoid a => a
Prelude.mempty)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"timecodeConfig")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"timedMetadataInsertion")
)
instance Prelude.Hashable JobTemplateSettings where
hashWithSalt :: Int -> JobTemplateSettings -> Int
hashWithSalt Int
_salt JobTemplateSettings' {Maybe Int
Maybe [InputTemplate]
Maybe [OutputGroup]
Maybe AvailBlanking
Maybe EsamSettings
Maybe KantarWatermarkSettings
Maybe MotionImageInserter
Maybe NielsenConfiguration
Maybe NielsenNonLinearWatermarkSettings
Maybe TimecodeConfig
Maybe TimedMetadataInsertion
Maybe ExtendedDataServices
timedMetadataInsertion :: Maybe TimedMetadataInsertion
timecodeConfig :: Maybe TimecodeConfig
outputGroups :: Maybe [OutputGroup]
nielsenNonLinearWatermark :: Maybe NielsenNonLinearWatermarkSettings
nielsenConfiguration :: Maybe NielsenConfiguration
motionImageInserter :: Maybe MotionImageInserter
kantarWatermark :: Maybe KantarWatermarkSettings
inputs :: Maybe [InputTemplate]
extendedDataServices :: Maybe ExtendedDataServices
esam :: Maybe EsamSettings
availBlanking :: Maybe AvailBlanking
adAvailOffset :: Maybe Int
$sel:timedMetadataInsertion:JobTemplateSettings' :: JobTemplateSettings -> Maybe TimedMetadataInsertion
$sel:timecodeConfig:JobTemplateSettings' :: JobTemplateSettings -> Maybe TimecodeConfig
$sel:outputGroups:JobTemplateSettings' :: JobTemplateSettings -> Maybe [OutputGroup]
$sel:nielsenNonLinearWatermark:JobTemplateSettings' :: JobTemplateSettings -> Maybe NielsenNonLinearWatermarkSettings
$sel:nielsenConfiguration:JobTemplateSettings' :: JobTemplateSettings -> Maybe NielsenConfiguration
$sel:motionImageInserter:JobTemplateSettings' :: JobTemplateSettings -> Maybe MotionImageInserter
$sel:kantarWatermark:JobTemplateSettings' :: JobTemplateSettings -> Maybe KantarWatermarkSettings
$sel:inputs:JobTemplateSettings' :: JobTemplateSettings -> Maybe [InputTemplate]
$sel:extendedDataServices:JobTemplateSettings' :: JobTemplateSettings -> Maybe ExtendedDataServices
$sel:esam:JobTemplateSettings' :: JobTemplateSettings -> Maybe EsamSettings
$sel:availBlanking:JobTemplateSettings' :: JobTemplateSettings -> Maybe AvailBlanking
$sel:adAvailOffset:JobTemplateSettings' :: JobTemplateSettings -> Maybe Int
..} =
Int
_salt
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Int
adAvailOffset
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe AvailBlanking
availBlanking
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe EsamSettings
esam
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ExtendedDataServices
extendedDataServices
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe [InputTemplate]
inputs
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe KantarWatermarkSettings
kantarWatermark
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe MotionImageInserter
motionImageInserter
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe NielsenConfiguration
nielsenConfiguration
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe NielsenNonLinearWatermarkSettings
nielsenNonLinearWatermark
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe [OutputGroup]
outputGroups
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe TimecodeConfig
timecodeConfig
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe TimedMetadataInsertion
timedMetadataInsertion
instance Prelude.NFData JobTemplateSettings where
rnf :: JobTemplateSettings -> ()
rnf JobTemplateSettings' {Maybe Int
Maybe [InputTemplate]
Maybe [OutputGroup]
Maybe AvailBlanking
Maybe EsamSettings
Maybe KantarWatermarkSettings
Maybe MotionImageInserter
Maybe NielsenConfiguration
Maybe NielsenNonLinearWatermarkSettings
Maybe TimecodeConfig
Maybe TimedMetadataInsertion
Maybe ExtendedDataServices
timedMetadataInsertion :: Maybe TimedMetadataInsertion
timecodeConfig :: Maybe TimecodeConfig
outputGroups :: Maybe [OutputGroup]
nielsenNonLinearWatermark :: Maybe NielsenNonLinearWatermarkSettings
nielsenConfiguration :: Maybe NielsenConfiguration
motionImageInserter :: Maybe MotionImageInserter
kantarWatermark :: Maybe KantarWatermarkSettings
inputs :: Maybe [InputTemplate]
extendedDataServices :: Maybe ExtendedDataServices
esam :: Maybe EsamSettings
availBlanking :: Maybe AvailBlanking
adAvailOffset :: Maybe Int
$sel:timedMetadataInsertion:JobTemplateSettings' :: JobTemplateSettings -> Maybe TimedMetadataInsertion
$sel:timecodeConfig:JobTemplateSettings' :: JobTemplateSettings -> Maybe TimecodeConfig
$sel:outputGroups:JobTemplateSettings' :: JobTemplateSettings -> Maybe [OutputGroup]
$sel:nielsenNonLinearWatermark:JobTemplateSettings' :: JobTemplateSettings -> Maybe NielsenNonLinearWatermarkSettings
$sel:nielsenConfiguration:JobTemplateSettings' :: JobTemplateSettings -> Maybe NielsenConfiguration
$sel:motionImageInserter:JobTemplateSettings' :: JobTemplateSettings -> Maybe MotionImageInserter
$sel:kantarWatermark:JobTemplateSettings' :: JobTemplateSettings -> Maybe KantarWatermarkSettings
$sel:inputs:JobTemplateSettings' :: JobTemplateSettings -> Maybe [InputTemplate]
$sel:extendedDataServices:JobTemplateSettings' :: JobTemplateSettings -> Maybe ExtendedDataServices
$sel:esam:JobTemplateSettings' :: JobTemplateSettings -> Maybe EsamSettings
$sel:availBlanking:JobTemplateSettings' :: JobTemplateSettings -> Maybe AvailBlanking
$sel:adAvailOffset:JobTemplateSettings' :: JobTemplateSettings -> Maybe Int
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe Int
adAvailOffset
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe AvailBlanking
availBlanking
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe EsamSettings
esam
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe ExtendedDataServices
extendedDataServices
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe [InputTemplate]
inputs
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe KantarWatermarkSettings
kantarWatermark
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe MotionImageInserter
motionImageInserter
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe NielsenConfiguration
nielsenConfiguration
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe NielsenNonLinearWatermarkSettings
nielsenNonLinearWatermark
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe [OutputGroup]
outputGroups
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe TimecodeConfig
timecodeConfig
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe TimedMetadataInsertion
timedMetadataInsertion
instance Data.ToJSON JobTemplateSettings where
toJSON :: JobTemplateSettings -> Value
toJSON JobTemplateSettings' {Maybe Int
Maybe [InputTemplate]
Maybe [OutputGroup]
Maybe AvailBlanking
Maybe EsamSettings
Maybe KantarWatermarkSettings
Maybe MotionImageInserter
Maybe NielsenConfiguration
Maybe NielsenNonLinearWatermarkSettings
Maybe TimecodeConfig
Maybe TimedMetadataInsertion
Maybe ExtendedDataServices
timedMetadataInsertion :: Maybe TimedMetadataInsertion
timecodeConfig :: Maybe TimecodeConfig
outputGroups :: Maybe [OutputGroup]
nielsenNonLinearWatermark :: Maybe NielsenNonLinearWatermarkSettings
nielsenConfiguration :: Maybe NielsenConfiguration
motionImageInserter :: Maybe MotionImageInserter
kantarWatermark :: Maybe KantarWatermarkSettings
inputs :: Maybe [InputTemplate]
extendedDataServices :: Maybe ExtendedDataServices
esam :: Maybe EsamSettings
availBlanking :: Maybe AvailBlanking
adAvailOffset :: Maybe Int
$sel:timedMetadataInsertion:JobTemplateSettings' :: JobTemplateSettings -> Maybe TimedMetadataInsertion
$sel:timecodeConfig:JobTemplateSettings' :: JobTemplateSettings -> Maybe TimecodeConfig
$sel:outputGroups:JobTemplateSettings' :: JobTemplateSettings -> Maybe [OutputGroup]
$sel:nielsenNonLinearWatermark:JobTemplateSettings' :: JobTemplateSettings -> Maybe NielsenNonLinearWatermarkSettings
$sel:nielsenConfiguration:JobTemplateSettings' :: JobTemplateSettings -> Maybe NielsenConfiguration
$sel:motionImageInserter:JobTemplateSettings' :: JobTemplateSettings -> Maybe MotionImageInserter
$sel:kantarWatermark:JobTemplateSettings' :: JobTemplateSettings -> Maybe KantarWatermarkSettings
$sel:inputs:JobTemplateSettings' :: JobTemplateSettings -> Maybe [InputTemplate]
$sel:extendedDataServices:JobTemplateSettings' :: JobTemplateSettings -> Maybe ExtendedDataServices
$sel:esam:JobTemplateSettings' :: JobTemplateSettings -> Maybe EsamSettings
$sel:availBlanking:JobTemplateSettings' :: JobTemplateSettings -> Maybe AvailBlanking
$sel:adAvailOffset:JobTemplateSettings' :: JobTemplateSettings -> Maybe Int
..} =
[Pair] -> Value
Data.object
( forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Key
"adAvailOffset" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Int
adAvailOffset,
(Key
"availBlanking" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AvailBlanking
availBlanking,
(Key
"esam" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe EsamSettings
esam,
(Key
"extendedDataServices" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ExtendedDataServices
extendedDataServices,
(Key
"inputs" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [InputTemplate]
inputs,
(Key
"kantarWatermark" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe KantarWatermarkSettings
kantarWatermark,
(Key
"motionImageInserter" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe MotionImageInserter
motionImageInserter,
(Key
"nielsenConfiguration" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe NielsenConfiguration
nielsenConfiguration,
(Key
"nielsenNonLinearWatermark" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe NielsenNonLinearWatermarkSettings
nielsenNonLinearWatermark,
(Key
"outputGroups" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [OutputGroup]
outputGroups,
(Key
"timecodeConfig" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe TimecodeConfig
timecodeConfig,
(Key
"timedMetadataInsertion" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe TimedMetadataInsertion
timedMetadataInsertion
]
)