{-# 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.MediaLive.Types.MotionGraphicsDeactivateScheduleActionSettings
-- Copyright   : (c) 2013-2021 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.MediaLive.Types.MotionGraphicsDeactivateScheduleActionSettings where

import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude

-- | Settings to specify the ending of rendering motion graphics into the
-- video stream.
--
-- /See:/ 'newMotionGraphicsDeactivateScheduleActionSettings' smart constructor.
data MotionGraphicsDeactivateScheduleActionSettings = MotionGraphicsDeactivateScheduleActionSettings'
  {
  }
  deriving (MotionGraphicsDeactivateScheduleActionSettings
-> MotionGraphicsDeactivateScheduleActionSettings -> Bool
(MotionGraphicsDeactivateScheduleActionSettings
 -> MotionGraphicsDeactivateScheduleActionSettings -> Bool)
-> (MotionGraphicsDeactivateScheduleActionSettings
    -> MotionGraphicsDeactivateScheduleActionSettings -> Bool)
-> Eq MotionGraphicsDeactivateScheduleActionSettings
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: MotionGraphicsDeactivateScheduleActionSettings
-> MotionGraphicsDeactivateScheduleActionSettings -> Bool
$c/= :: MotionGraphicsDeactivateScheduleActionSettings
-> MotionGraphicsDeactivateScheduleActionSettings -> Bool
== :: MotionGraphicsDeactivateScheduleActionSettings
-> MotionGraphicsDeactivateScheduleActionSettings -> Bool
$c== :: MotionGraphicsDeactivateScheduleActionSettings
-> MotionGraphicsDeactivateScheduleActionSettings -> Bool
Prelude.Eq, ReadPrec [MotionGraphicsDeactivateScheduleActionSettings]
ReadPrec MotionGraphicsDeactivateScheduleActionSettings
Int -> ReadS MotionGraphicsDeactivateScheduleActionSettings
ReadS [MotionGraphicsDeactivateScheduleActionSettings]
(Int -> ReadS MotionGraphicsDeactivateScheduleActionSettings)
-> ReadS [MotionGraphicsDeactivateScheduleActionSettings]
-> ReadPrec MotionGraphicsDeactivateScheduleActionSettings
-> ReadPrec [MotionGraphicsDeactivateScheduleActionSettings]
-> Read MotionGraphicsDeactivateScheduleActionSettings
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [MotionGraphicsDeactivateScheduleActionSettings]
$creadListPrec :: ReadPrec [MotionGraphicsDeactivateScheduleActionSettings]
readPrec :: ReadPrec MotionGraphicsDeactivateScheduleActionSettings
$creadPrec :: ReadPrec MotionGraphicsDeactivateScheduleActionSettings
readList :: ReadS [MotionGraphicsDeactivateScheduleActionSettings]
$creadList :: ReadS [MotionGraphicsDeactivateScheduleActionSettings]
readsPrec :: Int -> ReadS MotionGraphicsDeactivateScheduleActionSettings
$creadsPrec :: Int -> ReadS MotionGraphicsDeactivateScheduleActionSettings
Prelude.Read, Int -> MotionGraphicsDeactivateScheduleActionSettings -> ShowS
[MotionGraphicsDeactivateScheduleActionSettings] -> ShowS
MotionGraphicsDeactivateScheduleActionSettings -> String
(Int -> MotionGraphicsDeactivateScheduleActionSettings -> ShowS)
-> (MotionGraphicsDeactivateScheduleActionSettings -> String)
-> ([MotionGraphicsDeactivateScheduleActionSettings] -> ShowS)
-> Show MotionGraphicsDeactivateScheduleActionSettings
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [MotionGraphicsDeactivateScheduleActionSettings] -> ShowS
$cshowList :: [MotionGraphicsDeactivateScheduleActionSettings] -> ShowS
show :: MotionGraphicsDeactivateScheduleActionSettings -> String
$cshow :: MotionGraphicsDeactivateScheduleActionSettings -> String
showsPrec :: Int -> MotionGraphicsDeactivateScheduleActionSettings -> ShowS
$cshowsPrec :: Int -> MotionGraphicsDeactivateScheduleActionSettings -> ShowS
Prelude.Show, (forall x.
 MotionGraphicsDeactivateScheduleActionSettings
 -> Rep MotionGraphicsDeactivateScheduleActionSettings x)
-> (forall x.
    Rep MotionGraphicsDeactivateScheduleActionSettings x
    -> MotionGraphicsDeactivateScheduleActionSettings)
-> Generic MotionGraphicsDeactivateScheduleActionSettings
forall x.
Rep MotionGraphicsDeactivateScheduleActionSettings x
-> MotionGraphicsDeactivateScheduleActionSettings
forall x.
MotionGraphicsDeactivateScheduleActionSettings
-> Rep MotionGraphicsDeactivateScheduleActionSettings x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep MotionGraphicsDeactivateScheduleActionSettings x
-> MotionGraphicsDeactivateScheduleActionSettings
$cfrom :: forall x.
MotionGraphicsDeactivateScheduleActionSettings
-> Rep MotionGraphicsDeactivateScheduleActionSettings x
Prelude.Generic)

-- |
-- Create a value of 'MotionGraphicsDeactivateScheduleActionSettings' 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.
newMotionGraphicsDeactivateScheduleActionSettings ::
  MotionGraphicsDeactivateScheduleActionSettings
newMotionGraphicsDeactivateScheduleActionSettings :: MotionGraphicsDeactivateScheduleActionSettings
newMotionGraphicsDeactivateScheduleActionSettings =
  MotionGraphicsDeactivateScheduleActionSettings
MotionGraphicsDeactivateScheduleActionSettings'

instance
  Core.FromJSON
    MotionGraphicsDeactivateScheduleActionSettings
  where
  parseJSON :: Value -> Parser MotionGraphicsDeactivateScheduleActionSettings
parseJSON =
    String
-> (Object
    -> Parser MotionGraphicsDeactivateScheduleActionSettings)
-> Value
-> Parser MotionGraphicsDeactivateScheduleActionSettings
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
      String
"MotionGraphicsDeactivateScheduleActionSettings"
      ( \Object
x ->
          MotionGraphicsDeactivateScheduleActionSettings
-> Parser MotionGraphicsDeactivateScheduleActionSettings
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure
            MotionGraphicsDeactivateScheduleActionSettings
MotionGraphicsDeactivateScheduleActionSettings'
      )

instance
  Prelude.Hashable
    MotionGraphicsDeactivateScheduleActionSettings

instance
  Prelude.NFData
    MotionGraphicsDeactivateScheduleActionSettings

instance
  Core.ToJSON
    MotionGraphicsDeactivateScheduleActionSettings
  where
  toJSON :: MotionGraphicsDeactivateScheduleActionSettings -> Value
toJSON = Value -> MotionGraphicsDeactivateScheduleActionSettings -> Value
forall a b. a -> b -> a
Prelude.const (Object -> Value
Core.Object Object
forall a. Monoid a => a
Prelude.mempty)