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

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

-- | Fec Output Include Fec
newtype FecOutputIncludeFec = FecOutputIncludeFec'
  { FecOutputIncludeFec -> Text
fromFecOutputIncludeFec ::
      Core.Text
  }
  deriving stock
    ( Int -> FecOutputIncludeFec -> ShowS
[FecOutputIncludeFec] -> ShowS
FecOutputIncludeFec -> String
(Int -> FecOutputIncludeFec -> ShowS)
-> (FecOutputIncludeFec -> String)
-> ([FecOutputIncludeFec] -> ShowS)
-> Show FecOutputIncludeFec
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]
(Int -> ReadS FecOutputIncludeFec)
-> ReadS [FecOutputIncludeFec]
-> ReadPrec FecOutputIncludeFec
-> ReadPrec [FecOutputIncludeFec]
-> Read 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
(FecOutputIncludeFec -> FecOutputIncludeFec -> Bool)
-> (FecOutputIncludeFec -> FecOutputIncludeFec -> Bool)
-> Eq FecOutputIncludeFec
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
Eq FecOutputIncludeFec
-> (FecOutputIncludeFec -> FecOutputIncludeFec -> Ordering)
-> (FecOutputIncludeFec -> FecOutputIncludeFec -> Bool)
-> (FecOutputIncludeFec -> FecOutputIncludeFec -> Bool)
-> (FecOutputIncludeFec -> FecOutputIncludeFec -> Bool)
-> (FecOutputIncludeFec -> FecOutputIncludeFec -> Bool)
-> (FecOutputIncludeFec
    -> FecOutputIncludeFec -> FecOutputIncludeFec)
-> (FecOutputIncludeFec
    -> FecOutputIncludeFec -> FecOutputIncludeFec)
-> Ord 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
$cp1Ord :: Eq FecOutputIncludeFec
Prelude.Ord,
      (forall x. FecOutputIncludeFec -> Rep FecOutputIncludeFec x)
-> (forall x. Rep FecOutputIncludeFec x -> FecOutputIncludeFec)
-> Generic FecOutputIncludeFec
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
    ( Int -> FecOutputIncludeFec -> Int
FecOutputIncludeFec -> Int
(Int -> FecOutputIncludeFec -> Int)
-> (FecOutputIncludeFec -> Int) -> Hashable FecOutputIncludeFec
forall 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 -> ()
(FecOutputIncludeFec -> ()) -> NFData FecOutputIncludeFec
forall a. (a -> ()) -> NFData a
rnf :: FecOutputIncludeFec -> ()
$crnf :: FecOutputIncludeFec -> ()
Prelude.NFData,
      Text -> Either String FecOutputIncludeFec
(Text -> Either String FecOutputIncludeFec)
-> FromText FecOutputIncludeFec
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String FecOutputIncludeFec
$cfromText :: Text -> Either String FecOutputIncludeFec
Core.FromText,
      FecOutputIncludeFec -> Text
(FecOutputIncludeFec -> Text) -> ToText FecOutputIncludeFec
forall a. (a -> Text) -> ToText a
toText :: FecOutputIncludeFec -> Text
$ctoText :: FecOutputIncludeFec -> Text
Core.ToText,
      FecOutputIncludeFec -> ByteString
(FecOutputIncludeFec -> ByteString)
-> ToByteString FecOutputIncludeFec
forall a. (a -> ByteString) -> ToByteString a
toBS :: FecOutputIncludeFec -> ByteString
$ctoBS :: FecOutputIncludeFec -> ByteString
Core.ToByteString,
      FecOutputIncludeFec -> ByteStringBuilder
(FecOutputIncludeFec -> ByteStringBuilder)
-> ToLog FecOutputIncludeFec
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: FecOutputIncludeFec -> ByteStringBuilder
$cbuild :: FecOutputIncludeFec -> ByteStringBuilder
Core.ToLog,
      HeaderName -> FecOutputIncludeFec -> [Header]
(HeaderName -> FecOutputIncludeFec -> [Header])
-> ToHeader FecOutputIncludeFec
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> FecOutputIncludeFec -> [Header]
$ctoHeader :: HeaderName -> FecOutputIncludeFec -> [Header]
Core.ToHeader,
      FecOutputIncludeFec -> QueryString
(FecOutputIncludeFec -> QueryString) -> ToQuery FecOutputIncludeFec
forall a. (a -> QueryString) -> ToQuery a
toQuery :: FecOutputIncludeFec -> QueryString
$ctoQuery :: FecOutputIncludeFec -> QueryString
Core.ToQuery,
      Value -> Parser [FecOutputIncludeFec]
Value -> Parser FecOutputIncludeFec
(Value -> Parser FecOutputIncludeFec)
-> (Value -> Parser [FecOutputIncludeFec])
-> FromJSON 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
Core.FromJSON,
      FromJSONKeyFunction [FecOutputIncludeFec]
FromJSONKeyFunction FecOutputIncludeFec
FromJSONKeyFunction FecOutputIncludeFec
-> FromJSONKeyFunction [FecOutputIncludeFec]
-> FromJSONKey FecOutputIncludeFec
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [FecOutputIncludeFec]
$cfromJSONKeyList :: FromJSONKeyFunction [FecOutputIncludeFec]
fromJSONKey :: FromJSONKeyFunction FecOutputIncludeFec
$cfromJSONKey :: FromJSONKeyFunction FecOutputIncludeFec
Core.FromJSONKey,
      [FecOutputIncludeFec] -> Encoding
[FecOutputIncludeFec] -> Value
FecOutputIncludeFec -> Encoding
FecOutputIncludeFec -> Value
(FecOutputIncludeFec -> Value)
-> (FecOutputIncludeFec -> Encoding)
-> ([FecOutputIncludeFec] -> Value)
-> ([FecOutputIncludeFec] -> Encoding)
-> ToJSON FecOutputIncludeFec
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
Core.ToJSON,
      ToJSONKeyFunction [FecOutputIncludeFec]
ToJSONKeyFunction FecOutputIncludeFec
ToJSONKeyFunction FecOutputIncludeFec
-> ToJSONKeyFunction [FecOutputIncludeFec]
-> ToJSONKey FecOutputIncludeFec
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [FecOutputIncludeFec]
$ctoJSONKeyList :: ToJSONKeyFunction [FecOutputIncludeFec]
toJSONKey :: ToJSONKeyFunction FecOutputIncludeFec
$ctoJSONKey :: ToJSONKeyFunction FecOutputIncludeFec
Core.ToJSONKey,
      [Node] -> Either String FecOutputIncludeFec
([Node] -> Either String FecOutputIncludeFec)
-> FromXML FecOutputIncludeFec
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String FecOutputIncludeFec
$cparseXML :: [Node] -> Either String FecOutputIncludeFec
Core.FromXML,
      FecOutputIncludeFec -> XML
(FecOutputIncludeFec -> XML) -> ToXML FecOutputIncludeFec
forall a. (a -> XML) -> ToXML a
toXML :: FecOutputIncludeFec -> XML
$ctoXML :: FecOutputIncludeFec -> XML
Core.ToXML
    )

pattern FecOutputIncludeFec_COLUMN :: FecOutputIncludeFec
pattern $bFecOutputIncludeFec_COLUMN :: FecOutputIncludeFec
$mFecOutputIncludeFec_COLUMN :: forall r. FecOutputIncludeFec -> (Void# -> r) -> (Void# -> 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 -> (Void# -> r) -> (Void# -> r) -> r
FecOutputIncludeFec_COLUMN_AND_ROW = FecOutputIncludeFec' "COLUMN_AND_ROW"

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