{-# 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.NielsenWatermarksDistributionTypes
-- 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.NielsenWatermarksDistributionTypes
  ( NielsenWatermarksDistributionTypes
      ( ..,
        NielsenWatermarksDistributionTypes_FINAL_DISTRIBUTOR,
        NielsenWatermarksDistributionTypes_PROGRAM_CONTENT
      ),
  )
where

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

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

pattern NielsenWatermarksDistributionTypes_FINAL_DISTRIBUTOR :: NielsenWatermarksDistributionTypes
pattern $bNielsenWatermarksDistributionTypes_FINAL_DISTRIBUTOR :: NielsenWatermarksDistributionTypes
$mNielsenWatermarksDistributionTypes_FINAL_DISTRIBUTOR :: forall {r}.
NielsenWatermarksDistributionTypes
-> ((# #) -> r) -> ((# #) -> r) -> r
NielsenWatermarksDistributionTypes_FINAL_DISTRIBUTOR = NielsenWatermarksDistributionTypes' "FINAL_DISTRIBUTOR"

pattern NielsenWatermarksDistributionTypes_PROGRAM_CONTENT :: NielsenWatermarksDistributionTypes
pattern $bNielsenWatermarksDistributionTypes_PROGRAM_CONTENT :: NielsenWatermarksDistributionTypes
$mNielsenWatermarksDistributionTypes_PROGRAM_CONTENT :: forall {r}.
NielsenWatermarksDistributionTypes
-> ((# #) -> r) -> ((# #) -> r) -> r
NielsenWatermarksDistributionTypes_PROGRAM_CONTENT = NielsenWatermarksDistributionTypes' "PROGRAM_CONTENT"

{-# COMPLETE
  NielsenWatermarksDistributionTypes_FINAL_DISTRIBUTOR,
  NielsenWatermarksDistributionTypes_PROGRAM_CONTENT,
  NielsenWatermarksDistributionTypes'
  #-}