{-# 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-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.MediaLive.Types.MotionGraphicsDeactivateScheduleActionSettings where

import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
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
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]
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
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.
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
  Data.FromJSON
    MotionGraphicsDeactivateScheduleActionSettings
  where
  parseJSON :: Value -> Parser MotionGraphicsDeactivateScheduleActionSettings
parseJSON =
    forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
      String
"MotionGraphicsDeactivateScheduleActionSettings"
      ( \Object
x ->
          forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure
            MotionGraphicsDeactivateScheduleActionSettings
MotionGraphicsDeactivateScheduleActionSettings'
      )

instance
  Prelude.Hashable
    MotionGraphicsDeactivateScheduleActionSettings
  where
  hashWithSalt :: Int -> MotionGraphicsDeactivateScheduleActionSettings -> Int
hashWithSalt Int
_salt MotionGraphicsDeactivateScheduleActionSettings
_ =
    Int
_salt forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` ()

instance
  Prelude.NFData
    MotionGraphicsDeactivateScheduleActionSettings
  where
  rnf :: MotionGraphicsDeactivateScheduleActionSettings -> ()
rnf MotionGraphicsDeactivateScheduleActionSettings
_ = ()

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