{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.AlexaBusiness.Types.Feature
( Feature
( ..,
Feature_ALL,
Feature_BLUETOOTH,
Feature_LISTS,
Feature_NETWORK_PROFILE,
Feature_NOTIFICATIONS,
Feature_SETTINGS,
Feature_SKILLS,
Feature_VOLUME
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype Feature = Feature' {Feature -> Text
fromFeature :: Data.Text}
deriving stock
( Int -> Feature -> ShowS
[Feature] -> ShowS
Feature -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Feature] -> ShowS
$cshowList :: [Feature] -> ShowS
show :: Feature -> String
$cshow :: Feature -> String
showsPrec :: Int -> Feature -> ShowS
$cshowsPrec :: Int -> Feature -> ShowS
Prelude.Show,
ReadPrec [Feature]
ReadPrec Feature
Int -> ReadS Feature
ReadS [Feature]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [Feature]
$creadListPrec :: ReadPrec [Feature]
readPrec :: ReadPrec Feature
$creadPrec :: ReadPrec Feature
readList :: ReadS [Feature]
$creadList :: ReadS [Feature]
readsPrec :: Int -> ReadS Feature
$creadsPrec :: Int -> ReadS Feature
Prelude.Read,
Feature -> Feature -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Feature -> Feature -> Bool
$c/= :: Feature -> Feature -> Bool
== :: Feature -> Feature -> Bool
$c== :: Feature -> Feature -> Bool
Prelude.Eq,
Eq Feature
Feature -> Feature -> Bool
Feature -> Feature -> Ordering
Feature -> Feature -> Feature
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 :: Feature -> Feature -> Feature
$cmin :: Feature -> Feature -> Feature
max :: Feature -> Feature -> Feature
$cmax :: Feature -> Feature -> Feature
>= :: Feature -> Feature -> Bool
$c>= :: Feature -> Feature -> Bool
> :: Feature -> Feature -> Bool
$c> :: Feature -> Feature -> Bool
<= :: Feature -> Feature -> Bool
$c<= :: Feature -> Feature -> Bool
< :: Feature -> Feature -> Bool
$c< :: Feature -> Feature -> Bool
compare :: Feature -> Feature -> Ordering
$ccompare :: Feature -> Feature -> Ordering
Prelude.Ord,
forall x. Rep Feature x -> Feature
forall x. Feature -> Rep Feature x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Feature x -> Feature
$cfrom :: forall x. Feature -> Rep Feature x
Prelude.Generic
)
deriving newtype
( Eq Feature
Int -> Feature -> Int
Feature -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: Feature -> Int
$chash :: Feature -> Int
hashWithSalt :: Int -> Feature -> Int
$chashWithSalt :: Int -> Feature -> Int
Prelude.Hashable,
Feature -> ()
forall a. (a -> ()) -> NFData a
rnf :: Feature -> ()
$crnf :: Feature -> ()
Prelude.NFData,
Text -> Either String Feature
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String Feature
$cfromText :: Text -> Either String Feature
Data.FromText,
Feature -> Text
forall a. (a -> Text) -> ToText a
toText :: Feature -> Text
$ctoText :: Feature -> Text
Data.ToText,
Feature -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: Feature -> ByteString
$ctoBS :: Feature -> ByteString
Data.ToByteString,
Feature -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: Feature -> ByteStringBuilder
$cbuild :: Feature -> ByteStringBuilder
Data.ToLog,
HeaderName -> Feature -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> Feature -> [Header]
$ctoHeader :: HeaderName -> Feature -> [Header]
Data.ToHeader,
Feature -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: Feature -> QueryString
$ctoQuery :: Feature -> QueryString
Data.ToQuery,
Value -> Parser [Feature]
Value -> Parser Feature
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [Feature]
$cparseJSONList :: Value -> Parser [Feature]
parseJSON :: Value -> Parser Feature
$cparseJSON :: Value -> Parser Feature
Data.FromJSON,
FromJSONKeyFunction [Feature]
FromJSONKeyFunction Feature
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [Feature]
$cfromJSONKeyList :: FromJSONKeyFunction [Feature]
fromJSONKey :: FromJSONKeyFunction Feature
$cfromJSONKey :: FromJSONKeyFunction Feature
Data.FromJSONKey,
[Feature] -> Encoding
[Feature] -> Value
Feature -> Encoding
Feature -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [Feature] -> Encoding
$ctoEncodingList :: [Feature] -> Encoding
toJSONList :: [Feature] -> Value
$ctoJSONList :: [Feature] -> Value
toEncoding :: Feature -> Encoding
$ctoEncoding :: Feature -> Encoding
toJSON :: Feature -> Value
$ctoJSON :: Feature -> Value
Data.ToJSON,
ToJSONKeyFunction [Feature]
ToJSONKeyFunction Feature
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [Feature]
$ctoJSONKeyList :: ToJSONKeyFunction [Feature]
toJSONKey :: ToJSONKeyFunction Feature
$ctoJSONKey :: ToJSONKeyFunction Feature
Data.ToJSONKey,
[Node] -> Either String Feature
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String Feature
$cparseXML :: [Node] -> Either String Feature
Data.FromXML,
Feature -> XML
forall a. (a -> XML) -> ToXML a
toXML :: Feature -> XML
$ctoXML :: Feature -> XML
Data.ToXML
)
pattern Feature_ALL :: Feature
pattern $bFeature_ALL :: Feature
$mFeature_ALL :: forall {r}. Feature -> ((# #) -> r) -> ((# #) -> r) -> r
Feature_ALL = Feature' "ALL"
pattern Feature_BLUETOOTH :: Feature
pattern $bFeature_BLUETOOTH :: Feature
$mFeature_BLUETOOTH :: forall {r}. Feature -> ((# #) -> r) -> ((# #) -> r) -> r
Feature_BLUETOOTH = Feature' "BLUETOOTH"
pattern Feature_LISTS :: Feature
pattern $bFeature_LISTS :: Feature
$mFeature_LISTS :: forall {r}. Feature -> ((# #) -> r) -> ((# #) -> r) -> r
Feature_LISTS = Feature' "LISTS"
pattern Feature_NETWORK_PROFILE :: Feature
pattern $bFeature_NETWORK_PROFILE :: Feature
$mFeature_NETWORK_PROFILE :: forall {r}. Feature -> ((# #) -> r) -> ((# #) -> r) -> r
Feature_NETWORK_PROFILE = Feature' "NETWORK_PROFILE"
pattern Feature_NOTIFICATIONS :: Feature
pattern $bFeature_NOTIFICATIONS :: Feature
$mFeature_NOTIFICATIONS :: forall {r}. Feature -> ((# #) -> r) -> ((# #) -> r) -> r
Feature_NOTIFICATIONS = Feature' "NOTIFICATIONS"
pattern Feature_SETTINGS :: Feature
pattern $bFeature_SETTINGS :: Feature
$mFeature_SETTINGS :: forall {r}. Feature -> ((# #) -> r) -> ((# #) -> r) -> r
Feature_SETTINGS = Feature' "SETTINGS"
pattern Feature_SKILLS :: Feature
pattern $bFeature_SKILLS :: Feature
$mFeature_SKILLS :: forall {r}. Feature -> ((# #) -> r) -> ((# #) -> r) -> r
Feature_SKILLS = Feature' "SKILLS"
pattern Feature_VOLUME :: Feature
pattern $bFeature_VOLUME :: Feature
$mFeature_VOLUME :: forall {r}. Feature -> ((# #) -> r) -> ((# #) -> r) -> r
Feature_VOLUME = Feature' "VOLUME"
{-# COMPLETE
Feature_ALL,
Feature_BLUETOOTH,
Feature_LISTS,
Feature_NETWORK_PROFILE,
Feature_NOTIFICATIONS,
Feature_SETTINGS,
Feature_SKILLS,
Feature_VOLUME,
Feature'
#-}