{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.Panorama.Types.DeviceBrand
( DeviceBrand
( ..,
DeviceBrand_AWS_PANORAMA,
DeviceBrand_LENOVO
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype DeviceBrand = DeviceBrand'
{ DeviceBrand -> Text
fromDeviceBrand ::
Data.Text
}
deriving stock
( Int -> DeviceBrand -> ShowS
[DeviceBrand] -> ShowS
DeviceBrand -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DeviceBrand] -> ShowS
$cshowList :: [DeviceBrand] -> ShowS
show :: DeviceBrand -> String
$cshow :: DeviceBrand -> String
showsPrec :: Int -> DeviceBrand -> ShowS
$cshowsPrec :: Int -> DeviceBrand -> ShowS
Prelude.Show,
ReadPrec [DeviceBrand]
ReadPrec DeviceBrand
Int -> ReadS DeviceBrand
ReadS [DeviceBrand]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DeviceBrand]
$creadListPrec :: ReadPrec [DeviceBrand]
readPrec :: ReadPrec DeviceBrand
$creadPrec :: ReadPrec DeviceBrand
readList :: ReadS [DeviceBrand]
$creadList :: ReadS [DeviceBrand]
readsPrec :: Int -> ReadS DeviceBrand
$creadsPrec :: Int -> ReadS DeviceBrand
Prelude.Read,
DeviceBrand -> DeviceBrand -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DeviceBrand -> DeviceBrand -> Bool
$c/= :: DeviceBrand -> DeviceBrand -> Bool
== :: DeviceBrand -> DeviceBrand -> Bool
$c== :: DeviceBrand -> DeviceBrand -> Bool
Prelude.Eq,
Eq DeviceBrand
DeviceBrand -> DeviceBrand -> Bool
DeviceBrand -> DeviceBrand -> Ordering
DeviceBrand -> DeviceBrand -> DeviceBrand
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 :: DeviceBrand -> DeviceBrand -> DeviceBrand
$cmin :: DeviceBrand -> DeviceBrand -> DeviceBrand
max :: DeviceBrand -> DeviceBrand -> DeviceBrand
$cmax :: DeviceBrand -> DeviceBrand -> DeviceBrand
>= :: DeviceBrand -> DeviceBrand -> Bool
$c>= :: DeviceBrand -> DeviceBrand -> Bool
> :: DeviceBrand -> DeviceBrand -> Bool
$c> :: DeviceBrand -> DeviceBrand -> Bool
<= :: DeviceBrand -> DeviceBrand -> Bool
$c<= :: DeviceBrand -> DeviceBrand -> Bool
< :: DeviceBrand -> DeviceBrand -> Bool
$c< :: DeviceBrand -> DeviceBrand -> Bool
compare :: DeviceBrand -> DeviceBrand -> Ordering
$ccompare :: DeviceBrand -> DeviceBrand -> Ordering
Prelude.Ord,
forall x. Rep DeviceBrand x -> DeviceBrand
forall x. DeviceBrand -> Rep DeviceBrand x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep DeviceBrand x -> DeviceBrand
$cfrom :: forall x. DeviceBrand -> Rep DeviceBrand x
Prelude.Generic
)
deriving newtype
( Eq DeviceBrand
Int -> DeviceBrand -> Int
DeviceBrand -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: DeviceBrand -> Int
$chash :: DeviceBrand -> Int
hashWithSalt :: Int -> DeviceBrand -> Int
$chashWithSalt :: Int -> DeviceBrand -> Int
Prelude.Hashable,
DeviceBrand -> ()
forall a. (a -> ()) -> NFData a
rnf :: DeviceBrand -> ()
$crnf :: DeviceBrand -> ()
Prelude.NFData,
Text -> Either String DeviceBrand
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String DeviceBrand
$cfromText :: Text -> Either String DeviceBrand
Data.FromText,
DeviceBrand -> Text
forall a. (a -> Text) -> ToText a
toText :: DeviceBrand -> Text
$ctoText :: DeviceBrand -> Text
Data.ToText,
DeviceBrand -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: DeviceBrand -> ByteString
$ctoBS :: DeviceBrand -> ByteString
Data.ToByteString,
DeviceBrand -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: DeviceBrand -> ByteStringBuilder
$cbuild :: DeviceBrand -> ByteStringBuilder
Data.ToLog,
HeaderName -> DeviceBrand -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> DeviceBrand -> [Header]
$ctoHeader :: HeaderName -> DeviceBrand -> [Header]
Data.ToHeader,
DeviceBrand -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: DeviceBrand -> QueryString
$ctoQuery :: DeviceBrand -> QueryString
Data.ToQuery,
Value -> Parser [DeviceBrand]
Value -> Parser DeviceBrand
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [DeviceBrand]
$cparseJSONList :: Value -> Parser [DeviceBrand]
parseJSON :: Value -> Parser DeviceBrand
$cparseJSON :: Value -> Parser DeviceBrand
Data.FromJSON,
FromJSONKeyFunction [DeviceBrand]
FromJSONKeyFunction DeviceBrand
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [DeviceBrand]
$cfromJSONKeyList :: FromJSONKeyFunction [DeviceBrand]
fromJSONKey :: FromJSONKeyFunction DeviceBrand
$cfromJSONKey :: FromJSONKeyFunction DeviceBrand
Data.FromJSONKey,
[DeviceBrand] -> Encoding
[DeviceBrand] -> Value
DeviceBrand -> Encoding
DeviceBrand -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [DeviceBrand] -> Encoding
$ctoEncodingList :: [DeviceBrand] -> Encoding
toJSONList :: [DeviceBrand] -> Value
$ctoJSONList :: [DeviceBrand] -> Value
toEncoding :: DeviceBrand -> Encoding
$ctoEncoding :: DeviceBrand -> Encoding
toJSON :: DeviceBrand -> Value
$ctoJSON :: DeviceBrand -> Value
Data.ToJSON,
ToJSONKeyFunction [DeviceBrand]
ToJSONKeyFunction DeviceBrand
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [DeviceBrand]
$ctoJSONKeyList :: ToJSONKeyFunction [DeviceBrand]
toJSONKey :: ToJSONKeyFunction DeviceBrand
$ctoJSONKey :: ToJSONKeyFunction DeviceBrand
Data.ToJSONKey,
[Node] -> Either String DeviceBrand
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String DeviceBrand
$cparseXML :: [Node] -> Either String DeviceBrand
Data.FromXML,
DeviceBrand -> XML
forall a. (a -> XML) -> ToXML a
toXML :: DeviceBrand -> XML
$ctoXML :: DeviceBrand -> XML
Data.ToXML
)
pattern DeviceBrand_AWS_PANORAMA :: DeviceBrand
pattern $bDeviceBrand_AWS_PANORAMA :: DeviceBrand
$mDeviceBrand_AWS_PANORAMA :: forall {r}. DeviceBrand -> ((# #) -> r) -> ((# #) -> r) -> r
DeviceBrand_AWS_PANORAMA = DeviceBrand' "AWS_PANORAMA"
pattern DeviceBrand_LENOVO :: DeviceBrand
pattern $bDeviceBrand_LENOVO :: DeviceBrand
$mDeviceBrand_LENOVO :: forall {r}. DeviceBrand -> ((# #) -> r) -> ((# #) -> r) -> r
DeviceBrand_LENOVO = DeviceBrand' "LENOVO"
{-# COMPLETE
DeviceBrand_AWS_PANORAMA,
DeviceBrand_LENOVO,
DeviceBrand'
#-}