{-# 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.SageMakerGeoSpatial.Types.VectorEnrichmentJobStatus
-- 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.SageMakerGeoSpatial.Types.VectorEnrichmentJobStatus
  ( VectorEnrichmentJobStatus
      ( ..,
        VectorEnrichmentJobStatus_COMPLETED,
        VectorEnrichmentJobStatus_DELETED,
        VectorEnrichmentJobStatus_DELETING,
        VectorEnrichmentJobStatus_FAILED,
        VectorEnrichmentJobStatus_INITIALIZING,
        VectorEnrichmentJobStatus_IN_PROGRESS,
        VectorEnrichmentJobStatus_STOPPED,
        VectorEnrichmentJobStatus_STOPPING
      ),
  )
where

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

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

pattern VectorEnrichmentJobStatus_COMPLETED :: VectorEnrichmentJobStatus
pattern $bVectorEnrichmentJobStatus_COMPLETED :: VectorEnrichmentJobStatus
$mVectorEnrichmentJobStatus_COMPLETED :: forall {r}.
VectorEnrichmentJobStatus -> ((# #) -> r) -> ((# #) -> r) -> r
VectorEnrichmentJobStatus_COMPLETED = VectorEnrichmentJobStatus' "COMPLETED"

pattern VectorEnrichmentJobStatus_DELETED :: VectorEnrichmentJobStatus
pattern $bVectorEnrichmentJobStatus_DELETED :: VectorEnrichmentJobStatus
$mVectorEnrichmentJobStatus_DELETED :: forall {r}.
VectorEnrichmentJobStatus -> ((# #) -> r) -> ((# #) -> r) -> r
VectorEnrichmentJobStatus_DELETED = VectorEnrichmentJobStatus' "DELETED"

pattern VectorEnrichmentJobStatus_DELETING :: VectorEnrichmentJobStatus
pattern $bVectorEnrichmentJobStatus_DELETING :: VectorEnrichmentJobStatus
$mVectorEnrichmentJobStatus_DELETING :: forall {r}.
VectorEnrichmentJobStatus -> ((# #) -> r) -> ((# #) -> r) -> r
VectorEnrichmentJobStatus_DELETING = VectorEnrichmentJobStatus' "DELETING"

pattern VectorEnrichmentJobStatus_FAILED :: VectorEnrichmentJobStatus
pattern $bVectorEnrichmentJobStatus_FAILED :: VectorEnrichmentJobStatus
$mVectorEnrichmentJobStatus_FAILED :: forall {r}.
VectorEnrichmentJobStatus -> ((# #) -> r) -> ((# #) -> r) -> r
VectorEnrichmentJobStatus_FAILED = VectorEnrichmentJobStatus' "FAILED"

pattern VectorEnrichmentJobStatus_INITIALIZING :: VectorEnrichmentJobStatus
pattern $bVectorEnrichmentJobStatus_INITIALIZING :: VectorEnrichmentJobStatus
$mVectorEnrichmentJobStatus_INITIALIZING :: forall {r}.
VectorEnrichmentJobStatus -> ((# #) -> r) -> ((# #) -> r) -> r
VectorEnrichmentJobStatus_INITIALIZING = VectorEnrichmentJobStatus' "INITIALIZING"

pattern VectorEnrichmentJobStatus_IN_PROGRESS :: VectorEnrichmentJobStatus
pattern $bVectorEnrichmentJobStatus_IN_PROGRESS :: VectorEnrichmentJobStatus
$mVectorEnrichmentJobStatus_IN_PROGRESS :: forall {r}.
VectorEnrichmentJobStatus -> ((# #) -> r) -> ((# #) -> r) -> r
VectorEnrichmentJobStatus_IN_PROGRESS = VectorEnrichmentJobStatus' "IN_PROGRESS"

pattern VectorEnrichmentJobStatus_STOPPED :: VectorEnrichmentJobStatus
pattern $bVectorEnrichmentJobStatus_STOPPED :: VectorEnrichmentJobStatus
$mVectorEnrichmentJobStatus_STOPPED :: forall {r}.
VectorEnrichmentJobStatus -> ((# #) -> r) -> ((# #) -> r) -> r
VectorEnrichmentJobStatus_STOPPED = VectorEnrichmentJobStatus' "STOPPED"

pattern VectorEnrichmentJobStatus_STOPPING :: VectorEnrichmentJobStatus
pattern $bVectorEnrichmentJobStatus_STOPPING :: VectorEnrichmentJobStatus
$mVectorEnrichmentJobStatus_STOPPING :: forall {r}.
VectorEnrichmentJobStatus -> ((# #) -> r) -> ((# #) -> r) -> r
VectorEnrichmentJobStatus_STOPPING = VectorEnrichmentJobStatus' "STOPPING"

{-# COMPLETE
  VectorEnrichmentJobStatus_COMPLETED,
  VectorEnrichmentJobStatus_DELETED,
  VectorEnrichmentJobStatus_DELETING,
  VectorEnrichmentJobStatus_FAILED,
  VectorEnrichmentJobStatus_INITIALIZING,
  VectorEnrichmentJobStatus_IN_PROGRESS,
  VectorEnrichmentJobStatus_STOPPED,
  VectorEnrichmentJobStatus_STOPPING,
  VectorEnrichmentJobStatus'
  #-}