{-# 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.WorkSpaces.Types.WorkspaceImageIngestionProcess
-- 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.WorkSpaces.Types.WorkspaceImageIngestionProcess
  ( WorkspaceImageIngestionProcess
      ( ..,
        WorkspaceImageIngestionProcess_BYOL_GRAPHICS,
        WorkspaceImageIngestionProcess_BYOL_GRAPHICSPRO,
        WorkspaceImageIngestionProcess_BYOL_GRAPHICS_G4DN,
        WorkspaceImageIngestionProcess_BYOL_GRAPHICS_G4DN_BYOP,
        WorkspaceImageIngestionProcess_BYOL_REGULAR,
        WorkspaceImageIngestionProcess_BYOL_REGULAR_BYOP,
        WorkspaceImageIngestionProcess_BYOL_REGULAR_WSP
      ),
  )
where

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

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

pattern WorkspaceImageIngestionProcess_BYOL_GRAPHICS :: WorkspaceImageIngestionProcess
pattern $bWorkspaceImageIngestionProcess_BYOL_GRAPHICS :: WorkspaceImageIngestionProcess
$mWorkspaceImageIngestionProcess_BYOL_GRAPHICS :: forall {r}.
WorkspaceImageIngestionProcess -> ((# #) -> r) -> ((# #) -> r) -> r
WorkspaceImageIngestionProcess_BYOL_GRAPHICS = WorkspaceImageIngestionProcess' "BYOL_GRAPHICS"

pattern WorkspaceImageIngestionProcess_BYOL_GRAPHICSPRO :: WorkspaceImageIngestionProcess
pattern $bWorkspaceImageIngestionProcess_BYOL_GRAPHICSPRO :: WorkspaceImageIngestionProcess
$mWorkspaceImageIngestionProcess_BYOL_GRAPHICSPRO :: forall {r}.
WorkspaceImageIngestionProcess -> ((# #) -> r) -> ((# #) -> r) -> r
WorkspaceImageIngestionProcess_BYOL_GRAPHICSPRO = WorkspaceImageIngestionProcess' "BYOL_GRAPHICSPRO"

pattern WorkspaceImageIngestionProcess_BYOL_GRAPHICS_G4DN :: WorkspaceImageIngestionProcess
pattern $bWorkspaceImageIngestionProcess_BYOL_GRAPHICS_G4DN :: WorkspaceImageIngestionProcess
$mWorkspaceImageIngestionProcess_BYOL_GRAPHICS_G4DN :: forall {r}.
WorkspaceImageIngestionProcess -> ((# #) -> r) -> ((# #) -> r) -> r
WorkspaceImageIngestionProcess_BYOL_GRAPHICS_G4DN = WorkspaceImageIngestionProcess' "BYOL_GRAPHICS_G4DN"

pattern WorkspaceImageIngestionProcess_BYOL_GRAPHICS_G4DN_BYOP :: WorkspaceImageIngestionProcess
pattern $bWorkspaceImageIngestionProcess_BYOL_GRAPHICS_G4DN_BYOP :: WorkspaceImageIngestionProcess
$mWorkspaceImageIngestionProcess_BYOL_GRAPHICS_G4DN_BYOP :: forall {r}.
WorkspaceImageIngestionProcess -> ((# #) -> r) -> ((# #) -> r) -> r
WorkspaceImageIngestionProcess_BYOL_GRAPHICS_G4DN_BYOP = WorkspaceImageIngestionProcess' "BYOL_GRAPHICS_G4DN_BYOP"

pattern WorkspaceImageIngestionProcess_BYOL_REGULAR :: WorkspaceImageIngestionProcess
pattern $bWorkspaceImageIngestionProcess_BYOL_REGULAR :: WorkspaceImageIngestionProcess
$mWorkspaceImageIngestionProcess_BYOL_REGULAR :: forall {r}.
WorkspaceImageIngestionProcess -> ((# #) -> r) -> ((# #) -> r) -> r
WorkspaceImageIngestionProcess_BYOL_REGULAR = WorkspaceImageIngestionProcess' "BYOL_REGULAR"

pattern WorkspaceImageIngestionProcess_BYOL_REGULAR_BYOP :: WorkspaceImageIngestionProcess
pattern $bWorkspaceImageIngestionProcess_BYOL_REGULAR_BYOP :: WorkspaceImageIngestionProcess
$mWorkspaceImageIngestionProcess_BYOL_REGULAR_BYOP :: forall {r}.
WorkspaceImageIngestionProcess -> ((# #) -> r) -> ((# #) -> r) -> r
WorkspaceImageIngestionProcess_BYOL_REGULAR_BYOP = WorkspaceImageIngestionProcess' "BYOL_REGULAR_BYOP"

pattern WorkspaceImageIngestionProcess_BYOL_REGULAR_WSP :: WorkspaceImageIngestionProcess
pattern $bWorkspaceImageIngestionProcess_BYOL_REGULAR_WSP :: WorkspaceImageIngestionProcess
$mWorkspaceImageIngestionProcess_BYOL_REGULAR_WSP :: forall {r}.
WorkspaceImageIngestionProcess -> ((# #) -> r) -> ((# #) -> r) -> r
WorkspaceImageIngestionProcess_BYOL_REGULAR_WSP = WorkspaceImageIngestionProcess' "BYOL_REGULAR_WSP"

{-# COMPLETE
  WorkspaceImageIngestionProcess_BYOL_GRAPHICS,
  WorkspaceImageIngestionProcess_BYOL_GRAPHICSPRO,
  WorkspaceImageIngestionProcess_BYOL_GRAPHICS_G4DN,
  WorkspaceImageIngestionProcess_BYOL_GRAPHICS_G4DN_BYOP,
  WorkspaceImageIngestionProcess_BYOL_REGULAR,
  WorkspaceImageIngestionProcess_BYOL_REGULAR_BYOP,
  WorkspaceImageIngestionProcess_BYOL_REGULAR_WSP,
  WorkspaceImageIngestionProcess'
  #-}