{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.LakeFormation.Types.AllRowsWildcard
-- 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.LakeFormation.Types.AllRowsWildcard where

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

-- | A structure that you pass to indicate you want all rows in a filter.
--
-- /See:/ 'newAllRowsWildcard' smart constructor.
data AllRowsWildcard = AllRowsWildcard'
  {
  }
  deriving (AllRowsWildcard -> AllRowsWildcard -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: AllRowsWildcard -> AllRowsWildcard -> Bool
$c/= :: AllRowsWildcard -> AllRowsWildcard -> Bool
== :: AllRowsWildcard -> AllRowsWildcard -> Bool
$c== :: AllRowsWildcard -> AllRowsWildcard -> Bool
Prelude.Eq, ReadPrec [AllRowsWildcard]
ReadPrec AllRowsWildcard
Int -> ReadS AllRowsWildcard
ReadS [AllRowsWildcard]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [AllRowsWildcard]
$creadListPrec :: ReadPrec [AllRowsWildcard]
readPrec :: ReadPrec AllRowsWildcard
$creadPrec :: ReadPrec AllRowsWildcard
readList :: ReadS [AllRowsWildcard]
$creadList :: ReadS [AllRowsWildcard]
readsPrec :: Int -> ReadS AllRowsWildcard
$creadsPrec :: Int -> ReadS AllRowsWildcard
Prelude.Read, Int -> AllRowsWildcard -> ShowS
[AllRowsWildcard] -> ShowS
AllRowsWildcard -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [AllRowsWildcard] -> ShowS
$cshowList :: [AllRowsWildcard] -> ShowS
show :: AllRowsWildcard -> String
$cshow :: AllRowsWildcard -> String
showsPrec :: Int -> AllRowsWildcard -> ShowS
$cshowsPrec :: Int -> AllRowsWildcard -> ShowS
Prelude.Show, forall x. Rep AllRowsWildcard x -> AllRowsWildcard
forall x. AllRowsWildcard -> Rep AllRowsWildcard x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep AllRowsWildcard x -> AllRowsWildcard
$cfrom :: forall x. AllRowsWildcard -> Rep AllRowsWildcard x
Prelude.Generic)

-- |
-- Create a value of 'AllRowsWildcard' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
newAllRowsWildcard ::
  AllRowsWildcard
newAllRowsWildcard :: AllRowsWildcard
newAllRowsWildcard = AllRowsWildcard
AllRowsWildcard'

instance Data.FromJSON AllRowsWildcard where
  parseJSON :: Value -> Parser AllRowsWildcard
parseJSON =
    forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
      String
"AllRowsWildcard"
      (\Object
x -> forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure AllRowsWildcard
AllRowsWildcard')

instance Prelude.Hashable AllRowsWildcard where
  hashWithSalt :: Int -> AllRowsWildcard -> Int
hashWithSalt Int
_salt AllRowsWildcard
_ =
    Int
_salt forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` ()

instance Prelude.NFData AllRowsWildcard where
  rnf :: AllRowsWildcard -> ()
rnf AllRowsWildcard
_ = ()

instance Data.ToJSON AllRowsWildcard where
  toJSON :: AllRowsWildcard -> Value
toJSON = forall a b. a -> b -> a
Prelude.const (Object -> Value
Data.Object forall a. Monoid a => a
Prelude.mempty)