{-# 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.Route53.Types.ReusableDelegationSetLimitType
-- 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.Route53.Types.ReusableDelegationSetLimitType
  ( ReusableDelegationSetLimitType
      ( ..,
        ReusableDelegationSetLimitType_MAX_ZONES_BY_REUSABLE_DELEGATION_SET
      ),
  )
where

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

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

pattern ReusableDelegationSetLimitType_MAX_ZONES_BY_REUSABLE_DELEGATION_SET :: ReusableDelegationSetLimitType
pattern $bReusableDelegationSetLimitType_MAX_ZONES_BY_REUSABLE_DELEGATION_SET :: ReusableDelegationSetLimitType
$mReusableDelegationSetLimitType_MAX_ZONES_BY_REUSABLE_DELEGATION_SET :: forall {r}.
ReusableDelegationSetLimitType -> ((# #) -> r) -> ((# #) -> r) -> r
ReusableDelegationSetLimitType_MAX_ZONES_BY_REUSABLE_DELEGATION_SET = ReusableDelegationSetLimitType' "MAX_ZONES_BY_REUSABLE_DELEGATION_SET"

{-# COMPLETE
  ReusableDelegationSetLimitType_MAX_ZONES_BY_REUSABLE_DELEGATION_SET,
  ReusableDelegationSetLimitType'
  #-}