{-# 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.IsMonitoredByJob
-- 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.IsMonitoredByJob
  ( IsMonitoredByJob
      ( ..,
        IsMonitoredByJob_FALSE,
        IsMonitoredByJob_TRUE,
        IsMonitoredByJob_UNKNOWN
      ),
  )
where

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

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

pattern IsMonitoredByJob_FALSE :: IsMonitoredByJob
pattern $bIsMonitoredByJob_FALSE :: IsMonitoredByJob
$mIsMonitoredByJob_FALSE :: forall r. IsMonitoredByJob -> (Void# -> r) -> (Void# -> r) -> r
IsMonitoredByJob_FALSE = IsMonitoredByJob' "FALSE"

pattern IsMonitoredByJob_TRUE :: IsMonitoredByJob
pattern $bIsMonitoredByJob_TRUE :: IsMonitoredByJob
$mIsMonitoredByJob_TRUE :: forall r. IsMonitoredByJob -> (Void# -> r) -> (Void# -> r) -> r
IsMonitoredByJob_TRUE = IsMonitoredByJob' "TRUE"

pattern IsMonitoredByJob_UNKNOWN :: IsMonitoredByJob
pattern $bIsMonitoredByJob_UNKNOWN :: IsMonitoredByJob
$mIsMonitoredByJob_UNKNOWN :: forall r. IsMonitoredByJob -> (Void# -> r) -> (Void# -> r) -> r
IsMonitoredByJob_UNKNOWN = IsMonitoredByJob' "UNKNOWN"

{-# COMPLETE
  IsMonitoredByJob_FALSE,
  IsMonitoredByJob_TRUE,
  IsMonitoredByJob_UNKNOWN,
  IsMonitoredByJob'
  #-}