{-# 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.LensStatus
-- 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.LensStatus
  ( LensStatus
      ( ..,
        LensStatus_CURRENT,
        LensStatus_DELETED,
        LensStatus_DEPRECATED,
        LensStatus_NOT_CURRENT,
        LensStatus_UNSHARED
      ),
  )
where

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

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

pattern LensStatus_CURRENT :: LensStatus
pattern $bLensStatus_CURRENT :: LensStatus
$mLensStatus_CURRENT :: forall {r}. LensStatus -> ((# #) -> r) -> ((# #) -> r) -> r
LensStatus_CURRENT = LensStatus' "CURRENT"

pattern LensStatus_DELETED :: LensStatus
pattern $bLensStatus_DELETED :: LensStatus
$mLensStatus_DELETED :: forall {r}. LensStatus -> ((# #) -> r) -> ((# #) -> r) -> r
LensStatus_DELETED = LensStatus' "DELETED"

pattern LensStatus_DEPRECATED :: LensStatus
pattern $bLensStatus_DEPRECATED :: LensStatus
$mLensStatus_DEPRECATED :: forall {r}. LensStatus -> ((# #) -> r) -> ((# #) -> r) -> r
LensStatus_DEPRECATED = LensStatus' "DEPRECATED"

pattern LensStatus_NOT_CURRENT :: LensStatus
pattern $bLensStatus_NOT_CURRENT :: LensStatus
$mLensStatus_NOT_CURRENT :: forall {r}. LensStatus -> ((# #) -> r) -> ((# #) -> r) -> r
LensStatus_NOT_CURRENT = LensStatus' "NOT_CURRENT"

pattern LensStatus_UNSHARED :: LensStatus
pattern $bLensStatus_UNSHARED :: LensStatus
$mLensStatus_UNSHARED :: forall {r}. LensStatus -> ((# #) -> r) -> ((# #) -> r) -> r
LensStatus_UNSHARED = LensStatus' "UNSHARED"

{-# COMPLETE
  LensStatus_CURRENT,
  LensStatus_DELETED,
  LensStatus_DEPRECATED,
  LensStatus_NOT_CURRENT,
  LensStatus_UNSHARED,
  LensStatus'
  #-}