{-# 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 #-}
module Amazonka.MacieV2.Types.DailySchedule 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
data DailySchedule = DailySchedule'
{
}
deriving (DailySchedule -> DailySchedule -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DailySchedule -> DailySchedule -> Bool
$c/= :: DailySchedule -> DailySchedule -> Bool
== :: DailySchedule -> DailySchedule -> Bool
$c== :: DailySchedule -> DailySchedule -> Bool
Prelude.Eq, ReadPrec [DailySchedule]
ReadPrec DailySchedule
Int -> ReadS DailySchedule
ReadS [DailySchedule]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DailySchedule]
$creadListPrec :: ReadPrec [DailySchedule]
readPrec :: ReadPrec DailySchedule
$creadPrec :: ReadPrec DailySchedule
readList :: ReadS [DailySchedule]
$creadList :: ReadS [DailySchedule]
readsPrec :: Int -> ReadS DailySchedule
$creadsPrec :: Int -> ReadS DailySchedule
Prelude.Read, Int -> DailySchedule -> ShowS
[DailySchedule] -> ShowS
DailySchedule -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DailySchedule] -> ShowS
$cshowList :: [DailySchedule] -> ShowS
show :: DailySchedule -> String
$cshow :: DailySchedule -> String
showsPrec :: Int -> DailySchedule -> ShowS
$cshowsPrec :: Int -> DailySchedule -> ShowS
Prelude.Show, forall x. Rep DailySchedule x -> DailySchedule
forall x. DailySchedule -> Rep DailySchedule x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep DailySchedule x -> DailySchedule
$cfrom :: forall x. DailySchedule -> Rep DailySchedule x
Prelude.Generic)
newDailySchedule ::
DailySchedule
newDailySchedule :: DailySchedule
newDailySchedule = DailySchedule
DailySchedule'
instance Data.FromJSON DailySchedule where
parseJSON :: Value -> Parser DailySchedule
parseJSON =
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
String
"DailySchedule"
(\Object
x -> forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure DailySchedule
DailySchedule')
instance Prelude.Hashable DailySchedule where
hashWithSalt :: Int -> DailySchedule -> Int
hashWithSalt Int
_salt DailySchedule
_ =
Int
_salt forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` ()
instance Prelude.NFData DailySchedule where
rnf :: DailySchedule -> ()
rnf DailySchedule
_ = ()
instance Data.ToJSON DailySchedule where
toJSON :: DailySchedule -> Value
toJSON = forall a b. a -> b -> a
Prelude.const (Object -> Value
Data.Object forall a. Monoid a => a
Prelude.mempty)