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

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

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

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

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

instance Prelude.Hashable TeletextDestinationSettings

instance Prelude.NFData TeletextDestinationSettings

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