{-# 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.VectorEnrichmentJobDocumentType
-- 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.VectorEnrichmentJobDocumentType
  ( VectorEnrichmentJobDocumentType
      ( ..,
        VectorEnrichmentJobDocumentType_CSV
      ),
  )
where

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

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

pattern VectorEnrichmentJobDocumentType_CSV :: VectorEnrichmentJobDocumentType
pattern $bVectorEnrichmentJobDocumentType_CSV :: VectorEnrichmentJobDocumentType
$mVectorEnrichmentJobDocumentType_CSV :: forall {r}.
VectorEnrichmentJobDocumentType
-> ((# #) -> r) -> ((# #) -> r) -> r
VectorEnrichmentJobDocumentType_CSV = VectorEnrichmentJobDocumentType' "CSV"

{-# COMPLETE
  VectorEnrichmentJobDocumentType_CSV,
  VectorEnrichmentJobDocumentType'
  #-}