{-# 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.EC2.Types.ResetFpgaImageAttributeName
-- 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.EC2.Types.ResetFpgaImageAttributeName
  ( ResetFpgaImageAttributeName
      ( ..,
        ResetFpgaImageAttributeName_LoadPermission
      ),
  )
where

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

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

pattern ResetFpgaImageAttributeName_LoadPermission :: ResetFpgaImageAttributeName
pattern $bResetFpgaImageAttributeName_LoadPermission :: ResetFpgaImageAttributeName
$mResetFpgaImageAttributeName_LoadPermission :: forall {r}.
ResetFpgaImageAttributeName -> ((# #) -> r) -> ((# #) -> r) -> r
ResetFpgaImageAttributeName_LoadPermission = ResetFpgaImageAttributeName' "loadPermission"

{-# COMPLETE
  ResetFpgaImageAttributeName_LoadPermission,
  ResetFpgaImageAttributeName'
  #-}