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

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

newtype ReusableDelegationSetLimitType = ReusableDelegationSetLimitType'
  { ReusableDelegationSetLimitType -> Text
fromReusableDelegationSetLimitType ::
      Core.Text
  }
  deriving stock
    ( Int -> ReusableDelegationSetLimitType -> ShowS
[ReusableDelegationSetLimitType] -> ShowS
ReusableDelegationSetLimitType -> String
(Int -> ReusableDelegationSetLimitType -> ShowS)
-> (ReusableDelegationSetLimitType -> String)
-> ([ReusableDelegationSetLimitType] -> ShowS)
-> Show ReusableDelegationSetLimitType
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]
(Int -> ReadS ReusableDelegationSetLimitType)
-> ReadS [ReusableDelegationSetLimitType]
-> ReadPrec ReusableDelegationSetLimitType
-> ReadPrec [ReusableDelegationSetLimitType]
-> Read 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
(ReusableDelegationSetLimitType
 -> ReusableDelegationSetLimitType -> Bool)
-> (ReusableDelegationSetLimitType
    -> ReusableDelegationSetLimitType -> Bool)
-> Eq ReusableDelegationSetLimitType
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
Eq ReusableDelegationSetLimitType
-> (ReusableDelegationSetLimitType
    -> ReusableDelegationSetLimitType -> Ordering)
-> (ReusableDelegationSetLimitType
    -> ReusableDelegationSetLimitType -> Bool)
-> (ReusableDelegationSetLimitType
    -> ReusableDelegationSetLimitType -> Bool)
-> (ReusableDelegationSetLimitType
    -> ReusableDelegationSetLimitType -> Bool)
-> (ReusableDelegationSetLimitType
    -> ReusableDelegationSetLimitType -> Bool)
-> (ReusableDelegationSetLimitType
    -> ReusableDelegationSetLimitType
    -> ReusableDelegationSetLimitType)
-> (ReusableDelegationSetLimitType
    -> ReusableDelegationSetLimitType
    -> ReusableDelegationSetLimitType)
-> Ord 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
$cp1Ord :: Eq ReusableDelegationSetLimitType
Prelude.Ord,
      (forall x.
 ReusableDelegationSetLimitType
 -> Rep ReusableDelegationSetLimitType x)
-> (forall x.
    Rep ReusableDelegationSetLimitType x
    -> ReusableDelegationSetLimitType)
-> Generic ReusableDelegationSetLimitType
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
    ( Int -> ReusableDelegationSetLimitType -> Int
ReusableDelegationSetLimitType -> Int
(Int -> ReusableDelegationSetLimitType -> Int)
-> (ReusableDelegationSetLimitType -> Int)
-> Hashable ReusableDelegationSetLimitType
forall 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 -> ()
(ReusableDelegationSetLimitType -> ())
-> NFData ReusableDelegationSetLimitType
forall a. (a -> ()) -> NFData a
rnf :: ReusableDelegationSetLimitType -> ()
$crnf :: ReusableDelegationSetLimitType -> ()
Prelude.NFData,
      Text -> Either String ReusableDelegationSetLimitType
(Text -> Either String ReusableDelegationSetLimitType)
-> FromText ReusableDelegationSetLimitType
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String ReusableDelegationSetLimitType
$cfromText :: Text -> Either String ReusableDelegationSetLimitType
Core.FromText,
      ReusableDelegationSetLimitType -> Text
(ReusableDelegationSetLimitType -> Text)
-> ToText ReusableDelegationSetLimitType
forall a. (a -> Text) -> ToText a
toText :: ReusableDelegationSetLimitType -> Text
$ctoText :: ReusableDelegationSetLimitType -> Text
Core.ToText,
      ReusableDelegationSetLimitType -> ByteString
(ReusableDelegationSetLimitType -> ByteString)
-> ToByteString ReusableDelegationSetLimitType
forall a. (a -> ByteString) -> ToByteString a
toBS :: ReusableDelegationSetLimitType -> ByteString
$ctoBS :: ReusableDelegationSetLimitType -> ByteString
Core.ToByteString,
      ReusableDelegationSetLimitType -> ByteStringBuilder
(ReusableDelegationSetLimitType -> ByteStringBuilder)
-> ToLog ReusableDelegationSetLimitType
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: ReusableDelegationSetLimitType -> ByteStringBuilder
$cbuild :: ReusableDelegationSetLimitType -> ByteStringBuilder
Core.ToLog,
      HeaderName -> ReusableDelegationSetLimitType -> [Header]
(HeaderName -> ReusableDelegationSetLimitType -> [Header])
-> ToHeader ReusableDelegationSetLimitType
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> ReusableDelegationSetLimitType -> [Header]
$ctoHeader :: HeaderName -> ReusableDelegationSetLimitType -> [Header]
Core.ToHeader,
      ReusableDelegationSetLimitType -> QueryString
(ReusableDelegationSetLimitType -> QueryString)
-> ToQuery ReusableDelegationSetLimitType
forall a. (a -> QueryString) -> ToQuery a
toQuery :: ReusableDelegationSetLimitType -> QueryString
$ctoQuery :: ReusableDelegationSetLimitType -> QueryString
Core.ToQuery,
      Value -> Parser [ReusableDelegationSetLimitType]
Value -> Parser ReusableDelegationSetLimitType
(Value -> Parser ReusableDelegationSetLimitType)
-> (Value -> Parser [ReusableDelegationSetLimitType])
-> FromJSON 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
Core.FromJSON,
      FromJSONKeyFunction [ReusableDelegationSetLimitType]
FromJSONKeyFunction ReusableDelegationSetLimitType
FromJSONKeyFunction ReusableDelegationSetLimitType
-> FromJSONKeyFunction [ReusableDelegationSetLimitType]
-> FromJSONKey ReusableDelegationSetLimitType
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [ReusableDelegationSetLimitType]
$cfromJSONKeyList :: FromJSONKeyFunction [ReusableDelegationSetLimitType]
fromJSONKey :: FromJSONKeyFunction ReusableDelegationSetLimitType
$cfromJSONKey :: FromJSONKeyFunction ReusableDelegationSetLimitType
Core.FromJSONKey,
      [ReusableDelegationSetLimitType] -> Encoding
[ReusableDelegationSetLimitType] -> Value
ReusableDelegationSetLimitType -> Encoding
ReusableDelegationSetLimitType -> Value
(ReusableDelegationSetLimitType -> Value)
-> (ReusableDelegationSetLimitType -> Encoding)
-> ([ReusableDelegationSetLimitType] -> Value)
-> ([ReusableDelegationSetLimitType] -> Encoding)
-> ToJSON ReusableDelegationSetLimitType
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
Core.ToJSON,
      ToJSONKeyFunction [ReusableDelegationSetLimitType]
ToJSONKeyFunction ReusableDelegationSetLimitType
ToJSONKeyFunction ReusableDelegationSetLimitType
-> ToJSONKeyFunction [ReusableDelegationSetLimitType]
-> ToJSONKey ReusableDelegationSetLimitType
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [ReusableDelegationSetLimitType]
$ctoJSONKeyList :: ToJSONKeyFunction [ReusableDelegationSetLimitType]
toJSONKey :: ToJSONKeyFunction ReusableDelegationSetLimitType
$ctoJSONKey :: ToJSONKeyFunction ReusableDelegationSetLimitType
Core.ToJSONKey,
      [Node] -> Either String ReusableDelegationSetLimitType
([Node] -> Either String ReusableDelegationSetLimitType)
-> FromXML ReusableDelegationSetLimitType
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String ReusableDelegationSetLimitType
$cparseXML :: [Node] -> Either String ReusableDelegationSetLimitType
Core.FromXML,
      ReusableDelegationSetLimitType -> XML
(ReusableDelegationSetLimitType -> XML)
-> ToXML ReusableDelegationSetLimitType
forall a. (a -> XML) -> ToXML a
toXML :: ReusableDelegationSetLimitType -> XML
$ctoXML :: ReusableDelegationSetLimitType -> XML
Core.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 -> (Void# -> r) -> (Void# -> 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'
  #-}