{-# 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.WellArchitected.Types.ImportLensStatus
-- 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.WellArchitected.Types.ImportLensStatus
  ( ImportLensStatus
      ( ..,
        ImportLensStatus_COMPLETE,
        ImportLensStatus_ERROR,
        ImportLensStatus_IN_PROGRESS
      ),
  )
where

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

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

pattern ImportLensStatus_COMPLETE :: ImportLensStatus
pattern $bImportLensStatus_COMPLETE :: ImportLensStatus
$mImportLensStatus_COMPLETE :: forall {r}. ImportLensStatus -> ((# #) -> r) -> ((# #) -> r) -> r
ImportLensStatus_COMPLETE = ImportLensStatus' "COMPLETE"

pattern ImportLensStatus_ERROR :: ImportLensStatus
pattern $bImportLensStatus_ERROR :: ImportLensStatus
$mImportLensStatus_ERROR :: forall {r}. ImportLensStatus -> ((# #) -> r) -> ((# #) -> r) -> r
ImportLensStatus_ERROR = ImportLensStatus' "ERROR"

pattern ImportLensStatus_IN_PROGRESS :: ImportLensStatus
pattern $bImportLensStatus_IN_PROGRESS :: ImportLensStatus
$mImportLensStatus_IN_PROGRESS :: forall {r}. ImportLensStatus -> ((# #) -> r) -> ((# #) -> r) -> r
ImportLensStatus_IN_PROGRESS = ImportLensStatus' "IN_PROGRESS"

{-# COMPLETE
  ImportLensStatus_COMPLETE,
  ImportLensStatus_ERROR,
  ImportLensStatus_IN_PROGRESS,
  ImportLensStatus'
  #-}