{-# 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.HlsIvInManifest
-- 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.HlsIvInManifest
  ( HlsIvInManifest
      ( ..,
        HlsIvInManifest_EXCLUDE,
        HlsIvInManifest_INCLUDE
      ),
  )
where

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

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

pattern HlsIvInManifest_EXCLUDE :: HlsIvInManifest
pattern $bHlsIvInManifest_EXCLUDE :: HlsIvInManifest
$mHlsIvInManifest_EXCLUDE :: forall {r}. HlsIvInManifest -> ((# #) -> r) -> ((# #) -> r) -> r
HlsIvInManifest_EXCLUDE = HlsIvInManifest' "EXCLUDE"

pattern HlsIvInManifest_INCLUDE :: HlsIvInManifest
pattern $bHlsIvInManifest_INCLUDE :: HlsIvInManifest
$mHlsIvInManifest_INCLUDE :: forall {r}. HlsIvInManifest -> ((# #) -> r) -> ((# #) -> r) -> r
HlsIvInManifest_INCLUDE = HlsIvInManifest' "INCLUDE"

{-# COMPLETE
  HlsIvInManifest_EXCLUDE,
  HlsIvInManifest_INCLUDE,
  HlsIvInManifest'
  #-}