{-# 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.M3u8NielsenId3Behavior
-- 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.M3u8NielsenId3Behavior
  ( M3u8NielsenId3Behavior
      ( ..,
        M3u8NielsenId3Behavior_NO_PASSTHROUGH,
        M3u8NielsenId3Behavior_PASSTHROUGH
      ),
  )
where

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

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

pattern M3u8NielsenId3Behavior_NO_PASSTHROUGH :: M3u8NielsenId3Behavior
pattern $bM3u8NielsenId3Behavior_NO_PASSTHROUGH :: M3u8NielsenId3Behavior
$mM3u8NielsenId3Behavior_NO_PASSTHROUGH :: forall {r}.
M3u8NielsenId3Behavior -> ((# #) -> r) -> ((# #) -> r) -> r
M3u8NielsenId3Behavior_NO_PASSTHROUGH = M3u8NielsenId3Behavior' "NO_PASSTHROUGH"

pattern M3u8NielsenId3Behavior_PASSTHROUGH :: M3u8NielsenId3Behavior
pattern $bM3u8NielsenId3Behavior_PASSTHROUGH :: M3u8NielsenId3Behavior
$mM3u8NielsenId3Behavior_PASSTHROUGH :: forall {r}.
M3u8NielsenId3Behavior -> ((# #) -> r) -> ((# #) -> r) -> r
M3u8NielsenId3Behavior_PASSTHROUGH = M3u8NielsenId3Behavior' "PASSTHROUGH"

{-# COMPLETE
  M3u8NielsenId3Behavior_NO_PASSTHROUGH,
  M3u8NielsenId3Behavior_PASSTHROUGH,
  M3u8NielsenId3Behavior'
  #-}