{-# 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.TableWildcard
-- 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.TableWildcard 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 wildcard object representing every table under a database.
--
-- /See:/ 'newTableWildcard' smart constructor.
data TableWildcard = TableWildcard'
  {
  }
  deriving (TableWildcard -> TableWildcard -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: TableWildcard -> TableWildcard -> Bool
$c/= :: TableWildcard -> TableWildcard -> Bool
== :: TableWildcard -> TableWildcard -> Bool
$c== :: TableWildcard -> TableWildcard -> Bool
Prelude.Eq, ReadPrec [TableWildcard]
ReadPrec TableWildcard
Int -> ReadS TableWildcard
ReadS [TableWildcard]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [TableWildcard]
$creadListPrec :: ReadPrec [TableWildcard]
readPrec :: ReadPrec TableWildcard
$creadPrec :: ReadPrec TableWildcard
readList :: ReadS [TableWildcard]
$creadList :: ReadS [TableWildcard]
readsPrec :: Int -> ReadS TableWildcard
$creadsPrec :: Int -> ReadS TableWildcard
Prelude.Read, Int -> TableWildcard -> ShowS
[TableWildcard] -> ShowS
TableWildcard -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [TableWildcard] -> ShowS
$cshowList :: [TableWildcard] -> ShowS
show :: TableWildcard -> String
$cshow :: TableWildcard -> String
showsPrec :: Int -> TableWildcard -> ShowS
$cshowsPrec :: Int -> TableWildcard -> ShowS
Prelude.Show, forall x. Rep TableWildcard x -> TableWildcard
forall x. TableWildcard -> Rep TableWildcard x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep TableWildcard x -> TableWildcard
$cfrom :: forall x. TableWildcard -> Rep TableWildcard x
Prelude.Generic)

-- |
-- Create a value of 'TableWildcard' 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.
newTableWildcard ::
  TableWildcard
newTableWildcard :: TableWildcard
newTableWildcard = TableWildcard
TableWildcard'

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

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

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

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