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

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

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

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

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

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

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