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

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

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

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

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

instance Prelude.Hashable Scte27DestinationSettings

instance Prelude.NFData Scte27DestinationSettings

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