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