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

import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
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
(ColorSpacePassthroughSettings
 -> ColorSpacePassthroughSettings -> Bool)
-> (ColorSpacePassthroughSettings
    -> ColorSpacePassthroughSettings -> Bool)
-> Eq ColorSpacePassthroughSettings
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]
(Int -> ReadS ColorSpacePassthroughSettings)
-> ReadS [ColorSpacePassthroughSettings]
-> ReadPrec ColorSpacePassthroughSettings
-> ReadPrec [ColorSpacePassthroughSettings]
-> Read 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
(Int -> ColorSpacePassthroughSettings -> ShowS)
-> (ColorSpacePassthroughSettings -> String)
-> ([ColorSpacePassthroughSettings] -> ShowS)
-> Show ColorSpacePassthroughSettings
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.
 ColorSpacePassthroughSettings
 -> Rep ColorSpacePassthroughSettings x)
-> (forall x.
    Rep ColorSpacePassthroughSettings x
    -> ColorSpacePassthroughSettings)
-> Generic ColorSpacePassthroughSettings
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 Core.FromJSON ColorSpacePassthroughSettings where
  parseJSON :: Value -> Parser ColorSpacePassthroughSettings
parseJSON =
    String
-> (Object -> Parser ColorSpacePassthroughSettings)
-> Value
-> Parser ColorSpacePassthroughSettings
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
      String
"ColorSpacePassthroughSettings"
      (\Object
x -> ColorSpacePassthroughSettings
-> Parser ColorSpacePassthroughSettings
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure ColorSpacePassthroughSettings
ColorSpacePassthroughSettings')

instance
  Prelude.Hashable
    ColorSpacePassthroughSettings

instance Prelude.NFData ColorSpacePassthroughSettings

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