{-# 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-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.LakeFormation.Types.TableWildcard where

import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
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
(TableWildcard -> TableWildcard -> Bool)
-> (TableWildcard -> TableWildcard -> Bool) -> Eq TableWildcard
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]
(Int -> ReadS TableWildcard)
-> ReadS [TableWildcard]
-> ReadPrec TableWildcard
-> ReadPrec [TableWildcard]
-> Read 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
(Int -> TableWildcard -> ShowS)
-> (TableWildcard -> String)
-> ([TableWildcard] -> ShowS)
-> Show TableWildcard
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. TableWildcard -> Rep TableWildcard x)
-> (forall x. Rep TableWildcard x -> TableWildcard)
-> Generic TableWildcard
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 Core.FromJSON TableWildcard where
  parseJSON :: Value -> Parser TableWildcard
parseJSON =
    String
-> (Object -> Parser TableWildcard)
-> Value
-> Parser TableWildcard
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
      String
"TableWildcard"
      (\Object
x -> TableWildcard -> Parser TableWildcard
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure TableWildcard
TableWildcard')

instance Prelude.Hashable TableWildcard

instance Prelude.NFData TableWildcard

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