{-# 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.MediaLive.Types.Fmp4NielsenId3Behavior
-- 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.Fmp4NielsenId3Behavior
  ( Fmp4NielsenId3Behavior
      ( ..,
        Fmp4NielsenId3Behavior_NO_PASSTHROUGH,
        Fmp4NielsenId3Behavior_PASSTHROUGH
      ),
  )
where

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

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

pattern Fmp4NielsenId3Behavior_NO_PASSTHROUGH :: Fmp4NielsenId3Behavior
pattern $bFmp4NielsenId3Behavior_NO_PASSTHROUGH :: Fmp4NielsenId3Behavior
$mFmp4NielsenId3Behavior_NO_PASSTHROUGH :: forall r.
Fmp4NielsenId3Behavior -> (Void# -> r) -> (Void# -> r) -> r
Fmp4NielsenId3Behavior_NO_PASSTHROUGH = Fmp4NielsenId3Behavior' "NO_PASSTHROUGH"

pattern Fmp4NielsenId3Behavior_PASSTHROUGH :: Fmp4NielsenId3Behavior
pattern $bFmp4NielsenId3Behavior_PASSTHROUGH :: Fmp4NielsenId3Behavior
$mFmp4NielsenId3Behavior_PASSTHROUGH :: forall r.
Fmp4NielsenId3Behavior -> (Void# -> r) -> (Void# -> r) -> r
Fmp4NielsenId3Behavior_PASSTHROUGH = Fmp4NielsenId3Behavior' "PASSTHROUGH"

{-# COMPLETE
  Fmp4NielsenId3Behavior_NO_PASSTHROUGH,
  Fmp4NielsenId3Behavior_PASSTHROUGH,
  Fmp4NielsenId3Behavior'
  #-}