{-# 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.Rekognition.Types.DetectLabelsFeatureName
-- 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.Rekognition.Types.DetectLabelsFeatureName
  ( DetectLabelsFeatureName
      ( ..,
        DetectLabelsFeatureName_GENERAL_LABELS,
        DetectLabelsFeatureName_IMAGE_PROPERTIES
      ),
  )
where

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

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

pattern DetectLabelsFeatureName_GENERAL_LABELS :: DetectLabelsFeatureName
pattern $bDetectLabelsFeatureName_GENERAL_LABELS :: DetectLabelsFeatureName
$mDetectLabelsFeatureName_GENERAL_LABELS :: forall {r}.
DetectLabelsFeatureName -> ((# #) -> r) -> ((# #) -> r) -> r
DetectLabelsFeatureName_GENERAL_LABELS = DetectLabelsFeatureName' "GENERAL_LABELS"

pattern DetectLabelsFeatureName_IMAGE_PROPERTIES :: DetectLabelsFeatureName
pattern $bDetectLabelsFeatureName_IMAGE_PROPERTIES :: DetectLabelsFeatureName
$mDetectLabelsFeatureName_IMAGE_PROPERTIES :: forall {r}.
DetectLabelsFeatureName -> ((# #) -> r) -> ((# #) -> r) -> r
DetectLabelsFeatureName_IMAGE_PROPERTIES = DetectLabelsFeatureName' "IMAGE_PROPERTIES"

{-# COMPLETE
  DetectLabelsFeatureName_GENERAL_LABELS,
  DetectLabelsFeatureName_IMAGE_PROPERTIES,
  DetectLabelsFeatureName'
  #-}