{-# 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 #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.MediaConvert.Types.JobTemplateSettings
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
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

-- | JobTemplateSettings contains all the transcode settings saved in the
-- template that will be applied to jobs created from it.
--
-- /See:/ 'newJobTemplateSettings' smart constructor.
data JobTemplateSettings = JobTemplateSettings'
  { -- | When specified, this offset (in milliseconds) is added to the input Ad
    -- Avail PTS time.
    JobTemplateSettings -> Maybe Int
adAvailOffset :: Prelude.Maybe Prelude.Int,
    -- | Settings for ad avail blanking. Video can be blanked or overlaid with an
    -- image, and audio muted during SCTE-35 triggered ad avails.
    JobTemplateSettings -> Maybe AvailBlanking
availBlanking :: Prelude.Maybe AvailBlanking,
    -- | Settings for Event Signaling And Messaging (ESAM). If you don\'t do ad
    -- insertion, you can ignore these settings.
    JobTemplateSettings -> Maybe EsamSettings
esam :: Prelude.Maybe EsamSettings,
    -- | If your source content has EIA-608 Line 21 Data Services, enable this
    -- feature to specify what MediaConvert does with the Extended Data
    -- Services (XDS) packets. You can choose to pass through XDS packets, or
    -- remove them from the output. For more information about XDS, see EIA-608
    -- Line Data Services, section 9.5.1.5 05h Content Advisory.
    JobTemplateSettings -> Maybe ExtendedDataServices
extendedDataServices :: Prelude.Maybe ExtendedDataServices,
    -- | Use Inputs (inputs) to define the source file used in the transcode job.
    -- There can only be one input in a job template. Using the API, you can
    -- include multiple inputs when referencing a job template.
    JobTemplateSettings -> Maybe [InputTemplate]
inputs :: Prelude.Maybe [InputTemplate],
    -- | Use these settings only when you use Kantar watermarking. Specify the
    -- values that MediaConvert uses to generate and place Kantar watermarks in
    -- your output audio. These settings apply to every output in your job. In
    -- addition to specifying these values, you also need to store your Kantar
    -- credentials in AWS Secrets Manager. For more information, see
    -- https:\/\/docs.aws.amazon.com\/mediaconvert\/latest\/ug\/kantar-watermarking.html.
    JobTemplateSettings -> Maybe KantarWatermarkSettings
kantarWatermark :: Prelude.Maybe KantarWatermarkSettings,
    -- | Overlay motion graphics on top of your video. The motion graphics that
    -- you specify here appear on all outputs in all output groups. For more
    -- information, see
    -- https:\/\/docs.aws.amazon.com\/mediaconvert\/latest\/ug\/motion-graphic-overlay.html.
    JobTemplateSettings -> Maybe MotionImageInserter
motionImageInserter :: Prelude.Maybe MotionImageInserter,
    -- | Settings for your Nielsen configuration. If you don\'t do Nielsen
    -- measurement and analytics, ignore these settings. When you enable
    -- Nielsen configuration (nielsenConfiguration), MediaConvert enables PCM
    -- to ID3 tagging for all outputs in the job. To enable Nielsen
    -- configuration programmatically, include an instance of
    -- nielsenConfiguration in your JSON job specification. Even if you don\'t
    -- include any children of nielsenConfiguration, you still enable the
    -- setting.
    JobTemplateSettings -> Maybe NielsenConfiguration
nielsenConfiguration :: Prelude.Maybe NielsenConfiguration,
    -- | Ignore these settings unless you are using Nielsen non-linear
    -- watermarking. Specify the values that MediaConvert uses to generate and
    -- place Nielsen watermarks in your output audio. In addition to specifying
    -- these values, you also need to set up your cloud TIC server. These
    -- settings apply to every output in your job. The MediaConvert
    -- implementation is currently with the following Nielsen versions: Nielsen
    -- Watermark SDK Version 5.2.1 Nielsen NLM Watermark Engine Version 1.2.7
    -- Nielsen Watermark Authenticator [SID_TIC] Version [5.0.0]
    JobTemplateSettings -> Maybe NielsenNonLinearWatermarkSettings
nielsenNonLinearWatermark :: Prelude.Maybe NielsenNonLinearWatermarkSettings,
    -- | (OutputGroups) contains one group of settings for each set of outputs
    -- that share a common package type. All unpackaged files (MPEG-4, MPEG-2
    -- TS, Quicktime, MXF, and no container) are grouped in a single output
    -- group as well. Required in (OutputGroups) is a group of settings that
    -- apply to the whole group. This required object depends on the value you
    -- set for (Type) under (OutputGroups)>(OutputGroupSettings). Type,
    -- settings object pairs are as follows. * FILE_GROUP_SETTINGS,
    -- FileGroupSettings * HLS_GROUP_SETTINGS, HlsGroupSettings *
    -- DASH_ISO_GROUP_SETTINGS, DashIsoGroupSettings *
    -- MS_SMOOTH_GROUP_SETTINGS, MsSmoothGroupSettings * CMAF_GROUP_SETTINGS,
    -- CmafGroupSettings
    JobTemplateSettings -> Maybe [OutputGroup]
outputGroups :: Prelude.Maybe [OutputGroup],
    -- | These settings control how the service handles timecodes throughout the
    -- job. These settings don\'t affect input clipping.
    JobTemplateSettings -> Maybe TimecodeConfig
timecodeConfig :: Prelude.Maybe TimecodeConfig,
    -- | Insert user-defined custom ID3 metadata (id3) at timecodes (timecode)
    -- that you specify. In each output that you want to include this metadata,
    -- you must set ID3 metadata (timedMetadata) to Passthrough (PASSTHROUGH).
    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)

-- |
-- Create a value of 'JobTemplateSettings' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
--
-- The following record fields are available, with the corresponding lenses provided
-- for backwards compatibility:
--
-- 'adAvailOffset', 'jobTemplateSettings_adAvailOffset' - When specified, this offset (in milliseconds) is added to the input Ad
-- Avail PTS time.
--
-- 'availBlanking', 'jobTemplateSettings_availBlanking' - Settings for ad avail blanking. Video can be blanked or overlaid with an
-- image, and audio muted during SCTE-35 triggered ad avails.
--
-- 'esam', 'jobTemplateSettings_esam' - Settings for Event Signaling And Messaging (ESAM). If you don\'t do ad
-- insertion, you can ignore these settings.
--
-- 'extendedDataServices', 'jobTemplateSettings_extendedDataServices' - If your source content has EIA-608 Line 21 Data Services, enable this
-- feature to specify what MediaConvert does with the Extended Data
-- Services (XDS) packets. You can choose to pass through XDS packets, or
-- remove them from the output. For more information about XDS, see EIA-608
-- Line Data Services, section 9.5.1.5 05h Content Advisory.
--
-- 'inputs', 'jobTemplateSettings_inputs' - Use Inputs (inputs) to define the source file used in the transcode job.
-- There can only be one input in a job template. Using the API, you can
-- include multiple inputs when referencing a job template.
--
-- 'kantarWatermark', 'jobTemplateSettings_kantarWatermark' - Use these settings only when you use Kantar watermarking. Specify the
-- values that MediaConvert uses to generate and place Kantar watermarks in
-- your output audio. These settings apply to every output in your job. In
-- addition to specifying these values, you also need to store your Kantar
-- credentials in AWS Secrets Manager. For more information, see
-- https:\/\/docs.aws.amazon.com\/mediaconvert\/latest\/ug\/kantar-watermarking.html.
--
-- 'motionImageInserter', 'jobTemplateSettings_motionImageInserter' - Overlay motion graphics on top of your video. The motion graphics that
-- you specify here appear on all outputs in all output groups. For more
-- information, see
-- https:\/\/docs.aws.amazon.com\/mediaconvert\/latest\/ug\/motion-graphic-overlay.html.
--
-- 'nielsenConfiguration', 'jobTemplateSettings_nielsenConfiguration' - Settings for your Nielsen configuration. If you don\'t do Nielsen
-- measurement and analytics, ignore these settings. When you enable
-- Nielsen configuration (nielsenConfiguration), MediaConvert enables PCM
-- to ID3 tagging for all outputs in the job. To enable Nielsen
-- configuration programmatically, include an instance of
-- nielsenConfiguration in your JSON job specification. Even if you don\'t
-- include any children of nielsenConfiguration, you still enable the
-- setting.
--
-- 'nielsenNonLinearWatermark', 'jobTemplateSettings_nielsenNonLinearWatermark' - Ignore these settings unless you are using Nielsen non-linear
-- watermarking. Specify the values that MediaConvert uses to generate and
-- place Nielsen watermarks in your output audio. In addition to specifying
-- these values, you also need to set up your cloud TIC server. These
-- settings apply to every output in your job. The MediaConvert
-- implementation is currently with the following Nielsen versions: Nielsen
-- Watermark SDK Version 5.2.1 Nielsen NLM Watermark Engine Version 1.2.7
-- Nielsen Watermark Authenticator [SID_TIC] Version [5.0.0]
--
-- 'outputGroups', 'jobTemplateSettings_outputGroups' - (OutputGroups) contains one group of settings for each set of outputs
-- that share a common package type. All unpackaged files (MPEG-4, MPEG-2
-- TS, Quicktime, MXF, and no container) are grouped in a single output
-- group as well. Required in (OutputGroups) is a group of settings that
-- apply to the whole group. This required object depends on the value you
-- set for (Type) under (OutputGroups)>(OutputGroupSettings). Type,
-- settings object pairs are as follows. * FILE_GROUP_SETTINGS,
-- FileGroupSettings * HLS_GROUP_SETTINGS, HlsGroupSettings *
-- DASH_ISO_GROUP_SETTINGS, DashIsoGroupSettings *
-- MS_SMOOTH_GROUP_SETTINGS, MsSmoothGroupSettings * CMAF_GROUP_SETTINGS,
-- CmafGroupSettings
--
-- 'timecodeConfig', 'jobTemplateSettings_timecodeConfig' - These settings control how the service handles timecodes throughout the
-- job. These settings don\'t affect input clipping.
--
-- 'timedMetadataInsertion', 'jobTemplateSettings_timedMetadataInsertion' - Insert user-defined custom ID3 metadata (id3) at timecodes (timecode)
-- that you specify. In each output that you want to include this metadata,
-- you must set ID3 metadata (timedMetadata) to Passthrough (PASSTHROUGH).
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
    }

-- | When specified, this offset (in milliseconds) is added to the input Ad
-- Avail PTS time.
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)

-- | Settings for ad avail blanking. Video can be blanked or overlaid with an
-- image, and audio muted during SCTE-35 triggered ad avails.
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)

-- | Settings for Event Signaling And Messaging (ESAM). If you don\'t do ad
-- insertion, you can ignore these settings.
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)

-- | If your source content has EIA-608 Line 21 Data Services, enable this
-- feature to specify what MediaConvert does with the Extended Data
-- Services (XDS) packets. You can choose to pass through XDS packets, or
-- remove them from the output. For more information about XDS, see EIA-608
-- Line Data Services, section 9.5.1.5 05h Content Advisory.
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)

-- | Use Inputs (inputs) to define the source file used in the transcode job.
-- There can only be one input in a job template. Using the API, you can
-- include multiple inputs when referencing a job template.
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

-- | Use these settings only when you use Kantar watermarking. Specify the
-- values that MediaConvert uses to generate and place Kantar watermarks in
-- your output audio. These settings apply to every output in your job. In
-- addition to specifying these values, you also need to store your Kantar
-- credentials in AWS Secrets Manager. For more information, see
-- https:\/\/docs.aws.amazon.com\/mediaconvert\/latest\/ug\/kantar-watermarking.html.
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)

-- | Overlay motion graphics on top of your video. The motion graphics that
-- you specify here appear on all outputs in all output groups. For more
-- information, see
-- https:\/\/docs.aws.amazon.com\/mediaconvert\/latest\/ug\/motion-graphic-overlay.html.
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)

-- | Settings for your Nielsen configuration. If you don\'t do Nielsen
-- measurement and analytics, ignore these settings. When you enable
-- Nielsen configuration (nielsenConfiguration), MediaConvert enables PCM
-- to ID3 tagging for all outputs in the job. To enable Nielsen
-- configuration programmatically, include an instance of
-- nielsenConfiguration in your JSON job specification. Even if you don\'t
-- include any children of nielsenConfiguration, you still enable the
-- setting.
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)

-- | Ignore these settings unless you are using Nielsen non-linear
-- watermarking. Specify the values that MediaConvert uses to generate and
-- place Nielsen watermarks in your output audio. In addition to specifying
-- these values, you also need to set up your cloud TIC server. These
-- settings apply to every output in your job. The MediaConvert
-- implementation is currently with the following Nielsen versions: Nielsen
-- Watermark SDK Version 5.2.1 Nielsen NLM Watermark Engine Version 1.2.7
-- Nielsen Watermark Authenticator [SID_TIC] Version [5.0.0]
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)

-- | (OutputGroups) contains one group of settings for each set of outputs
-- that share a common package type. All unpackaged files (MPEG-4, MPEG-2
-- TS, Quicktime, MXF, and no container) are grouped in a single output
-- group as well. Required in (OutputGroups) is a group of settings that
-- apply to the whole group. This required object depends on the value you
-- set for (Type) under (OutputGroups)>(OutputGroupSettings). Type,
-- settings object pairs are as follows. * FILE_GROUP_SETTINGS,
-- FileGroupSettings * HLS_GROUP_SETTINGS, HlsGroupSettings *
-- DASH_ISO_GROUP_SETTINGS, DashIsoGroupSettings *
-- MS_SMOOTH_GROUP_SETTINGS, MsSmoothGroupSettings * CMAF_GROUP_SETTINGS,
-- CmafGroupSettings
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

-- | These settings control how the service handles timecodes throughout the
-- job. These settings don\'t affect input clipping.
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)

-- | Insert user-defined custom ID3 metadata (id3) at timecodes (timecode)
-- that you specify. In each output that you want to include this metadata,
-- you must set ID3 metadata (timedMetadata) to Passthrough (PASSTHROUGH).
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
          ]
      )