{-# 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.MacieV2.Types.IsDefinedInJob
-- 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.MacieV2.Types.IsDefinedInJob
  ( IsDefinedInJob
      ( ..,
        IsDefinedInJob_FALSE,
        IsDefinedInJob_TRUE,
        IsDefinedInJob_UNKNOWN
      ),
  )
where

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

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

pattern IsDefinedInJob_FALSE :: IsDefinedInJob
pattern $bIsDefinedInJob_FALSE :: IsDefinedInJob
$mIsDefinedInJob_FALSE :: forall {r}. IsDefinedInJob -> ((# #) -> r) -> ((# #) -> r) -> r
IsDefinedInJob_FALSE = IsDefinedInJob' "FALSE"

pattern IsDefinedInJob_TRUE :: IsDefinedInJob
pattern $bIsDefinedInJob_TRUE :: IsDefinedInJob
$mIsDefinedInJob_TRUE :: forall {r}. IsDefinedInJob -> ((# #) -> r) -> ((# #) -> r) -> r
IsDefinedInJob_TRUE = IsDefinedInJob' "TRUE"

pattern IsDefinedInJob_UNKNOWN :: IsDefinedInJob
pattern $bIsDefinedInJob_UNKNOWN :: IsDefinedInJob
$mIsDefinedInJob_UNKNOWN :: forall {r}. IsDefinedInJob -> ((# #) -> r) -> ((# #) -> r) -> r
IsDefinedInJob_UNKNOWN = IsDefinedInJob' "UNKNOWN"

{-# COMPLETE
  IsDefinedInJob_FALSE,
  IsDefinedInJob_TRUE,
  IsDefinedInJob_UNKNOWN,
  IsDefinedInJob'
  #-}