{-# 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.StepFunctions.Types.CloudWatchEventsExecutionDataDetails where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
data CloudWatchEventsExecutionDataDetails = CloudWatchEventsExecutionDataDetails'
{
CloudWatchEventsExecutionDataDetails -> Maybe Bool
included :: Prelude.Maybe Prelude.Bool
}
deriving (CloudWatchEventsExecutionDataDetails
-> CloudWatchEventsExecutionDataDetails -> Bool
(CloudWatchEventsExecutionDataDetails
-> CloudWatchEventsExecutionDataDetails -> Bool)
-> (CloudWatchEventsExecutionDataDetails
-> CloudWatchEventsExecutionDataDetails -> Bool)
-> Eq CloudWatchEventsExecutionDataDetails
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CloudWatchEventsExecutionDataDetails
-> CloudWatchEventsExecutionDataDetails -> Bool
$c/= :: CloudWatchEventsExecutionDataDetails
-> CloudWatchEventsExecutionDataDetails -> Bool
== :: CloudWatchEventsExecutionDataDetails
-> CloudWatchEventsExecutionDataDetails -> Bool
$c== :: CloudWatchEventsExecutionDataDetails
-> CloudWatchEventsExecutionDataDetails -> Bool
Prelude.Eq, ReadPrec [CloudWatchEventsExecutionDataDetails]
ReadPrec CloudWatchEventsExecutionDataDetails
Int -> ReadS CloudWatchEventsExecutionDataDetails
ReadS [CloudWatchEventsExecutionDataDetails]
(Int -> ReadS CloudWatchEventsExecutionDataDetails)
-> ReadS [CloudWatchEventsExecutionDataDetails]
-> ReadPrec CloudWatchEventsExecutionDataDetails
-> ReadPrec [CloudWatchEventsExecutionDataDetails]
-> Read CloudWatchEventsExecutionDataDetails
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [CloudWatchEventsExecutionDataDetails]
$creadListPrec :: ReadPrec [CloudWatchEventsExecutionDataDetails]
readPrec :: ReadPrec CloudWatchEventsExecutionDataDetails
$creadPrec :: ReadPrec CloudWatchEventsExecutionDataDetails
readList :: ReadS [CloudWatchEventsExecutionDataDetails]
$creadList :: ReadS [CloudWatchEventsExecutionDataDetails]
readsPrec :: Int -> ReadS CloudWatchEventsExecutionDataDetails
$creadsPrec :: Int -> ReadS CloudWatchEventsExecutionDataDetails
Prelude.Read, Int -> CloudWatchEventsExecutionDataDetails -> ShowS
[CloudWatchEventsExecutionDataDetails] -> ShowS
CloudWatchEventsExecutionDataDetails -> String
(Int -> CloudWatchEventsExecutionDataDetails -> ShowS)
-> (CloudWatchEventsExecutionDataDetails -> String)
-> ([CloudWatchEventsExecutionDataDetails] -> ShowS)
-> Show CloudWatchEventsExecutionDataDetails
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CloudWatchEventsExecutionDataDetails] -> ShowS
$cshowList :: [CloudWatchEventsExecutionDataDetails] -> ShowS
show :: CloudWatchEventsExecutionDataDetails -> String
$cshow :: CloudWatchEventsExecutionDataDetails -> String
showsPrec :: Int -> CloudWatchEventsExecutionDataDetails -> ShowS
$cshowsPrec :: Int -> CloudWatchEventsExecutionDataDetails -> ShowS
Prelude.Show, (forall x.
CloudWatchEventsExecutionDataDetails
-> Rep CloudWatchEventsExecutionDataDetails x)
-> (forall x.
Rep CloudWatchEventsExecutionDataDetails x
-> CloudWatchEventsExecutionDataDetails)
-> Generic CloudWatchEventsExecutionDataDetails
forall x.
Rep CloudWatchEventsExecutionDataDetails x
-> CloudWatchEventsExecutionDataDetails
forall x.
CloudWatchEventsExecutionDataDetails
-> Rep CloudWatchEventsExecutionDataDetails x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep CloudWatchEventsExecutionDataDetails x
-> CloudWatchEventsExecutionDataDetails
$cfrom :: forall x.
CloudWatchEventsExecutionDataDetails
-> Rep CloudWatchEventsExecutionDataDetails x
Prelude.Generic)
newCloudWatchEventsExecutionDataDetails ::
CloudWatchEventsExecutionDataDetails
newCloudWatchEventsExecutionDataDetails :: CloudWatchEventsExecutionDataDetails
newCloudWatchEventsExecutionDataDetails =
CloudWatchEventsExecutionDataDetails' :: Maybe Bool -> CloudWatchEventsExecutionDataDetails
CloudWatchEventsExecutionDataDetails'
{ $sel:included:CloudWatchEventsExecutionDataDetails' :: Maybe Bool
included =
Maybe Bool
forall a. Maybe a
Prelude.Nothing
}
cloudWatchEventsExecutionDataDetails_included :: Lens.Lens' CloudWatchEventsExecutionDataDetails (Prelude.Maybe Prelude.Bool)
cloudWatchEventsExecutionDataDetails_included :: (Maybe Bool -> f (Maybe Bool))
-> CloudWatchEventsExecutionDataDetails
-> f CloudWatchEventsExecutionDataDetails
cloudWatchEventsExecutionDataDetails_included = (CloudWatchEventsExecutionDataDetails -> Maybe Bool)
-> (CloudWatchEventsExecutionDataDetails
-> Maybe Bool -> CloudWatchEventsExecutionDataDetails)
-> Lens
CloudWatchEventsExecutionDataDetails
CloudWatchEventsExecutionDataDetails
(Maybe Bool)
(Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CloudWatchEventsExecutionDataDetails' {Maybe Bool
included :: Maybe Bool
$sel:included:CloudWatchEventsExecutionDataDetails' :: CloudWatchEventsExecutionDataDetails -> Maybe Bool
included} -> Maybe Bool
included) (\s :: CloudWatchEventsExecutionDataDetails
s@CloudWatchEventsExecutionDataDetails' {} Maybe Bool
a -> CloudWatchEventsExecutionDataDetails
s {$sel:included:CloudWatchEventsExecutionDataDetails' :: Maybe Bool
included = Maybe Bool
a} :: CloudWatchEventsExecutionDataDetails)
instance
Core.FromJSON
CloudWatchEventsExecutionDataDetails
where
parseJSON :: Value -> Parser CloudWatchEventsExecutionDataDetails
parseJSON =
String
-> (Object -> Parser CloudWatchEventsExecutionDataDetails)
-> Value
-> Parser CloudWatchEventsExecutionDataDetails
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
String
"CloudWatchEventsExecutionDataDetails"
( \Object
x ->
Maybe Bool -> CloudWatchEventsExecutionDataDetails
CloudWatchEventsExecutionDataDetails'
(Maybe Bool -> CloudWatchEventsExecutionDataDetails)
-> Parser (Maybe Bool)
-> Parser CloudWatchEventsExecutionDataDetails
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Parser (Maybe Bool)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"included")
)
instance
Prelude.Hashable
CloudWatchEventsExecutionDataDetails
instance
Prelude.NFData
CloudWatchEventsExecutionDataDetails