{-# 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.ServiceCatalog.Types.ProvisioningArtifactPropertyName
-- Copyright   : (c) 2013-2021 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.ServiceCatalog.Types.ProvisioningArtifactPropertyName
  ( ProvisioningArtifactPropertyName
      ( ..,
        ProvisioningArtifactPropertyName_Id
      ),
  )
where

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

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

pattern ProvisioningArtifactPropertyName_Id :: ProvisioningArtifactPropertyName
pattern $bProvisioningArtifactPropertyName_Id :: ProvisioningArtifactPropertyName
$mProvisioningArtifactPropertyName_Id :: forall r.
ProvisioningArtifactPropertyName
-> (Void# -> r) -> (Void# -> r) -> r
ProvisioningArtifactPropertyName_Id = ProvisioningArtifactPropertyName' "Id"

{-# COMPLETE
  ProvisioningArtifactPropertyName_Id,
  ProvisioningArtifactPropertyName'
  #-}