{-# 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.StudioPersona
-- 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.StudioPersona
  ( StudioPersona
      ( ..,
        StudioPersona_ADMINISTRATOR
      ),
  )
where

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

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

pattern StudioPersona_ADMINISTRATOR :: StudioPersona
pattern $bStudioPersona_ADMINISTRATOR :: StudioPersona
$mStudioPersona_ADMINISTRATOR :: forall {r}. StudioPersona -> ((# #) -> r) -> ((# #) -> r) -> r
StudioPersona_ADMINISTRATOR = StudioPersona' "ADMINISTRATOR"

{-# COMPLETE
  StudioPersona_ADMINISTRATOR,
  StudioPersona'
  #-}