{-# 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.AuditManager.Types.AssessmentEvidenceFolder where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
data AssessmentEvidenceFolder = AssessmentEvidenceFolder'
{
AssessmentEvidenceFolder -> Maybe Int
evidenceByTypeComplianceCheckIssuesCount :: Prelude.Maybe Prelude.Int,
AssessmentEvidenceFolder -> Maybe Text
controlSetId :: Prelude.Maybe Prelude.Text,
AssessmentEvidenceFolder -> Maybe Int
assessmentReportSelectionCount :: Prelude.Maybe Prelude.Int,
AssessmentEvidenceFolder -> Maybe Int
totalEvidence :: Prelude.Maybe Prelude.Int,
AssessmentEvidenceFolder -> Maybe Int
evidenceByTypeManualCount :: Prelude.Maybe Prelude.Int,
AssessmentEvidenceFolder -> Maybe POSIX
date :: Prelude.Maybe Core.POSIX,
AssessmentEvidenceFolder -> Maybe Text
name :: Prelude.Maybe Prelude.Text,
AssessmentEvidenceFolder -> Maybe Int
evidenceByTypeUserActivityCount :: Prelude.Maybe Prelude.Int,
AssessmentEvidenceFolder -> Maybe Text
controlId :: Prelude.Maybe Prelude.Text,
AssessmentEvidenceFolder -> Maybe Int
evidenceAwsServiceSourceCount :: Prelude.Maybe Prelude.Int,
AssessmentEvidenceFolder -> Maybe Text
author :: Prelude.Maybe Prelude.Text,
AssessmentEvidenceFolder -> Maybe Text
id :: Prelude.Maybe Prelude.Text,
AssessmentEvidenceFolder -> Maybe Text
dataSource :: Prelude.Maybe Prelude.Text,
AssessmentEvidenceFolder -> Maybe Text
controlName :: Prelude.Maybe Prelude.Text,
AssessmentEvidenceFolder -> Maybe Int
evidenceByTypeComplianceCheckCount :: Prelude.Maybe Prelude.Int,
AssessmentEvidenceFolder -> Maybe Text
assessmentId :: Prelude.Maybe Prelude.Text,
AssessmentEvidenceFolder -> Maybe Int
evidenceByTypeConfigurationDataCount :: Prelude.Maybe Prelude.Int,
AssessmentEvidenceFolder -> Maybe Int
evidenceResourcesIncludedCount :: Prelude.Maybe Prelude.Int
}
deriving (AssessmentEvidenceFolder -> AssessmentEvidenceFolder -> Bool
(AssessmentEvidenceFolder -> AssessmentEvidenceFolder -> Bool)
-> (AssessmentEvidenceFolder -> AssessmentEvidenceFolder -> Bool)
-> Eq AssessmentEvidenceFolder
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: AssessmentEvidenceFolder -> AssessmentEvidenceFolder -> Bool
$c/= :: AssessmentEvidenceFolder -> AssessmentEvidenceFolder -> Bool
== :: AssessmentEvidenceFolder -> AssessmentEvidenceFolder -> Bool
$c== :: AssessmentEvidenceFolder -> AssessmentEvidenceFolder -> Bool
Prelude.Eq, ReadPrec [AssessmentEvidenceFolder]
ReadPrec AssessmentEvidenceFolder
Int -> ReadS AssessmentEvidenceFolder
ReadS [AssessmentEvidenceFolder]
(Int -> ReadS AssessmentEvidenceFolder)
-> ReadS [AssessmentEvidenceFolder]
-> ReadPrec AssessmentEvidenceFolder
-> ReadPrec [AssessmentEvidenceFolder]
-> Read AssessmentEvidenceFolder
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [AssessmentEvidenceFolder]
$creadListPrec :: ReadPrec [AssessmentEvidenceFolder]
readPrec :: ReadPrec AssessmentEvidenceFolder
$creadPrec :: ReadPrec AssessmentEvidenceFolder
readList :: ReadS [AssessmentEvidenceFolder]
$creadList :: ReadS [AssessmentEvidenceFolder]
readsPrec :: Int -> ReadS AssessmentEvidenceFolder
$creadsPrec :: Int -> ReadS AssessmentEvidenceFolder
Prelude.Read, Int -> AssessmentEvidenceFolder -> ShowS
[AssessmentEvidenceFolder] -> ShowS
AssessmentEvidenceFolder -> String
(Int -> AssessmentEvidenceFolder -> ShowS)
-> (AssessmentEvidenceFolder -> String)
-> ([AssessmentEvidenceFolder] -> ShowS)
-> Show AssessmentEvidenceFolder
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [AssessmentEvidenceFolder] -> ShowS
$cshowList :: [AssessmentEvidenceFolder] -> ShowS
show :: AssessmentEvidenceFolder -> String
$cshow :: AssessmentEvidenceFolder -> String
showsPrec :: Int -> AssessmentEvidenceFolder -> ShowS
$cshowsPrec :: Int -> AssessmentEvidenceFolder -> ShowS
Prelude.Show, (forall x.
AssessmentEvidenceFolder -> Rep AssessmentEvidenceFolder x)
-> (forall x.
Rep AssessmentEvidenceFolder x -> AssessmentEvidenceFolder)
-> Generic AssessmentEvidenceFolder
forall x.
Rep AssessmentEvidenceFolder x -> AssessmentEvidenceFolder
forall x.
AssessmentEvidenceFolder -> Rep AssessmentEvidenceFolder x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep AssessmentEvidenceFolder x -> AssessmentEvidenceFolder
$cfrom :: forall x.
AssessmentEvidenceFolder -> Rep AssessmentEvidenceFolder x
Prelude.Generic)
newAssessmentEvidenceFolder ::
AssessmentEvidenceFolder
newAssessmentEvidenceFolder :: AssessmentEvidenceFolder
newAssessmentEvidenceFolder =
AssessmentEvidenceFolder' :: Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Int
-> Maybe Int
-> Maybe POSIX
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Int
-> AssessmentEvidenceFolder
AssessmentEvidenceFolder'
{ $sel:evidenceByTypeComplianceCheckIssuesCount:AssessmentEvidenceFolder' :: Maybe Int
evidenceByTypeComplianceCheckIssuesCount =
Maybe Int
forall a. Maybe a
Prelude.Nothing,
$sel:controlSetId:AssessmentEvidenceFolder' :: Maybe Text
controlSetId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:assessmentReportSelectionCount:AssessmentEvidenceFolder' :: Maybe Int
assessmentReportSelectionCount = Maybe Int
forall a. Maybe a
Prelude.Nothing,
$sel:totalEvidence:AssessmentEvidenceFolder' :: Maybe Int
totalEvidence = Maybe Int
forall a. Maybe a
Prelude.Nothing,
$sel:evidenceByTypeManualCount:AssessmentEvidenceFolder' :: Maybe Int
evidenceByTypeManualCount = Maybe Int
forall a. Maybe a
Prelude.Nothing,
$sel:date:AssessmentEvidenceFolder' :: Maybe POSIX
date = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:name:AssessmentEvidenceFolder' :: Maybe Text
name = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:evidenceByTypeUserActivityCount:AssessmentEvidenceFolder' :: Maybe Int
evidenceByTypeUserActivityCount = Maybe Int
forall a. Maybe a
Prelude.Nothing,
$sel:controlId:AssessmentEvidenceFolder' :: Maybe Text
controlId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:evidenceAwsServiceSourceCount:AssessmentEvidenceFolder' :: Maybe Int
evidenceAwsServiceSourceCount = Maybe Int
forall a. Maybe a
Prelude.Nothing,
$sel:author:AssessmentEvidenceFolder' :: Maybe Text
author = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:id:AssessmentEvidenceFolder' :: Maybe Text
id = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:dataSource:AssessmentEvidenceFolder' :: Maybe Text
dataSource = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:controlName:AssessmentEvidenceFolder' :: Maybe Text
controlName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:evidenceByTypeComplianceCheckCount:AssessmentEvidenceFolder' :: Maybe Int
evidenceByTypeComplianceCheckCount =
Maybe Int
forall a. Maybe a
Prelude.Nothing,
$sel:assessmentId:AssessmentEvidenceFolder' :: Maybe Text
assessmentId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:evidenceByTypeConfigurationDataCount:AssessmentEvidenceFolder' :: Maybe Int
evidenceByTypeConfigurationDataCount =
Maybe Int
forall a. Maybe a
Prelude.Nothing,
$sel:evidenceResourcesIncludedCount:AssessmentEvidenceFolder' :: Maybe Int
evidenceResourcesIncludedCount = Maybe Int
forall a. Maybe a
Prelude.Nothing
}
assessmentEvidenceFolder_evidenceByTypeComplianceCheckIssuesCount :: Lens.Lens' AssessmentEvidenceFolder (Prelude.Maybe Prelude.Int)
assessmentEvidenceFolder_evidenceByTypeComplianceCheckIssuesCount :: (Maybe Int -> f (Maybe Int))
-> AssessmentEvidenceFolder -> f AssessmentEvidenceFolder
assessmentEvidenceFolder_evidenceByTypeComplianceCheckIssuesCount = (AssessmentEvidenceFolder -> Maybe Int)
-> (AssessmentEvidenceFolder
-> Maybe Int -> AssessmentEvidenceFolder)
-> Lens
AssessmentEvidenceFolder
AssessmentEvidenceFolder
(Maybe Int)
(Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AssessmentEvidenceFolder' {Maybe Int
evidenceByTypeComplianceCheckIssuesCount :: Maybe Int
$sel:evidenceByTypeComplianceCheckIssuesCount:AssessmentEvidenceFolder' :: AssessmentEvidenceFolder -> Maybe Int
evidenceByTypeComplianceCheckIssuesCount} -> Maybe Int
evidenceByTypeComplianceCheckIssuesCount) (\s :: AssessmentEvidenceFolder
s@AssessmentEvidenceFolder' {} Maybe Int
a -> AssessmentEvidenceFolder
s {$sel:evidenceByTypeComplianceCheckIssuesCount:AssessmentEvidenceFolder' :: Maybe Int
evidenceByTypeComplianceCheckIssuesCount = Maybe Int
a} :: AssessmentEvidenceFolder)
assessmentEvidenceFolder_controlSetId :: Lens.Lens' AssessmentEvidenceFolder (Prelude.Maybe Prelude.Text)
assessmentEvidenceFolder_controlSetId :: (Maybe Text -> f (Maybe Text))
-> AssessmentEvidenceFolder -> f AssessmentEvidenceFolder
assessmentEvidenceFolder_controlSetId = (AssessmentEvidenceFolder -> Maybe Text)
-> (AssessmentEvidenceFolder
-> Maybe Text -> AssessmentEvidenceFolder)
-> Lens
AssessmentEvidenceFolder
AssessmentEvidenceFolder
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AssessmentEvidenceFolder' {Maybe Text
controlSetId :: Maybe Text
$sel:controlSetId:AssessmentEvidenceFolder' :: AssessmentEvidenceFolder -> Maybe Text
controlSetId} -> Maybe Text
controlSetId) (\s :: AssessmentEvidenceFolder
s@AssessmentEvidenceFolder' {} Maybe Text
a -> AssessmentEvidenceFolder
s {$sel:controlSetId:AssessmentEvidenceFolder' :: Maybe Text
controlSetId = Maybe Text
a} :: AssessmentEvidenceFolder)
assessmentEvidenceFolder_assessmentReportSelectionCount :: Lens.Lens' AssessmentEvidenceFolder (Prelude.Maybe Prelude.Int)
assessmentEvidenceFolder_assessmentReportSelectionCount :: (Maybe Int -> f (Maybe Int))
-> AssessmentEvidenceFolder -> f AssessmentEvidenceFolder
assessmentEvidenceFolder_assessmentReportSelectionCount = (AssessmentEvidenceFolder -> Maybe Int)
-> (AssessmentEvidenceFolder
-> Maybe Int -> AssessmentEvidenceFolder)
-> Lens
AssessmentEvidenceFolder
AssessmentEvidenceFolder
(Maybe Int)
(Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AssessmentEvidenceFolder' {Maybe Int
assessmentReportSelectionCount :: Maybe Int
$sel:assessmentReportSelectionCount:AssessmentEvidenceFolder' :: AssessmentEvidenceFolder -> Maybe Int
assessmentReportSelectionCount} -> Maybe Int
assessmentReportSelectionCount) (\s :: AssessmentEvidenceFolder
s@AssessmentEvidenceFolder' {} Maybe Int
a -> AssessmentEvidenceFolder
s {$sel:assessmentReportSelectionCount:AssessmentEvidenceFolder' :: Maybe Int
assessmentReportSelectionCount = Maybe Int
a} :: AssessmentEvidenceFolder)
assessmentEvidenceFolder_totalEvidence :: Lens.Lens' AssessmentEvidenceFolder (Prelude.Maybe Prelude.Int)
assessmentEvidenceFolder_totalEvidence :: (Maybe Int -> f (Maybe Int))
-> AssessmentEvidenceFolder -> f AssessmentEvidenceFolder
assessmentEvidenceFolder_totalEvidence = (AssessmentEvidenceFolder -> Maybe Int)
-> (AssessmentEvidenceFolder
-> Maybe Int -> AssessmentEvidenceFolder)
-> Lens
AssessmentEvidenceFolder
AssessmentEvidenceFolder
(Maybe Int)
(Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AssessmentEvidenceFolder' {Maybe Int
totalEvidence :: Maybe Int
$sel:totalEvidence:AssessmentEvidenceFolder' :: AssessmentEvidenceFolder -> Maybe Int
totalEvidence} -> Maybe Int
totalEvidence) (\s :: AssessmentEvidenceFolder
s@AssessmentEvidenceFolder' {} Maybe Int
a -> AssessmentEvidenceFolder
s {$sel:totalEvidence:AssessmentEvidenceFolder' :: Maybe Int
totalEvidence = Maybe Int
a} :: AssessmentEvidenceFolder)
assessmentEvidenceFolder_evidenceByTypeManualCount :: Lens.Lens' AssessmentEvidenceFolder (Prelude.Maybe Prelude.Int)
assessmentEvidenceFolder_evidenceByTypeManualCount :: (Maybe Int -> f (Maybe Int))
-> AssessmentEvidenceFolder -> f AssessmentEvidenceFolder
assessmentEvidenceFolder_evidenceByTypeManualCount = (AssessmentEvidenceFolder -> Maybe Int)
-> (AssessmentEvidenceFolder
-> Maybe Int -> AssessmentEvidenceFolder)
-> Lens
AssessmentEvidenceFolder
AssessmentEvidenceFolder
(Maybe Int)
(Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AssessmentEvidenceFolder' {Maybe Int
evidenceByTypeManualCount :: Maybe Int
$sel:evidenceByTypeManualCount:AssessmentEvidenceFolder' :: AssessmentEvidenceFolder -> Maybe Int
evidenceByTypeManualCount} -> Maybe Int
evidenceByTypeManualCount) (\s :: AssessmentEvidenceFolder
s@AssessmentEvidenceFolder' {} Maybe Int
a -> AssessmentEvidenceFolder
s {$sel:evidenceByTypeManualCount:AssessmentEvidenceFolder' :: Maybe Int
evidenceByTypeManualCount = Maybe Int
a} :: AssessmentEvidenceFolder)
assessmentEvidenceFolder_date :: Lens.Lens' AssessmentEvidenceFolder (Prelude.Maybe Prelude.UTCTime)
assessmentEvidenceFolder_date :: (Maybe UTCTime -> f (Maybe UTCTime))
-> AssessmentEvidenceFolder -> f AssessmentEvidenceFolder
assessmentEvidenceFolder_date = (AssessmentEvidenceFolder -> Maybe POSIX)
-> (AssessmentEvidenceFolder
-> Maybe POSIX -> AssessmentEvidenceFolder)
-> Lens
AssessmentEvidenceFolder
AssessmentEvidenceFolder
(Maybe POSIX)
(Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AssessmentEvidenceFolder' {Maybe POSIX
date :: Maybe POSIX
$sel:date:AssessmentEvidenceFolder' :: AssessmentEvidenceFolder -> Maybe POSIX
date} -> Maybe POSIX
date) (\s :: AssessmentEvidenceFolder
s@AssessmentEvidenceFolder' {} Maybe POSIX
a -> AssessmentEvidenceFolder
s {$sel:date:AssessmentEvidenceFolder' :: Maybe POSIX
date = Maybe POSIX
a} :: AssessmentEvidenceFolder) ((Maybe POSIX -> f (Maybe POSIX))
-> AssessmentEvidenceFolder -> f AssessmentEvidenceFolder)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> AssessmentEvidenceFolder
-> f AssessmentEvidenceFolder
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso POSIX POSIX UTCTime UTCTime
-> Iso (Maybe POSIX) (Maybe POSIX) (Maybe UTCTime) (Maybe UTCTime)
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso POSIX POSIX UTCTime UTCTime
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time
assessmentEvidenceFolder_name :: Lens.Lens' AssessmentEvidenceFolder (Prelude.Maybe Prelude.Text)
assessmentEvidenceFolder_name :: (Maybe Text -> f (Maybe Text))
-> AssessmentEvidenceFolder -> f AssessmentEvidenceFolder
assessmentEvidenceFolder_name = (AssessmentEvidenceFolder -> Maybe Text)
-> (AssessmentEvidenceFolder
-> Maybe Text -> AssessmentEvidenceFolder)
-> Lens
AssessmentEvidenceFolder
AssessmentEvidenceFolder
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AssessmentEvidenceFolder' {Maybe Text
name :: Maybe Text
$sel:name:AssessmentEvidenceFolder' :: AssessmentEvidenceFolder -> Maybe Text
name} -> Maybe Text
name) (\s :: AssessmentEvidenceFolder
s@AssessmentEvidenceFolder' {} Maybe Text
a -> AssessmentEvidenceFolder
s {$sel:name:AssessmentEvidenceFolder' :: Maybe Text
name = Maybe Text
a} :: AssessmentEvidenceFolder)
assessmentEvidenceFolder_evidenceByTypeUserActivityCount :: Lens.Lens' AssessmentEvidenceFolder (Prelude.Maybe Prelude.Int)
assessmentEvidenceFolder_evidenceByTypeUserActivityCount :: (Maybe Int -> f (Maybe Int))
-> AssessmentEvidenceFolder -> f AssessmentEvidenceFolder
assessmentEvidenceFolder_evidenceByTypeUserActivityCount = (AssessmentEvidenceFolder -> Maybe Int)
-> (AssessmentEvidenceFolder
-> Maybe Int -> AssessmentEvidenceFolder)
-> Lens
AssessmentEvidenceFolder
AssessmentEvidenceFolder
(Maybe Int)
(Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AssessmentEvidenceFolder' {Maybe Int
evidenceByTypeUserActivityCount :: Maybe Int
$sel:evidenceByTypeUserActivityCount:AssessmentEvidenceFolder' :: AssessmentEvidenceFolder -> Maybe Int
evidenceByTypeUserActivityCount} -> Maybe Int
evidenceByTypeUserActivityCount) (\s :: AssessmentEvidenceFolder
s@AssessmentEvidenceFolder' {} Maybe Int
a -> AssessmentEvidenceFolder
s {$sel:evidenceByTypeUserActivityCount:AssessmentEvidenceFolder' :: Maybe Int
evidenceByTypeUserActivityCount = Maybe Int
a} :: AssessmentEvidenceFolder)
assessmentEvidenceFolder_controlId :: Lens.Lens' AssessmentEvidenceFolder (Prelude.Maybe Prelude.Text)
assessmentEvidenceFolder_controlId :: (Maybe Text -> f (Maybe Text))
-> AssessmentEvidenceFolder -> f AssessmentEvidenceFolder
assessmentEvidenceFolder_controlId = (AssessmentEvidenceFolder -> Maybe Text)
-> (AssessmentEvidenceFolder
-> Maybe Text -> AssessmentEvidenceFolder)
-> Lens
AssessmentEvidenceFolder
AssessmentEvidenceFolder
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AssessmentEvidenceFolder' {Maybe Text
controlId :: Maybe Text
$sel:controlId:AssessmentEvidenceFolder' :: AssessmentEvidenceFolder -> Maybe Text
controlId} -> Maybe Text
controlId) (\s :: AssessmentEvidenceFolder
s@AssessmentEvidenceFolder' {} Maybe Text
a -> AssessmentEvidenceFolder
s {$sel:controlId:AssessmentEvidenceFolder' :: Maybe Text
controlId = Maybe Text
a} :: AssessmentEvidenceFolder)
assessmentEvidenceFolder_evidenceAwsServiceSourceCount :: Lens.Lens' AssessmentEvidenceFolder (Prelude.Maybe Prelude.Int)
assessmentEvidenceFolder_evidenceAwsServiceSourceCount :: (Maybe Int -> f (Maybe Int))
-> AssessmentEvidenceFolder -> f AssessmentEvidenceFolder
assessmentEvidenceFolder_evidenceAwsServiceSourceCount = (AssessmentEvidenceFolder -> Maybe Int)
-> (AssessmentEvidenceFolder
-> Maybe Int -> AssessmentEvidenceFolder)
-> Lens
AssessmentEvidenceFolder
AssessmentEvidenceFolder
(Maybe Int)
(Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AssessmentEvidenceFolder' {Maybe Int
evidenceAwsServiceSourceCount :: Maybe Int
$sel:evidenceAwsServiceSourceCount:AssessmentEvidenceFolder' :: AssessmentEvidenceFolder -> Maybe Int
evidenceAwsServiceSourceCount} -> Maybe Int
evidenceAwsServiceSourceCount) (\s :: AssessmentEvidenceFolder
s@AssessmentEvidenceFolder' {} Maybe Int
a -> AssessmentEvidenceFolder
s {$sel:evidenceAwsServiceSourceCount:AssessmentEvidenceFolder' :: Maybe Int
evidenceAwsServiceSourceCount = Maybe Int
a} :: AssessmentEvidenceFolder)
assessmentEvidenceFolder_author :: Lens.Lens' AssessmentEvidenceFolder (Prelude.Maybe Prelude.Text)
assessmentEvidenceFolder_author :: (Maybe Text -> f (Maybe Text))
-> AssessmentEvidenceFolder -> f AssessmentEvidenceFolder
assessmentEvidenceFolder_author = (AssessmentEvidenceFolder -> Maybe Text)
-> (AssessmentEvidenceFolder
-> Maybe Text -> AssessmentEvidenceFolder)
-> Lens
AssessmentEvidenceFolder
AssessmentEvidenceFolder
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AssessmentEvidenceFolder' {Maybe Text
author :: Maybe Text
$sel:author:AssessmentEvidenceFolder' :: AssessmentEvidenceFolder -> Maybe Text
author} -> Maybe Text
author) (\s :: AssessmentEvidenceFolder
s@AssessmentEvidenceFolder' {} Maybe Text
a -> AssessmentEvidenceFolder
s {$sel:author:AssessmentEvidenceFolder' :: Maybe Text
author = Maybe Text
a} :: AssessmentEvidenceFolder)
assessmentEvidenceFolder_id :: Lens.Lens' AssessmentEvidenceFolder (Prelude.Maybe Prelude.Text)
assessmentEvidenceFolder_id :: (Maybe Text -> f (Maybe Text))
-> AssessmentEvidenceFolder -> f AssessmentEvidenceFolder
assessmentEvidenceFolder_id = (AssessmentEvidenceFolder -> Maybe Text)
-> (AssessmentEvidenceFolder
-> Maybe Text -> AssessmentEvidenceFolder)
-> Lens
AssessmentEvidenceFolder
AssessmentEvidenceFolder
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AssessmentEvidenceFolder' {Maybe Text
id :: Maybe Text
$sel:id:AssessmentEvidenceFolder' :: AssessmentEvidenceFolder -> Maybe Text
id} -> Maybe Text
id) (\s :: AssessmentEvidenceFolder
s@AssessmentEvidenceFolder' {} Maybe Text
a -> AssessmentEvidenceFolder
s {$sel:id:AssessmentEvidenceFolder' :: Maybe Text
id = Maybe Text
a} :: AssessmentEvidenceFolder)
assessmentEvidenceFolder_dataSource :: Lens.Lens' AssessmentEvidenceFolder (Prelude.Maybe Prelude.Text)
assessmentEvidenceFolder_dataSource :: (Maybe Text -> f (Maybe Text))
-> AssessmentEvidenceFolder -> f AssessmentEvidenceFolder
assessmentEvidenceFolder_dataSource = (AssessmentEvidenceFolder -> Maybe Text)
-> (AssessmentEvidenceFolder
-> Maybe Text -> AssessmentEvidenceFolder)
-> Lens
AssessmentEvidenceFolder
AssessmentEvidenceFolder
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AssessmentEvidenceFolder' {Maybe Text
dataSource :: Maybe Text
$sel:dataSource:AssessmentEvidenceFolder' :: AssessmentEvidenceFolder -> Maybe Text
dataSource} -> Maybe Text
dataSource) (\s :: AssessmentEvidenceFolder
s@AssessmentEvidenceFolder' {} Maybe Text
a -> AssessmentEvidenceFolder
s {$sel:dataSource:AssessmentEvidenceFolder' :: Maybe Text
dataSource = Maybe Text
a} :: AssessmentEvidenceFolder)
assessmentEvidenceFolder_controlName :: Lens.Lens' AssessmentEvidenceFolder (Prelude.Maybe Prelude.Text)
assessmentEvidenceFolder_controlName :: (Maybe Text -> f (Maybe Text))
-> AssessmentEvidenceFolder -> f AssessmentEvidenceFolder
assessmentEvidenceFolder_controlName = (AssessmentEvidenceFolder -> Maybe Text)
-> (AssessmentEvidenceFolder
-> Maybe Text -> AssessmentEvidenceFolder)
-> Lens
AssessmentEvidenceFolder
AssessmentEvidenceFolder
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AssessmentEvidenceFolder' {Maybe Text
controlName :: Maybe Text
$sel:controlName:AssessmentEvidenceFolder' :: AssessmentEvidenceFolder -> Maybe Text
controlName} -> Maybe Text
controlName) (\s :: AssessmentEvidenceFolder
s@AssessmentEvidenceFolder' {} Maybe Text
a -> AssessmentEvidenceFolder
s {$sel:controlName:AssessmentEvidenceFolder' :: Maybe Text
controlName = Maybe Text
a} :: AssessmentEvidenceFolder)
assessmentEvidenceFolder_evidenceByTypeComplianceCheckCount :: Lens.Lens' AssessmentEvidenceFolder (Prelude.Maybe Prelude.Int)
assessmentEvidenceFolder_evidenceByTypeComplianceCheckCount :: (Maybe Int -> f (Maybe Int))
-> AssessmentEvidenceFolder -> f AssessmentEvidenceFolder
assessmentEvidenceFolder_evidenceByTypeComplianceCheckCount = (AssessmentEvidenceFolder -> Maybe Int)
-> (AssessmentEvidenceFolder
-> Maybe Int -> AssessmentEvidenceFolder)
-> Lens
AssessmentEvidenceFolder
AssessmentEvidenceFolder
(Maybe Int)
(Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AssessmentEvidenceFolder' {Maybe Int
evidenceByTypeComplianceCheckCount :: Maybe Int
$sel:evidenceByTypeComplianceCheckCount:AssessmentEvidenceFolder' :: AssessmentEvidenceFolder -> Maybe Int
evidenceByTypeComplianceCheckCount} -> Maybe Int
evidenceByTypeComplianceCheckCount) (\s :: AssessmentEvidenceFolder
s@AssessmentEvidenceFolder' {} Maybe Int
a -> AssessmentEvidenceFolder
s {$sel:evidenceByTypeComplianceCheckCount:AssessmentEvidenceFolder' :: Maybe Int
evidenceByTypeComplianceCheckCount = Maybe Int
a} :: AssessmentEvidenceFolder)
assessmentEvidenceFolder_assessmentId :: Lens.Lens' AssessmentEvidenceFolder (Prelude.Maybe Prelude.Text)
assessmentEvidenceFolder_assessmentId :: (Maybe Text -> f (Maybe Text))
-> AssessmentEvidenceFolder -> f AssessmentEvidenceFolder
assessmentEvidenceFolder_assessmentId = (AssessmentEvidenceFolder -> Maybe Text)
-> (AssessmentEvidenceFolder
-> Maybe Text -> AssessmentEvidenceFolder)
-> Lens
AssessmentEvidenceFolder
AssessmentEvidenceFolder
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AssessmentEvidenceFolder' {Maybe Text
assessmentId :: Maybe Text
$sel:assessmentId:AssessmentEvidenceFolder' :: AssessmentEvidenceFolder -> Maybe Text
assessmentId} -> Maybe Text
assessmentId) (\s :: AssessmentEvidenceFolder
s@AssessmentEvidenceFolder' {} Maybe Text
a -> AssessmentEvidenceFolder
s {$sel:assessmentId:AssessmentEvidenceFolder' :: Maybe Text
assessmentId = Maybe Text
a} :: AssessmentEvidenceFolder)
assessmentEvidenceFolder_evidenceByTypeConfigurationDataCount :: Lens.Lens' AssessmentEvidenceFolder (Prelude.Maybe Prelude.Int)
assessmentEvidenceFolder_evidenceByTypeConfigurationDataCount :: (Maybe Int -> f (Maybe Int))
-> AssessmentEvidenceFolder -> f AssessmentEvidenceFolder
assessmentEvidenceFolder_evidenceByTypeConfigurationDataCount = (AssessmentEvidenceFolder -> Maybe Int)
-> (AssessmentEvidenceFolder
-> Maybe Int -> AssessmentEvidenceFolder)
-> Lens
AssessmentEvidenceFolder
AssessmentEvidenceFolder
(Maybe Int)
(Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AssessmentEvidenceFolder' {Maybe Int
evidenceByTypeConfigurationDataCount :: Maybe Int
$sel:evidenceByTypeConfigurationDataCount:AssessmentEvidenceFolder' :: AssessmentEvidenceFolder -> Maybe Int
evidenceByTypeConfigurationDataCount} -> Maybe Int
evidenceByTypeConfigurationDataCount) (\s :: AssessmentEvidenceFolder
s@AssessmentEvidenceFolder' {} Maybe Int
a -> AssessmentEvidenceFolder
s {$sel:evidenceByTypeConfigurationDataCount:AssessmentEvidenceFolder' :: Maybe Int
evidenceByTypeConfigurationDataCount = Maybe Int
a} :: AssessmentEvidenceFolder)
assessmentEvidenceFolder_evidenceResourcesIncludedCount :: Lens.Lens' AssessmentEvidenceFolder (Prelude.Maybe Prelude.Int)
assessmentEvidenceFolder_evidenceResourcesIncludedCount :: (Maybe Int -> f (Maybe Int))
-> AssessmentEvidenceFolder -> f AssessmentEvidenceFolder
assessmentEvidenceFolder_evidenceResourcesIncludedCount = (AssessmentEvidenceFolder -> Maybe Int)
-> (AssessmentEvidenceFolder
-> Maybe Int -> AssessmentEvidenceFolder)
-> Lens
AssessmentEvidenceFolder
AssessmentEvidenceFolder
(Maybe Int)
(Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AssessmentEvidenceFolder' {Maybe Int
evidenceResourcesIncludedCount :: Maybe Int
$sel:evidenceResourcesIncludedCount:AssessmentEvidenceFolder' :: AssessmentEvidenceFolder -> Maybe Int
evidenceResourcesIncludedCount} -> Maybe Int
evidenceResourcesIncludedCount) (\s :: AssessmentEvidenceFolder
s@AssessmentEvidenceFolder' {} Maybe Int
a -> AssessmentEvidenceFolder
s {$sel:evidenceResourcesIncludedCount:AssessmentEvidenceFolder' :: Maybe Int
evidenceResourcesIncludedCount = Maybe Int
a} :: AssessmentEvidenceFolder)
instance Core.FromJSON AssessmentEvidenceFolder where
parseJSON :: Value -> Parser AssessmentEvidenceFolder
parseJSON =
String
-> (Object -> Parser AssessmentEvidenceFolder)
-> Value
-> Parser AssessmentEvidenceFolder
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
String
"AssessmentEvidenceFolder"
( \Object
x ->
Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Int
-> Maybe Int
-> Maybe POSIX
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Int
-> AssessmentEvidenceFolder
AssessmentEvidenceFolder'
(Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Int
-> Maybe Int
-> Maybe POSIX
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Int
-> AssessmentEvidenceFolder)
-> Parser (Maybe Int)
-> Parser
(Maybe Text
-> Maybe Int
-> Maybe Int
-> Maybe Int
-> Maybe POSIX
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Int
-> AssessmentEvidenceFolder)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ( Object
x
Object -> Text -> Parser (Maybe Int)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"evidenceByTypeComplianceCheckIssuesCount"
)
Parser
(Maybe Text
-> Maybe Int
-> Maybe Int
-> Maybe Int
-> Maybe POSIX
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Int
-> AssessmentEvidenceFolder)
-> Parser (Maybe Text)
-> Parser
(Maybe Int
-> Maybe Int
-> Maybe Int
-> Maybe POSIX
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Int
-> AssessmentEvidenceFolder)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"controlSetId")
Parser
(Maybe Int
-> Maybe Int
-> Maybe Int
-> Maybe POSIX
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Int
-> AssessmentEvidenceFolder)
-> Parser (Maybe Int)
-> Parser
(Maybe Int
-> Maybe Int
-> Maybe POSIX
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Int
-> AssessmentEvidenceFolder)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Int)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"assessmentReportSelectionCount")
Parser
(Maybe Int
-> Maybe Int
-> Maybe POSIX
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Int
-> AssessmentEvidenceFolder)
-> Parser (Maybe Int)
-> Parser
(Maybe Int
-> Maybe POSIX
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Int
-> AssessmentEvidenceFolder)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Int)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"totalEvidence")
Parser
(Maybe Int
-> Maybe POSIX
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Int
-> AssessmentEvidenceFolder)
-> Parser (Maybe Int)
-> Parser
(Maybe POSIX
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Int
-> AssessmentEvidenceFolder)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Int)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"evidenceByTypeManualCount")
Parser
(Maybe POSIX
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Int
-> AssessmentEvidenceFolder)
-> Parser (Maybe POSIX)
-> Parser
(Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Int
-> AssessmentEvidenceFolder)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe POSIX)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"date")
Parser
(Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Int
-> AssessmentEvidenceFolder)
-> Parser (Maybe Text)
-> Parser
(Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Int
-> AssessmentEvidenceFolder)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"name")
Parser
(Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Int
-> AssessmentEvidenceFolder)
-> Parser (Maybe Int)
-> Parser
(Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Int
-> AssessmentEvidenceFolder)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Int)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"evidenceByTypeUserActivityCount")
Parser
(Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Int
-> AssessmentEvidenceFolder)
-> Parser (Maybe Text)
-> Parser
(Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Int
-> AssessmentEvidenceFolder)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"controlId")
Parser
(Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Int
-> AssessmentEvidenceFolder)
-> Parser (Maybe Int)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Int
-> AssessmentEvidenceFolder)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Int)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"evidenceAwsServiceSourceCount")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Int
-> AssessmentEvidenceFolder)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Int
-> AssessmentEvidenceFolder)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"author")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Int
-> AssessmentEvidenceFolder)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Int
-> AssessmentEvidenceFolder)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"id")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Int
-> AssessmentEvidenceFolder)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Int
-> AssessmentEvidenceFolder)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"dataSource")
Parser
(Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Int
-> AssessmentEvidenceFolder)
-> Parser (Maybe Text)
-> Parser
(Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Int
-> AssessmentEvidenceFolder)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"controlName")
Parser
(Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Int
-> AssessmentEvidenceFolder)
-> Parser (Maybe Int)
-> Parser
(Maybe Text -> Maybe Int -> Maybe Int -> AssessmentEvidenceFolder)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Int)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"evidenceByTypeComplianceCheckCount")
Parser
(Maybe Text -> Maybe Int -> Maybe Int -> AssessmentEvidenceFolder)
-> Parser (Maybe Text)
-> Parser (Maybe Int -> Maybe Int -> AssessmentEvidenceFolder)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"assessmentId")
Parser (Maybe Int -> Maybe Int -> AssessmentEvidenceFolder)
-> Parser (Maybe Int)
-> Parser (Maybe Int -> AssessmentEvidenceFolder)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Int)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"evidenceByTypeConfigurationDataCount")
Parser (Maybe Int -> AssessmentEvidenceFolder)
-> Parser (Maybe Int) -> Parser AssessmentEvidenceFolder
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Int)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"evidenceResourcesIncludedCount")
)
instance Prelude.Hashable AssessmentEvidenceFolder
instance Prelude.NFData AssessmentEvidenceFolder