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

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

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

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

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

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

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