{-# 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.Nimble.Types.LaunchProfilePersona
-- 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.Nimble.Types.LaunchProfilePersona
  ( LaunchProfilePersona
      ( ..,
        LaunchProfilePersona_USER
      ),
  )
where

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

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

pattern LaunchProfilePersona_USER :: LaunchProfilePersona
pattern $bLaunchProfilePersona_USER :: LaunchProfilePersona
$mLaunchProfilePersona_USER :: forall {r}.
LaunchProfilePersona -> ((# #) -> r) -> ((# #) -> r) -> r
LaunchProfilePersona_USER = LaunchProfilePersona' "USER"

{-# COMPLETE
  LaunchProfilePersona_USER,
  LaunchProfilePersona'
  #-}