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

-- | Passthrough applies no color space conversion to the output
--
-- /See:/ 'newColorSpacePassthroughSettings' smart constructor.
data ColorSpacePassthroughSettings = ColorSpacePassthroughSettings'
  {
  }
  deriving (ColorSpacePassthroughSettings
-> ColorSpacePassthroughSettings -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ColorSpacePassthroughSettings
-> ColorSpacePassthroughSettings -> Bool
$c/= :: ColorSpacePassthroughSettings
-> ColorSpacePassthroughSettings -> Bool
== :: ColorSpacePassthroughSettings
-> ColorSpacePassthroughSettings -> Bool
$c== :: ColorSpacePassthroughSettings
-> ColorSpacePassthroughSettings -> Bool
Prelude.Eq, ReadPrec [ColorSpacePassthroughSettings]
ReadPrec ColorSpacePassthroughSettings
Int -> ReadS ColorSpacePassthroughSettings
ReadS [ColorSpacePassthroughSettings]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ColorSpacePassthroughSettings]
$creadListPrec :: ReadPrec [ColorSpacePassthroughSettings]
readPrec :: ReadPrec ColorSpacePassthroughSettings
$creadPrec :: ReadPrec ColorSpacePassthroughSettings
readList :: ReadS [ColorSpacePassthroughSettings]
$creadList :: ReadS [ColorSpacePassthroughSettings]
readsPrec :: Int -> ReadS ColorSpacePassthroughSettings
$creadsPrec :: Int -> ReadS ColorSpacePassthroughSettings
Prelude.Read, Int -> ColorSpacePassthroughSettings -> ShowS
[ColorSpacePassthroughSettings] -> ShowS
ColorSpacePassthroughSettings -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ColorSpacePassthroughSettings] -> ShowS
$cshowList :: [ColorSpacePassthroughSettings] -> ShowS
show :: ColorSpacePassthroughSettings -> String
$cshow :: ColorSpacePassthroughSettings -> String
showsPrec :: Int -> ColorSpacePassthroughSettings -> ShowS
$cshowsPrec :: Int -> ColorSpacePassthroughSettings -> ShowS
Prelude.Show, forall x.
Rep ColorSpacePassthroughSettings x
-> ColorSpacePassthroughSettings
forall x.
ColorSpacePassthroughSettings
-> Rep ColorSpacePassthroughSettings x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ColorSpacePassthroughSettings x
-> ColorSpacePassthroughSettings
$cfrom :: forall x.
ColorSpacePassthroughSettings
-> Rep ColorSpacePassthroughSettings x
Prelude.Generic)

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

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

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

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

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