{-# 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-2021 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.WorkSpaces.Types.WorkspaceImageIngestionProcess
  ( WorkspaceImageIngestionProcess
      ( ..,
        WorkspaceImageIngestionProcess_BYOL_GRAPHICS,
        WorkspaceImageIngestionProcess_BYOL_GRAPHICSPRO,
        WorkspaceImageIngestionProcess_BYOL_REGULAR,
        WorkspaceImageIngestionProcess_BYOL_REGULAR_WSP
      ),
  )
where

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

newtype WorkspaceImageIngestionProcess = WorkspaceImageIngestionProcess'
  { WorkspaceImageIngestionProcess -> Text
fromWorkspaceImageIngestionProcess ::
      Core.Text
  }
  deriving stock
    ( Int -> WorkspaceImageIngestionProcess -> ShowS
[WorkspaceImageIngestionProcess] -> ShowS
WorkspaceImageIngestionProcess -> String
(Int -> WorkspaceImageIngestionProcess -> ShowS)
-> (WorkspaceImageIngestionProcess -> String)
-> ([WorkspaceImageIngestionProcess] -> ShowS)
-> Show WorkspaceImageIngestionProcess
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]
(Int -> ReadS WorkspaceImageIngestionProcess)
-> ReadS [WorkspaceImageIngestionProcess]
-> ReadPrec WorkspaceImageIngestionProcess
-> ReadPrec [WorkspaceImageIngestionProcess]
-> Read 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
(WorkspaceImageIngestionProcess
 -> WorkspaceImageIngestionProcess -> Bool)
-> (WorkspaceImageIngestionProcess
    -> WorkspaceImageIngestionProcess -> Bool)
-> Eq WorkspaceImageIngestionProcess
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
Eq WorkspaceImageIngestionProcess
-> (WorkspaceImageIngestionProcess
    -> WorkspaceImageIngestionProcess -> Ordering)
-> (WorkspaceImageIngestionProcess
    -> WorkspaceImageIngestionProcess -> Bool)
-> (WorkspaceImageIngestionProcess
    -> WorkspaceImageIngestionProcess -> Bool)
-> (WorkspaceImageIngestionProcess
    -> WorkspaceImageIngestionProcess -> Bool)
-> (WorkspaceImageIngestionProcess
    -> WorkspaceImageIngestionProcess -> Bool)
-> (WorkspaceImageIngestionProcess
    -> WorkspaceImageIngestionProcess
    -> WorkspaceImageIngestionProcess)
-> (WorkspaceImageIngestionProcess
    -> WorkspaceImageIngestionProcess
    -> WorkspaceImageIngestionProcess)
-> Ord 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
$cp1Ord :: Eq WorkspaceImageIngestionProcess
Prelude.Ord,
      (forall x.
 WorkspaceImageIngestionProcess
 -> Rep WorkspaceImageIngestionProcess x)
-> (forall x.
    Rep WorkspaceImageIngestionProcess x
    -> WorkspaceImageIngestionProcess)
-> Generic WorkspaceImageIngestionProcess
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
    ( Int -> WorkspaceImageIngestionProcess -> Int
WorkspaceImageIngestionProcess -> Int
(Int -> WorkspaceImageIngestionProcess -> Int)
-> (WorkspaceImageIngestionProcess -> Int)
-> Hashable WorkspaceImageIngestionProcess
forall 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 -> ()
(WorkspaceImageIngestionProcess -> ())
-> NFData WorkspaceImageIngestionProcess
forall a. (a -> ()) -> NFData a
rnf :: WorkspaceImageIngestionProcess -> ()
$crnf :: WorkspaceImageIngestionProcess -> ()
Prelude.NFData,
      Text -> Either String WorkspaceImageIngestionProcess
(Text -> Either String WorkspaceImageIngestionProcess)
-> FromText WorkspaceImageIngestionProcess
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String WorkspaceImageIngestionProcess
$cfromText :: Text -> Either String WorkspaceImageIngestionProcess
Core.FromText,
      WorkspaceImageIngestionProcess -> Text
(WorkspaceImageIngestionProcess -> Text)
-> ToText WorkspaceImageIngestionProcess
forall a. (a -> Text) -> ToText a
toText :: WorkspaceImageIngestionProcess -> Text
$ctoText :: WorkspaceImageIngestionProcess -> Text
Core.ToText,
      WorkspaceImageIngestionProcess -> ByteString
(WorkspaceImageIngestionProcess -> ByteString)
-> ToByteString WorkspaceImageIngestionProcess
forall a. (a -> ByteString) -> ToByteString a
toBS :: WorkspaceImageIngestionProcess -> ByteString
$ctoBS :: WorkspaceImageIngestionProcess -> ByteString
Core.ToByteString,
      WorkspaceImageIngestionProcess -> ByteStringBuilder
(WorkspaceImageIngestionProcess -> ByteStringBuilder)
-> ToLog WorkspaceImageIngestionProcess
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: WorkspaceImageIngestionProcess -> ByteStringBuilder
$cbuild :: WorkspaceImageIngestionProcess -> ByteStringBuilder
Core.ToLog,
      HeaderName -> WorkspaceImageIngestionProcess -> [Header]
(HeaderName -> WorkspaceImageIngestionProcess -> [Header])
-> ToHeader WorkspaceImageIngestionProcess
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> WorkspaceImageIngestionProcess -> [Header]
$ctoHeader :: HeaderName -> WorkspaceImageIngestionProcess -> [Header]
Core.ToHeader,
      WorkspaceImageIngestionProcess -> QueryString
(WorkspaceImageIngestionProcess -> QueryString)
-> ToQuery WorkspaceImageIngestionProcess
forall a. (a -> QueryString) -> ToQuery a
toQuery :: WorkspaceImageIngestionProcess -> QueryString
$ctoQuery :: WorkspaceImageIngestionProcess -> QueryString
Core.ToQuery,
      Value -> Parser [WorkspaceImageIngestionProcess]
Value -> Parser WorkspaceImageIngestionProcess
(Value -> Parser WorkspaceImageIngestionProcess)
-> (Value -> Parser [WorkspaceImageIngestionProcess])
-> FromJSON 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
Core.FromJSON,
      FromJSONKeyFunction [WorkspaceImageIngestionProcess]
FromJSONKeyFunction WorkspaceImageIngestionProcess
FromJSONKeyFunction WorkspaceImageIngestionProcess
-> FromJSONKeyFunction [WorkspaceImageIngestionProcess]
-> FromJSONKey WorkspaceImageIngestionProcess
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [WorkspaceImageIngestionProcess]
$cfromJSONKeyList :: FromJSONKeyFunction [WorkspaceImageIngestionProcess]
fromJSONKey :: FromJSONKeyFunction WorkspaceImageIngestionProcess
$cfromJSONKey :: FromJSONKeyFunction WorkspaceImageIngestionProcess
Core.FromJSONKey,
      [WorkspaceImageIngestionProcess] -> Encoding
[WorkspaceImageIngestionProcess] -> Value
WorkspaceImageIngestionProcess -> Encoding
WorkspaceImageIngestionProcess -> Value
(WorkspaceImageIngestionProcess -> Value)
-> (WorkspaceImageIngestionProcess -> Encoding)
-> ([WorkspaceImageIngestionProcess] -> Value)
-> ([WorkspaceImageIngestionProcess] -> Encoding)
-> ToJSON WorkspaceImageIngestionProcess
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
Core.ToJSON,
      ToJSONKeyFunction [WorkspaceImageIngestionProcess]
ToJSONKeyFunction WorkspaceImageIngestionProcess
ToJSONKeyFunction WorkspaceImageIngestionProcess
-> ToJSONKeyFunction [WorkspaceImageIngestionProcess]
-> ToJSONKey WorkspaceImageIngestionProcess
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [WorkspaceImageIngestionProcess]
$ctoJSONKeyList :: ToJSONKeyFunction [WorkspaceImageIngestionProcess]
toJSONKey :: ToJSONKeyFunction WorkspaceImageIngestionProcess
$ctoJSONKey :: ToJSONKeyFunction WorkspaceImageIngestionProcess
Core.ToJSONKey,
      [Node] -> Either String WorkspaceImageIngestionProcess
([Node] -> Either String WorkspaceImageIngestionProcess)
-> FromXML WorkspaceImageIngestionProcess
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String WorkspaceImageIngestionProcess
$cparseXML :: [Node] -> Either String WorkspaceImageIngestionProcess
Core.FromXML,
      WorkspaceImageIngestionProcess -> XML
(WorkspaceImageIngestionProcess -> XML)
-> ToXML WorkspaceImageIngestionProcess
forall a. (a -> XML) -> ToXML a
toXML :: WorkspaceImageIngestionProcess -> XML
$ctoXML :: WorkspaceImageIngestionProcess -> XML
Core.ToXML
    )

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

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

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

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

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