{-# 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.CostExplorer.Types.CostCategoryInheritedValueDimensionName
-- 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.CostExplorer.Types.CostCategoryInheritedValueDimensionName
  ( CostCategoryInheritedValueDimensionName
      ( ..,
        CostCategoryInheritedValueDimensionName_LINKED_ACCOUNT_NAME,
        CostCategoryInheritedValueDimensionName_TAG
      ),
  )
where

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

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

pattern CostCategoryInheritedValueDimensionName_LINKED_ACCOUNT_NAME :: CostCategoryInheritedValueDimensionName
pattern $bCostCategoryInheritedValueDimensionName_LINKED_ACCOUNT_NAME :: CostCategoryInheritedValueDimensionName
$mCostCategoryInheritedValueDimensionName_LINKED_ACCOUNT_NAME :: forall r.
CostCategoryInheritedValueDimensionName
-> (Void# -> r) -> (Void# -> r) -> r
CostCategoryInheritedValueDimensionName_LINKED_ACCOUNT_NAME = CostCategoryInheritedValueDimensionName' "LINKED_ACCOUNT_NAME"

pattern CostCategoryInheritedValueDimensionName_TAG :: CostCategoryInheritedValueDimensionName
pattern $bCostCategoryInheritedValueDimensionName_TAG :: CostCategoryInheritedValueDimensionName
$mCostCategoryInheritedValueDimensionName_TAG :: forall r.
CostCategoryInheritedValueDimensionName
-> (Void# -> r) -> (Void# -> r) -> r
CostCategoryInheritedValueDimensionName_TAG = CostCategoryInheritedValueDimensionName' "TAG"

{-# COMPLETE
  CostCategoryInheritedValueDimensionName_LINKED_ACCOUNT_NAME,
  CostCategoryInheritedValueDimensionName_TAG,
  CostCategoryInheritedValueDimensionName'
  #-}