{-# 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.QuickSight.Types.AxisDisplayDataDrivenRange
-- 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.QuickSight.Types.AxisDisplayDataDrivenRange 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

-- | The options that are saved for future extension.
--
-- /See:/ 'newAxisDisplayDataDrivenRange' smart constructor.
data AxisDisplayDataDrivenRange = AxisDisplayDataDrivenRange'
  {
  }
  deriving (AxisDisplayDataDrivenRange -> AxisDisplayDataDrivenRange -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: AxisDisplayDataDrivenRange -> AxisDisplayDataDrivenRange -> Bool
$c/= :: AxisDisplayDataDrivenRange -> AxisDisplayDataDrivenRange -> Bool
== :: AxisDisplayDataDrivenRange -> AxisDisplayDataDrivenRange -> Bool
$c== :: AxisDisplayDataDrivenRange -> AxisDisplayDataDrivenRange -> Bool
Prelude.Eq, ReadPrec [AxisDisplayDataDrivenRange]
ReadPrec AxisDisplayDataDrivenRange
Int -> ReadS AxisDisplayDataDrivenRange
ReadS [AxisDisplayDataDrivenRange]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [AxisDisplayDataDrivenRange]
$creadListPrec :: ReadPrec [AxisDisplayDataDrivenRange]
readPrec :: ReadPrec AxisDisplayDataDrivenRange
$creadPrec :: ReadPrec AxisDisplayDataDrivenRange
readList :: ReadS [AxisDisplayDataDrivenRange]
$creadList :: ReadS [AxisDisplayDataDrivenRange]
readsPrec :: Int -> ReadS AxisDisplayDataDrivenRange
$creadsPrec :: Int -> ReadS AxisDisplayDataDrivenRange
Prelude.Read, Int -> AxisDisplayDataDrivenRange -> ShowS
[AxisDisplayDataDrivenRange] -> ShowS
AxisDisplayDataDrivenRange -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [AxisDisplayDataDrivenRange] -> ShowS
$cshowList :: [AxisDisplayDataDrivenRange] -> ShowS
show :: AxisDisplayDataDrivenRange -> String
$cshow :: AxisDisplayDataDrivenRange -> String
showsPrec :: Int -> AxisDisplayDataDrivenRange -> ShowS
$cshowsPrec :: Int -> AxisDisplayDataDrivenRange -> ShowS
Prelude.Show, forall x.
Rep AxisDisplayDataDrivenRange x -> AxisDisplayDataDrivenRange
forall x.
AxisDisplayDataDrivenRange -> Rep AxisDisplayDataDrivenRange x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep AxisDisplayDataDrivenRange x -> AxisDisplayDataDrivenRange
$cfrom :: forall x.
AxisDisplayDataDrivenRange -> Rep AxisDisplayDataDrivenRange x
Prelude.Generic)

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

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

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

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

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