{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.Rekognition.Types.TechnicalCueType
-- 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.Rekognition.Types.TechnicalCueType
  ( TechnicalCueType
      ( ..,
        TechnicalCueType_BlackFrames,
        TechnicalCueType_ColorBars,
        TechnicalCueType_Content,
        TechnicalCueType_EndCredits,
        TechnicalCueType_OpeningCredits,
        TechnicalCueType_Slate,
        TechnicalCueType_StudioLogo
      ),
  )
where

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

newtype TechnicalCueType = TechnicalCueType'
  { TechnicalCueType -> Text
fromTechnicalCueType ::
      Core.Text
  }
  deriving stock
    ( Int -> TechnicalCueType -> ShowS
[TechnicalCueType] -> ShowS
TechnicalCueType -> String
(Int -> TechnicalCueType -> ShowS)
-> (TechnicalCueType -> String)
-> ([TechnicalCueType] -> ShowS)
-> Show TechnicalCueType
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [TechnicalCueType] -> ShowS
$cshowList :: [TechnicalCueType] -> ShowS
show :: TechnicalCueType -> String
$cshow :: TechnicalCueType -> String
showsPrec :: Int -> TechnicalCueType -> ShowS
$cshowsPrec :: Int -> TechnicalCueType -> ShowS
Prelude.Show,
      ReadPrec [TechnicalCueType]
ReadPrec TechnicalCueType
Int -> ReadS TechnicalCueType
ReadS [TechnicalCueType]
(Int -> ReadS TechnicalCueType)
-> ReadS [TechnicalCueType]
-> ReadPrec TechnicalCueType
-> ReadPrec [TechnicalCueType]
-> Read TechnicalCueType
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [TechnicalCueType]
$creadListPrec :: ReadPrec [TechnicalCueType]
readPrec :: ReadPrec TechnicalCueType
$creadPrec :: ReadPrec TechnicalCueType
readList :: ReadS [TechnicalCueType]
$creadList :: ReadS [TechnicalCueType]
readsPrec :: Int -> ReadS TechnicalCueType
$creadsPrec :: Int -> ReadS TechnicalCueType
Prelude.Read,
      TechnicalCueType -> TechnicalCueType -> Bool
(TechnicalCueType -> TechnicalCueType -> Bool)
-> (TechnicalCueType -> TechnicalCueType -> Bool)
-> Eq TechnicalCueType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: TechnicalCueType -> TechnicalCueType -> Bool
$c/= :: TechnicalCueType -> TechnicalCueType -> Bool
== :: TechnicalCueType -> TechnicalCueType -> Bool
$c== :: TechnicalCueType -> TechnicalCueType -> Bool
Prelude.Eq,
      Eq TechnicalCueType
Eq TechnicalCueType
-> (TechnicalCueType -> TechnicalCueType -> Ordering)
-> (TechnicalCueType -> TechnicalCueType -> Bool)
-> (TechnicalCueType -> TechnicalCueType -> Bool)
-> (TechnicalCueType -> TechnicalCueType -> Bool)
-> (TechnicalCueType -> TechnicalCueType -> Bool)
-> (TechnicalCueType -> TechnicalCueType -> TechnicalCueType)
-> (TechnicalCueType -> TechnicalCueType -> TechnicalCueType)
-> Ord TechnicalCueType
TechnicalCueType -> TechnicalCueType -> Bool
TechnicalCueType -> TechnicalCueType -> Ordering
TechnicalCueType -> TechnicalCueType -> TechnicalCueType
forall a.
Eq a
-> (a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
min :: TechnicalCueType -> TechnicalCueType -> TechnicalCueType
$cmin :: TechnicalCueType -> TechnicalCueType -> TechnicalCueType
max :: TechnicalCueType -> TechnicalCueType -> TechnicalCueType
$cmax :: TechnicalCueType -> TechnicalCueType -> TechnicalCueType
>= :: TechnicalCueType -> TechnicalCueType -> Bool
$c>= :: TechnicalCueType -> TechnicalCueType -> Bool
> :: TechnicalCueType -> TechnicalCueType -> Bool
$c> :: TechnicalCueType -> TechnicalCueType -> Bool
<= :: TechnicalCueType -> TechnicalCueType -> Bool
$c<= :: TechnicalCueType -> TechnicalCueType -> Bool
< :: TechnicalCueType -> TechnicalCueType -> Bool
$c< :: TechnicalCueType -> TechnicalCueType -> Bool
compare :: TechnicalCueType -> TechnicalCueType -> Ordering
$ccompare :: TechnicalCueType -> TechnicalCueType -> Ordering
$cp1Ord :: Eq TechnicalCueType
Prelude.Ord,
      (forall x. TechnicalCueType -> Rep TechnicalCueType x)
-> (forall x. Rep TechnicalCueType x -> TechnicalCueType)
-> Generic TechnicalCueType
forall x. Rep TechnicalCueType x -> TechnicalCueType
forall x. TechnicalCueType -> Rep TechnicalCueType x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep TechnicalCueType x -> TechnicalCueType
$cfrom :: forall x. TechnicalCueType -> Rep TechnicalCueType x
Prelude.Generic
    )
  deriving newtype
    ( Int -> TechnicalCueType -> Int
TechnicalCueType -> Int
(Int -> TechnicalCueType -> Int)
-> (TechnicalCueType -> Int) -> Hashable TechnicalCueType
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: TechnicalCueType -> Int
$chash :: TechnicalCueType -> Int
hashWithSalt :: Int -> TechnicalCueType -> Int
$chashWithSalt :: Int -> TechnicalCueType -> Int
Prelude.Hashable,
      TechnicalCueType -> ()
(TechnicalCueType -> ()) -> NFData TechnicalCueType
forall a. (a -> ()) -> NFData a
rnf :: TechnicalCueType -> ()
$crnf :: TechnicalCueType -> ()
Prelude.NFData,
      Text -> Either String TechnicalCueType
(Text -> Either String TechnicalCueType)
-> FromText TechnicalCueType
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String TechnicalCueType
$cfromText :: Text -> Either String TechnicalCueType
Core.FromText,
      TechnicalCueType -> Text
(TechnicalCueType -> Text) -> ToText TechnicalCueType
forall a. (a -> Text) -> ToText a
toText :: TechnicalCueType -> Text
$ctoText :: TechnicalCueType -> Text
Core.ToText,
      TechnicalCueType -> ByteString
(TechnicalCueType -> ByteString) -> ToByteString TechnicalCueType
forall a. (a -> ByteString) -> ToByteString a
toBS :: TechnicalCueType -> ByteString
$ctoBS :: TechnicalCueType -> ByteString
Core.ToByteString,
      TechnicalCueType -> ByteStringBuilder
(TechnicalCueType -> ByteStringBuilder) -> ToLog TechnicalCueType
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: TechnicalCueType -> ByteStringBuilder
$cbuild :: TechnicalCueType -> ByteStringBuilder
Core.ToLog,
      HeaderName -> TechnicalCueType -> [Header]
(HeaderName -> TechnicalCueType -> [Header])
-> ToHeader TechnicalCueType
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> TechnicalCueType -> [Header]
$ctoHeader :: HeaderName -> TechnicalCueType -> [Header]
Core.ToHeader,
      TechnicalCueType -> QueryString
(TechnicalCueType -> QueryString) -> ToQuery TechnicalCueType
forall a. (a -> QueryString) -> ToQuery a
toQuery :: TechnicalCueType -> QueryString
$ctoQuery :: TechnicalCueType -> QueryString
Core.ToQuery,
      Value -> Parser [TechnicalCueType]
Value -> Parser TechnicalCueType
(Value -> Parser TechnicalCueType)
-> (Value -> Parser [TechnicalCueType])
-> FromJSON TechnicalCueType
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [TechnicalCueType]
$cparseJSONList :: Value -> Parser [TechnicalCueType]
parseJSON :: Value -> Parser TechnicalCueType
$cparseJSON :: Value -> Parser TechnicalCueType
Core.FromJSON,
      FromJSONKeyFunction [TechnicalCueType]
FromJSONKeyFunction TechnicalCueType
FromJSONKeyFunction TechnicalCueType
-> FromJSONKeyFunction [TechnicalCueType]
-> FromJSONKey TechnicalCueType
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [TechnicalCueType]
$cfromJSONKeyList :: FromJSONKeyFunction [TechnicalCueType]
fromJSONKey :: FromJSONKeyFunction TechnicalCueType
$cfromJSONKey :: FromJSONKeyFunction TechnicalCueType
Core.FromJSONKey,
      [TechnicalCueType] -> Encoding
[TechnicalCueType] -> Value
TechnicalCueType -> Encoding
TechnicalCueType -> Value
(TechnicalCueType -> Value)
-> (TechnicalCueType -> Encoding)
-> ([TechnicalCueType] -> Value)
-> ([TechnicalCueType] -> Encoding)
-> ToJSON TechnicalCueType
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [TechnicalCueType] -> Encoding
$ctoEncodingList :: [TechnicalCueType] -> Encoding
toJSONList :: [TechnicalCueType] -> Value
$ctoJSONList :: [TechnicalCueType] -> Value
toEncoding :: TechnicalCueType -> Encoding
$ctoEncoding :: TechnicalCueType -> Encoding
toJSON :: TechnicalCueType -> Value
$ctoJSON :: TechnicalCueType -> Value
Core.ToJSON,
      ToJSONKeyFunction [TechnicalCueType]
ToJSONKeyFunction TechnicalCueType
ToJSONKeyFunction TechnicalCueType
-> ToJSONKeyFunction [TechnicalCueType]
-> ToJSONKey TechnicalCueType
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [TechnicalCueType]
$ctoJSONKeyList :: ToJSONKeyFunction [TechnicalCueType]
toJSONKey :: ToJSONKeyFunction TechnicalCueType
$ctoJSONKey :: ToJSONKeyFunction TechnicalCueType
Core.ToJSONKey,
      [Node] -> Either String TechnicalCueType
([Node] -> Either String TechnicalCueType)
-> FromXML TechnicalCueType
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String TechnicalCueType
$cparseXML :: [Node] -> Either String TechnicalCueType
Core.FromXML,
      TechnicalCueType -> XML
(TechnicalCueType -> XML) -> ToXML TechnicalCueType
forall a. (a -> XML) -> ToXML a
toXML :: TechnicalCueType -> XML
$ctoXML :: TechnicalCueType -> XML
Core.ToXML
    )

pattern TechnicalCueType_BlackFrames :: TechnicalCueType
pattern $bTechnicalCueType_BlackFrames :: TechnicalCueType
$mTechnicalCueType_BlackFrames :: forall r. TechnicalCueType -> (Void# -> r) -> (Void# -> r) -> r
TechnicalCueType_BlackFrames = TechnicalCueType' "BlackFrames"

pattern TechnicalCueType_ColorBars :: TechnicalCueType
pattern $bTechnicalCueType_ColorBars :: TechnicalCueType
$mTechnicalCueType_ColorBars :: forall r. TechnicalCueType -> (Void# -> r) -> (Void# -> r) -> r
TechnicalCueType_ColorBars = TechnicalCueType' "ColorBars"

pattern TechnicalCueType_Content :: TechnicalCueType
pattern $bTechnicalCueType_Content :: TechnicalCueType
$mTechnicalCueType_Content :: forall r. TechnicalCueType -> (Void# -> r) -> (Void# -> r) -> r
TechnicalCueType_Content = TechnicalCueType' "Content"

pattern TechnicalCueType_EndCredits :: TechnicalCueType
pattern $bTechnicalCueType_EndCredits :: TechnicalCueType
$mTechnicalCueType_EndCredits :: forall r. TechnicalCueType -> (Void# -> r) -> (Void# -> r) -> r
TechnicalCueType_EndCredits = TechnicalCueType' "EndCredits"

pattern TechnicalCueType_OpeningCredits :: TechnicalCueType
pattern $bTechnicalCueType_OpeningCredits :: TechnicalCueType
$mTechnicalCueType_OpeningCredits :: forall r. TechnicalCueType -> (Void# -> r) -> (Void# -> r) -> r
TechnicalCueType_OpeningCredits = TechnicalCueType' "OpeningCredits"

pattern TechnicalCueType_Slate :: TechnicalCueType
pattern $bTechnicalCueType_Slate :: TechnicalCueType
$mTechnicalCueType_Slate :: forall r. TechnicalCueType -> (Void# -> r) -> (Void# -> r) -> r
TechnicalCueType_Slate = TechnicalCueType' "Slate"

pattern TechnicalCueType_StudioLogo :: TechnicalCueType
pattern  = TechnicalCueType' "StudioLogo"

{-# COMPLETE
  TechnicalCueType_BlackFrames,
  TechnicalCueType_ColorBars,
  TechnicalCueType_Content,
  TechnicalCueType_EndCredits,
  TechnicalCueType_OpeningCredits,
  TechnicalCueType_Slate,
  TechnicalCueType_StudioLogo,
  TechnicalCueType'
  #-}