{-# 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.PrivateNetworks.Types.NetworkResourceFilterKeys
-- 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.PrivateNetworks.Types.NetworkResourceFilterKeys
  ( NetworkResourceFilterKeys
      ( ..,
        NetworkResourceFilterKeys_ORDER,
        NetworkResourceFilterKeys_STATUS
      ),
  )
where

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

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

pattern NetworkResourceFilterKeys_ORDER :: NetworkResourceFilterKeys
pattern $bNetworkResourceFilterKeys_ORDER :: NetworkResourceFilterKeys
$mNetworkResourceFilterKeys_ORDER :: forall {r}.
NetworkResourceFilterKeys -> ((# #) -> r) -> ((# #) -> r) -> r
NetworkResourceFilterKeys_ORDER = NetworkResourceFilterKeys' "ORDER"

pattern NetworkResourceFilterKeys_STATUS :: NetworkResourceFilterKeys
pattern $bNetworkResourceFilterKeys_STATUS :: NetworkResourceFilterKeys
$mNetworkResourceFilterKeys_STATUS :: forall {r}.
NetworkResourceFilterKeys -> ((# #) -> r) -> ((# #) -> r) -> r
NetworkResourceFilterKeys_STATUS = NetworkResourceFilterKeys' "STATUS"

{-# COMPLETE
  NetworkResourceFilterKeys_ORDER,
  NetworkResourceFilterKeys_STATUS,
  NetworkResourceFilterKeys'
  #-}