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

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

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

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

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

instance Prelude.Hashable SmpteTtDestinationSettings

instance Prelude.NFData SmpteTtDestinationSettings

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