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