{-# 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.FecOutputIncludeFec
-- 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.FecOutputIncludeFec
  ( FecOutputIncludeFec
      ( ..,
        FecOutputIncludeFec_COLUMN,
        FecOutputIncludeFec_COLUMN_AND_ROW
      ),
  )
where

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

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

pattern FecOutputIncludeFec_COLUMN :: FecOutputIncludeFec
pattern $bFecOutputIncludeFec_COLUMN :: FecOutputIncludeFec
$mFecOutputIncludeFec_COLUMN :: forall {r}.
FecOutputIncludeFec -> ((# #) -> r) -> ((# #) -> r) -> r
FecOutputIncludeFec_COLUMN = FecOutputIncludeFec' "COLUMN"

pattern FecOutputIncludeFec_COLUMN_AND_ROW :: FecOutputIncludeFec
pattern $bFecOutputIncludeFec_COLUMN_AND_ROW :: FecOutputIncludeFec
$mFecOutputIncludeFec_COLUMN_AND_ROW :: forall {r}.
FecOutputIncludeFec -> ((# #) -> r) -> ((# #) -> r) -> r
FecOutputIncludeFec_COLUMN_AND_ROW = FecOutputIncludeFec' "COLUMN_AND_ROW"

{-# COMPLETE
  FecOutputIncludeFec_COLUMN,
  FecOutputIncludeFec_COLUMN_AND_ROW,
  FecOutputIncludeFec'
  #-}