{-# 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.LookoutVision.Types.TargetPlatformOs
-- 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.LookoutVision.Types.TargetPlatformOs
  ( TargetPlatformOs
      ( ..,
        TargetPlatformOs_LINUX
      ),
  )
where

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

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

pattern TargetPlatformOs_LINUX :: TargetPlatformOs
pattern $bTargetPlatformOs_LINUX :: TargetPlatformOs
$mTargetPlatformOs_LINUX :: forall {r}. TargetPlatformOs -> ((# #) -> r) -> ((# #) -> r) -> r
TargetPlatformOs_LINUX = TargetPlatformOs' "LINUX"

{-# COMPLETE
  TargetPlatformOs_LINUX,
  TargetPlatformOs'
  #-}