{-# 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.HtmlMotionGraphicsSettings
-- 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.HtmlMotionGraphicsSettings 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

-- | Html Motion Graphics Settings
--
-- /See:/ 'newHtmlMotionGraphicsSettings' smart constructor.
data HtmlMotionGraphicsSettings = HtmlMotionGraphicsSettings'
  {
  }
  deriving (HtmlMotionGraphicsSettings -> HtmlMotionGraphicsSettings -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: HtmlMotionGraphicsSettings -> HtmlMotionGraphicsSettings -> Bool
$c/= :: HtmlMotionGraphicsSettings -> HtmlMotionGraphicsSettings -> Bool
== :: HtmlMotionGraphicsSettings -> HtmlMotionGraphicsSettings -> Bool
$c== :: HtmlMotionGraphicsSettings -> HtmlMotionGraphicsSettings -> Bool
Prelude.Eq, ReadPrec [HtmlMotionGraphicsSettings]
ReadPrec HtmlMotionGraphicsSettings
Int -> ReadS HtmlMotionGraphicsSettings
ReadS [HtmlMotionGraphicsSettings]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [HtmlMotionGraphicsSettings]
$creadListPrec :: ReadPrec [HtmlMotionGraphicsSettings]
readPrec :: ReadPrec HtmlMotionGraphicsSettings
$creadPrec :: ReadPrec HtmlMotionGraphicsSettings
readList :: ReadS [HtmlMotionGraphicsSettings]
$creadList :: ReadS [HtmlMotionGraphicsSettings]
readsPrec :: Int -> ReadS HtmlMotionGraphicsSettings
$creadsPrec :: Int -> ReadS HtmlMotionGraphicsSettings
Prelude.Read, Int -> HtmlMotionGraphicsSettings -> ShowS
[HtmlMotionGraphicsSettings] -> ShowS
HtmlMotionGraphicsSettings -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [HtmlMotionGraphicsSettings] -> ShowS
$cshowList :: [HtmlMotionGraphicsSettings] -> ShowS
show :: HtmlMotionGraphicsSettings -> String
$cshow :: HtmlMotionGraphicsSettings -> String
showsPrec :: Int -> HtmlMotionGraphicsSettings -> ShowS
$cshowsPrec :: Int -> HtmlMotionGraphicsSettings -> ShowS
Prelude.Show, forall x.
Rep HtmlMotionGraphicsSettings x -> HtmlMotionGraphicsSettings
forall x.
HtmlMotionGraphicsSettings -> Rep HtmlMotionGraphicsSettings x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep HtmlMotionGraphicsSettings x -> HtmlMotionGraphicsSettings
$cfrom :: forall x.
HtmlMotionGraphicsSettings -> Rep HtmlMotionGraphicsSettings x
Prelude.Generic)

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

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

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

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

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