{-# 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.Config.Types.AggregateConformancePackComplianceSummaryGroupKey
-- 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.Config.Types.AggregateConformancePackComplianceSummaryGroupKey
  ( AggregateConformancePackComplianceSummaryGroupKey
      ( ..,
        AggregateConformancePackComplianceSummaryGroupKey_ACCOUNT_ID,
        AggregateConformancePackComplianceSummaryGroupKey_AWS_REGION
      ),
  )
where

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

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

pattern AggregateConformancePackComplianceSummaryGroupKey_ACCOUNT_ID :: AggregateConformancePackComplianceSummaryGroupKey
pattern $bAggregateConformancePackComplianceSummaryGroupKey_ACCOUNT_ID :: AggregateConformancePackComplianceSummaryGroupKey
$mAggregateConformancePackComplianceSummaryGroupKey_ACCOUNT_ID :: forall r.
AggregateConformancePackComplianceSummaryGroupKey
-> (Void# -> r) -> (Void# -> r) -> r
AggregateConformancePackComplianceSummaryGroupKey_ACCOUNT_ID = AggregateConformancePackComplianceSummaryGroupKey' "ACCOUNT_ID"

pattern AggregateConformancePackComplianceSummaryGroupKey_AWS_REGION :: AggregateConformancePackComplianceSummaryGroupKey
pattern $bAggregateConformancePackComplianceSummaryGroupKey_AWS_REGION :: AggregateConformancePackComplianceSummaryGroupKey
$mAggregateConformancePackComplianceSummaryGroupKey_AWS_REGION :: forall r.
AggregateConformancePackComplianceSummaryGroupKey
-> (Void# -> r) -> (Void# -> r) -> r
AggregateConformancePackComplianceSummaryGroupKey_AWS_REGION = AggregateConformancePackComplianceSummaryGroupKey' "AWS_REGION"

{-# COMPLETE
  AggregateConformancePackComplianceSummaryGroupKey_ACCOUNT_ID,
  AggregateConformancePackComplianceSummaryGroupKey_AWS_REGION,
  AggregateConformancePackComplianceSummaryGroupKey'
  #-}