{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.CodeCommit.Types.ConflictDetailLevelTypeEnum
( ConflictDetailLevelTypeEnum
( ..,
ConflictDetailLevelTypeEnum_FILE_LEVEL,
ConflictDetailLevelTypeEnum_LINE_LEVEL
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype ConflictDetailLevelTypeEnum = ConflictDetailLevelTypeEnum'
{ ConflictDetailLevelTypeEnum -> Text
fromConflictDetailLevelTypeEnum ::
Core.Text
}
deriving stock
( Int -> ConflictDetailLevelTypeEnum -> ShowS
[ConflictDetailLevelTypeEnum] -> ShowS
ConflictDetailLevelTypeEnum -> String
(Int -> ConflictDetailLevelTypeEnum -> ShowS)
-> (ConflictDetailLevelTypeEnum -> String)
-> ([ConflictDetailLevelTypeEnum] -> ShowS)
-> Show ConflictDetailLevelTypeEnum
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ConflictDetailLevelTypeEnum] -> ShowS
$cshowList :: [ConflictDetailLevelTypeEnum] -> ShowS
show :: ConflictDetailLevelTypeEnum -> String
$cshow :: ConflictDetailLevelTypeEnum -> String
showsPrec :: Int -> ConflictDetailLevelTypeEnum -> ShowS
$cshowsPrec :: Int -> ConflictDetailLevelTypeEnum -> ShowS
Prelude.Show,
ReadPrec [ConflictDetailLevelTypeEnum]
ReadPrec ConflictDetailLevelTypeEnum
Int -> ReadS ConflictDetailLevelTypeEnum
ReadS [ConflictDetailLevelTypeEnum]
(Int -> ReadS ConflictDetailLevelTypeEnum)
-> ReadS [ConflictDetailLevelTypeEnum]
-> ReadPrec ConflictDetailLevelTypeEnum
-> ReadPrec [ConflictDetailLevelTypeEnum]
-> Read ConflictDetailLevelTypeEnum
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ConflictDetailLevelTypeEnum]
$creadListPrec :: ReadPrec [ConflictDetailLevelTypeEnum]
readPrec :: ReadPrec ConflictDetailLevelTypeEnum
$creadPrec :: ReadPrec ConflictDetailLevelTypeEnum
readList :: ReadS [ConflictDetailLevelTypeEnum]
$creadList :: ReadS [ConflictDetailLevelTypeEnum]
readsPrec :: Int -> ReadS ConflictDetailLevelTypeEnum
$creadsPrec :: Int -> ReadS ConflictDetailLevelTypeEnum
Prelude.Read,
ConflictDetailLevelTypeEnum -> ConflictDetailLevelTypeEnum -> Bool
(ConflictDetailLevelTypeEnum
-> ConflictDetailLevelTypeEnum -> Bool)
-> (ConflictDetailLevelTypeEnum
-> ConflictDetailLevelTypeEnum -> Bool)
-> Eq ConflictDetailLevelTypeEnum
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ConflictDetailLevelTypeEnum -> ConflictDetailLevelTypeEnum -> Bool
$c/= :: ConflictDetailLevelTypeEnum -> ConflictDetailLevelTypeEnum -> Bool
== :: ConflictDetailLevelTypeEnum -> ConflictDetailLevelTypeEnum -> Bool
$c== :: ConflictDetailLevelTypeEnum -> ConflictDetailLevelTypeEnum -> Bool
Prelude.Eq,
Eq ConflictDetailLevelTypeEnum
Eq ConflictDetailLevelTypeEnum
-> (ConflictDetailLevelTypeEnum
-> ConflictDetailLevelTypeEnum -> Ordering)
-> (ConflictDetailLevelTypeEnum
-> ConflictDetailLevelTypeEnum -> Bool)
-> (ConflictDetailLevelTypeEnum
-> ConflictDetailLevelTypeEnum -> Bool)
-> (ConflictDetailLevelTypeEnum
-> ConflictDetailLevelTypeEnum -> Bool)
-> (ConflictDetailLevelTypeEnum
-> ConflictDetailLevelTypeEnum -> Bool)
-> (ConflictDetailLevelTypeEnum
-> ConflictDetailLevelTypeEnum -> ConflictDetailLevelTypeEnum)
-> (ConflictDetailLevelTypeEnum
-> ConflictDetailLevelTypeEnum -> ConflictDetailLevelTypeEnum)
-> Ord ConflictDetailLevelTypeEnum
ConflictDetailLevelTypeEnum -> ConflictDetailLevelTypeEnum -> Bool
ConflictDetailLevelTypeEnum
-> ConflictDetailLevelTypeEnum -> Ordering
ConflictDetailLevelTypeEnum
-> ConflictDetailLevelTypeEnum -> ConflictDetailLevelTypeEnum
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 :: ConflictDetailLevelTypeEnum
-> ConflictDetailLevelTypeEnum -> ConflictDetailLevelTypeEnum
$cmin :: ConflictDetailLevelTypeEnum
-> ConflictDetailLevelTypeEnum -> ConflictDetailLevelTypeEnum
max :: ConflictDetailLevelTypeEnum
-> ConflictDetailLevelTypeEnum -> ConflictDetailLevelTypeEnum
$cmax :: ConflictDetailLevelTypeEnum
-> ConflictDetailLevelTypeEnum -> ConflictDetailLevelTypeEnum
>= :: ConflictDetailLevelTypeEnum -> ConflictDetailLevelTypeEnum -> Bool
$c>= :: ConflictDetailLevelTypeEnum -> ConflictDetailLevelTypeEnum -> Bool
> :: ConflictDetailLevelTypeEnum -> ConflictDetailLevelTypeEnum -> Bool
$c> :: ConflictDetailLevelTypeEnum -> ConflictDetailLevelTypeEnum -> Bool
<= :: ConflictDetailLevelTypeEnum -> ConflictDetailLevelTypeEnum -> Bool
$c<= :: ConflictDetailLevelTypeEnum -> ConflictDetailLevelTypeEnum -> Bool
< :: ConflictDetailLevelTypeEnum -> ConflictDetailLevelTypeEnum -> Bool
$c< :: ConflictDetailLevelTypeEnum -> ConflictDetailLevelTypeEnum -> Bool
compare :: ConflictDetailLevelTypeEnum
-> ConflictDetailLevelTypeEnum -> Ordering
$ccompare :: ConflictDetailLevelTypeEnum
-> ConflictDetailLevelTypeEnum -> Ordering
$cp1Ord :: Eq ConflictDetailLevelTypeEnum
Prelude.Ord,
(forall x.
ConflictDetailLevelTypeEnum -> Rep ConflictDetailLevelTypeEnum x)
-> (forall x.
Rep ConflictDetailLevelTypeEnum x -> ConflictDetailLevelTypeEnum)
-> Generic ConflictDetailLevelTypeEnum
forall x.
Rep ConflictDetailLevelTypeEnum x -> ConflictDetailLevelTypeEnum
forall x.
ConflictDetailLevelTypeEnum -> Rep ConflictDetailLevelTypeEnum x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ConflictDetailLevelTypeEnum x -> ConflictDetailLevelTypeEnum
$cfrom :: forall x.
ConflictDetailLevelTypeEnum -> Rep ConflictDetailLevelTypeEnum x
Prelude.Generic
)
deriving newtype
( Int -> ConflictDetailLevelTypeEnum -> Int
ConflictDetailLevelTypeEnum -> Int
(Int -> ConflictDetailLevelTypeEnum -> Int)
-> (ConflictDetailLevelTypeEnum -> Int)
-> Hashable ConflictDetailLevelTypeEnum
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: ConflictDetailLevelTypeEnum -> Int
$chash :: ConflictDetailLevelTypeEnum -> Int
hashWithSalt :: Int -> ConflictDetailLevelTypeEnum -> Int
$chashWithSalt :: Int -> ConflictDetailLevelTypeEnum -> Int
Prelude.Hashable,
ConflictDetailLevelTypeEnum -> ()
(ConflictDetailLevelTypeEnum -> ())
-> NFData ConflictDetailLevelTypeEnum
forall a. (a -> ()) -> NFData a
rnf :: ConflictDetailLevelTypeEnum -> ()
$crnf :: ConflictDetailLevelTypeEnum -> ()
Prelude.NFData,
Text -> Either String ConflictDetailLevelTypeEnum
(Text -> Either String ConflictDetailLevelTypeEnum)
-> FromText ConflictDetailLevelTypeEnum
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String ConflictDetailLevelTypeEnum
$cfromText :: Text -> Either String ConflictDetailLevelTypeEnum
Core.FromText,
ConflictDetailLevelTypeEnum -> Text
(ConflictDetailLevelTypeEnum -> Text)
-> ToText ConflictDetailLevelTypeEnum
forall a. (a -> Text) -> ToText a
toText :: ConflictDetailLevelTypeEnum -> Text
$ctoText :: ConflictDetailLevelTypeEnum -> Text
Core.ToText,
ConflictDetailLevelTypeEnum -> ByteString
(ConflictDetailLevelTypeEnum -> ByteString)
-> ToByteString ConflictDetailLevelTypeEnum
forall a. (a -> ByteString) -> ToByteString a
toBS :: ConflictDetailLevelTypeEnum -> ByteString
$ctoBS :: ConflictDetailLevelTypeEnum -> ByteString
Core.ToByteString,
ConflictDetailLevelTypeEnum -> ByteStringBuilder
(ConflictDetailLevelTypeEnum -> ByteStringBuilder)
-> ToLog ConflictDetailLevelTypeEnum
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: ConflictDetailLevelTypeEnum -> ByteStringBuilder
$cbuild :: ConflictDetailLevelTypeEnum -> ByteStringBuilder
Core.ToLog,
HeaderName -> ConflictDetailLevelTypeEnum -> [Header]
(HeaderName -> ConflictDetailLevelTypeEnum -> [Header])
-> ToHeader ConflictDetailLevelTypeEnum
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> ConflictDetailLevelTypeEnum -> [Header]
$ctoHeader :: HeaderName -> ConflictDetailLevelTypeEnum -> [Header]
Core.ToHeader,
ConflictDetailLevelTypeEnum -> QueryString
(ConflictDetailLevelTypeEnum -> QueryString)
-> ToQuery ConflictDetailLevelTypeEnum
forall a. (a -> QueryString) -> ToQuery a
toQuery :: ConflictDetailLevelTypeEnum -> QueryString
$ctoQuery :: ConflictDetailLevelTypeEnum -> QueryString
Core.ToQuery,
Value -> Parser [ConflictDetailLevelTypeEnum]
Value -> Parser ConflictDetailLevelTypeEnum
(Value -> Parser ConflictDetailLevelTypeEnum)
-> (Value -> Parser [ConflictDetailLevelTypeEnum])
-> FromJSON ConflictDetailLevelTypeEnum
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [ConflictDetailLevelTypeEnum]
$cparseJSONList :: Value -> Parser [ConflictDetailLevelTypeEnum]
parseJSON :: Value -> Parser ConflictDetailLevelTypeEnum
$cparseJSON :: Value -> Parser ConflictDetailLevelTypeEnum
Core.FromJSON,
FromJSONKeyFunction [ConflictDetailLevelTypeEnum]
FromJSONKeyFunction ConflictDetailLevelTypeEnum
FromJSONKeyFunction ConflictDetailLevelTypeEnum
-> FromJSONKeyFunction [ConflictDetailLevelTypeEnum]
-> FromJSONKey ConflictDetailLevelTypeEnum
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [ConflictDetailLevelTypeEnum]
$cfromJSONKeyList :: FromJSONKeyFunction [ConflictDetailLevelTypeEnum]
fromJSONKey :: FromJSONKeyFunction ConflictDetailLevelTypeEnum
$cfromJSONKey :: FromJSONKeyFunction ConflictDetailLevelTypeEnum
Core.FromJSONKey,
[ConflictDetailLevelTypeEnum] -> Encoding
[ConflictDetailLevelTypeEnum] -> Value
ConflictDetailLevelTypeEnum -> Encoding
ConflictDetailLevelTypeEnum -> Value
(ConflictDetailLevelTypeEnum -> Value)
-> (ConflictDetailLevelTypeEnum -> Encoding)
-> ([ConflictDetailLevelTypeEnum] -> Value)
-> ([ConflictDetailLevelTypeEnum] -> Encoding)
-> ToJSON ConflictDetailLevelTypeEnum
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [ConflictDetailLevelTypeEnum] -> Encoding
$ctoEncodingList :: [ConflictDetailLevelTypeEnum] -> Encoding
toJSONList :: [ConflictDetailLevelTypeEnum] -> Value
$ctoJSONList :: [ConflictDetailLevelTypeEnum] -> Value
toEncoding :: ConflictDetailLevelTypeEnum -> Encoding
$ctoEncoding :: ConflictDetailLevelTypeEnum -> Encoding
toJSON :: ConflictDetailLevelTypeEnum -> Value
$ctoJSON :: ConflictDetailLevelTypeEnum -> Value
Core.ToJSON,
ToJSONKeyFunction [ConflictDetailLevelTypeEnum]
ToJSONKeyFunction ConflictDetailLevelTypeEnum
ToJSONKeyFunction ConflictDetailLevelTypeEnum
-> ToJSONKeyFunction [ConflictDetailLevelTypeEnum]
-> ToJSONKey ConflictDetailLevelTypeEnum
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [ConflictDetailLevelTypeEnum]
$ctoJSONKeyList :: ToJSONKeyFunction [ConflictDetailLevelTypeEnum]
toJSONKey :: ToJSONKeyFunction ConflictDetailLevelTypeEnum
$ctoJSONKey :: ToJSONKeyFunction ConflictDetailLevelTypeEnum
Core.ToJSONKey,
[Node] -> Either String ConflictDetailLevelTypeEnum
([Node] -> Either String ConflictDetailLevelTypeEnum)
-> FromXML ConflictDetailLevelTypeEnum
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String ConflictDetailLevelTypeEnum
$cparseXML :: [Node] -> Either String ConflictDetailLevelTypeEnum
Core.FromXML,
ConflictDetailLevelTypeEnum -> XML
(ConflictDetailLevelTypeEnum -> XML)
-> ToXML ConflictDetailLevelTypeEnum
forall a. (a -> XML) -> ToXML a
toXML :: ConflictDetailLevelTypeEnum -> XML
$ctoXML :: ConflictDetailLevelTypeEnum -> XML
Core.ToXML
)
pattern ConflictDetailLevelTypeEnum_FILE_LEVEL :: ConflictDetailLevelTypeEnum
pattern $bConflictDetailLevelTypeEnum_FILE_LEVEL :: ConflictDetailLevelTypeEnum
$mConflictDetailLevelTypeEnum_FILE_LEVEL :: forall r.
ConflictDetailLevelTypeEnum -> (Void# -> r) -> (Void# -> r) -> r
ConflictDetailLevelTypeEnum_FILE_LEVEL = ConflictDetailLevelTypeEnum' "FILE_LEVEL"
pattern ConflictDetailLevelTypeEnum_LINE_LEVEL :: ConflictDetailLevelTypeEnum
pattern $bConflictDetailLevelTypeEnum_LINE_LEVEL :: ConflictDetailLevelTypeEnum
$mConflictDetailLevelTypeEnum_LINE_LEVEL :: forall r.
ConflictDetailLevelTypeEnum -> (Void# -> r) -> (Void# -> r) -> r
ConflictDetailLevelTypeEnum_LINE_LEVEL = ConflictDetailLevelTypeEnum' "LINE_LEVEL"
{-# COMPLETE
ConflictDetailLevelTypeEnum_FILE_LEVEL,
ConflictDetailLevelTypeEnum_LINE_LEVEL,
ConflictDetailLevelTypeEnum'
#-}