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

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

-- | Rtmp Caption Info Destination Settings
--
-- /See:/ 'newRtmpCaptionInfoDestinationSettings' smart constructor.
data RtmpCaptionInfoDestinationSettings = RtmpCaptionInfoDestinationSettings'
  {
  }
  deriving (RtmpCaptionInfoDestinationSettings
-> RtmpCaptionInfoDestinationSettings -> Bool
(RtmpCaptionInfoDestinationSettings
 -> RtmpCaptionInfoDestinationSettings -> Bool)
-> (RtmpCaptionInfoDestinationSettings
    -> RtmpCaptionInfoDestinationSettings -> Bool)
-> Eq RtmpCaptionInfoDestinationSettings
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]
(Int -> ReadS RtmpCaptionInfoDestinationSettings)
-> ReadS [RtmpCaptionInfoDestinationSettings]
-> ReadPrec RtmpCaptionInfoDestinationSettings
-> ReadPrec [RtmpCaptionInfoDestinationSettings]
-> Read 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
(Int -> RtmpCaptionInfoDestinationSettings -> ShowS)
-> (RtmpCaptionInfoDestinationSettings -> String)
-> ([RtmpCaptionInfoDestinationSettings] -> ShowS)
-> Show RtmpCaptionInfoDestinationSettings
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.
 RtmpCaptionInfoDestinationSettings
 -> Rep RtmpCaptionInfoDestinationSettings x)
-> (forall x.
    Rep RtmpCaptionInfoDestinationSettings x
    -> RtmpCaptionInfoDestinationSettings)
-> Generic RtmpCaptionInfoDestinationSettings
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
  Core.FromJSON
    RtmpCaptionInfoDestinationSettings
  where
  parseJSON :: Value -> Parser RtmpCaptionInfoDestinationSettings
parseJSON =
    String
-> (Object -> Parser RtmpCaptionInfoDestinationSettings)
-> Value
-> Parser RtmpCaptionInfoDestinationSettings
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
      String
"RtmpCaptionInfoDestinationSettings"
      ( \Object
x ->
          RtmpCaptionInfoDestinationSettings
-> Parser RtmpCaptionInfoDestinationSettings
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure RtmpCaptionInfoDestinationSettings
RtmpCaptionInfoDestinationSettings'
      )

instance
  Prelude.Hashable
    RtmpCaptionInfoDestinationSettings

instance
  Prelude.NFData
    RtmpCaptionInfoDestinationSettings

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