{-# 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.TargetOptions
-- 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.TargetOptions
  ( TargetOptions
      ( ..,
        TargetOptions_INPUT,
        TargetOptions_OUTPUT
      ),
  )
where

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

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

pattern TargetOptions_INPUT :: TargetOptions
pattern $bTargetOptions_INPUT :: TargetOptions
$mTargetOptions_INPUT :: forall {r}. TargetOptions -> ((# #) -> r) -> ((# #) -> r) -> r
TargetOptions_INPUT = TargetOptions' "INPUT"

pattern TargetOptions_OUTPUT :: TargetOptions
pattern $bTargetOptions_OUTPUT :: TargetOptions
$mTargetOptions_OUTPUT :: forall {r}. TargetOptions -> ((# #) -> r) -> ((# #) -> r) -> r
TargetOptions_OUTPUT = TargetOptions' "OUTPUT"

{-# COMPLETE
  TargetOptions_INPUT,
  TargetOptions_OUTPUT,
  TargetOptions'
  #-}