{-# 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.Evidently.Types.ProjectSummary
-- 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.Evidently.Types.ProjectSummary where

import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import Amazonka.Evidently.Types.ProjectStatus
import qualified Amazonka.Prelude as Prelude

-- | A structure that contains configuration information about an Evidently
-- project.
--
-- /See:/ 'newProjectSummary' smart constructor.
data ProjectSummary = ProjectSummary'
  { -- | The number of experiments currently in the project.
    ProjectSummary -> Maybe Integer
activeExperimentCount :: Prelude.Maybe Prelude.Integer,
    -- | The number of ongoing launches currently in the project.
    ProjectSummary -> Maybe Integer
activeLaunchCount :: Prelude.Maybe Prelude.Integer,
    -- | The description of the project.
    ProjectSummary -> Maybe Text
description :: Prelude.Maybe Prelude.Text,
    -- | The number of experiments currently in the project.
    ProjectSummary -> Maybe Integer
experimentCount :: Prelude.Maybe Prelude.Integer,
    -- | The number of features currently in the project.
    ProjectSummary -> Maybe Integer
featureCount :: Prelude.Maybe Prelude.Integer,
    -- | The number of launches currently in the project, including launches that
    -- are ongoing, completed, and not started yet.
    ProjectSummary -> Maybe Integer
launchCount :: Prelude.Maybe Prelude.Integer,
    -- | The list of tag keys and values associated with this project.
    ProjectSummary -> Maybe (HashMap Text Text)
tags :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),
    -- | The name or ARN of the project.
    ProjectSummary -> Text
arn :: Prelude.Text,
    -- | The date and time that the project is created.
    ProjectSummary -> POSIX
createdTime :: Data.POSIX,
    -- | The date and time that the project was most recently updated.
    ProjectSummary -> POSIX
lastUpdatedTime :: Data.POSIX,
    -- | The name of the project.
    ProjectSummary -> Text
name :: Prelude.Text,
    -- | The current state of the project.
    ProjectSummary -> ProjectStatus
status :: ProjectStatus
  }
  deriving (ProjectSummary -> ProjectSummary -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ProjectSummary -> ProjectSummary -> Bool
$c/= :: ProjectSummary -> ProjectSummary -> Bool
== :: ProjectSummary -> ProjectSummary -> Bool
$c== :: ProjectSummary -> ProjectSummary -> Bool
Prelude.Eq, ReadPrec [ProjectSummary]
ReadPrec ProjectSummary
Int -> ReadS ProjectSummary
ReadS [ProjectSummary]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ProjectSummary]
$creadListPrec :: ReadPrec [ProjectSummary]
readPrec :: ReadPrec ProjectSummary
$creadPrec :: ReadPrec ProjectSummary
readList :: ReadS [ProjectSummary]
$creadList :: ReadS [ProjectSummary]
readsPrec :: Int -> ReadS ProjectSummary
$creadsPrec :: Int -> ReadS ProjectSummary
Prelude.Read, Int -> ProjectSummary -> ShowS
[ProjectSummary] -> ShowS
ProjectSummary -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ProjectSummary] -> ShowS
$cshowList :: [ProjectSummary] -> ShowS
show :: ProjectSummary -> String
$cshow :: ProjectSummary -> String
showsPrec :: Int -> ProjectSummary -> ShowS
$cshowsPrec :: Int -> ProjectSummary -> ShowS
Prelude.Show, forall x. Rep ProjectSummary x -> ProjectSummary
forall x. ProjectSummary -> Rep ProjectSummary x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ProjectSummary x -> ProjectSummary
$cfrom :: forall x. ProjectSummary -> Rep ProjectSummary x
Prelude.Generic)

-- |
-- Create a value of 'ProjectSummary' 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.
--
-- The following record fields are available, with the corresponding lenses provided
-- for backwards compatibility:
--
-- 'activeExperimentCount', 'projectSummary_activeExperimentCount' - The number of experiments currently in the project.
--
-- 'activeLaunchCount', 'projectSummary_activeLaunchCount' - The number of ongoing launches currently in the project.
--
-- 'description', 'projectSummary_description' - The description of the project.
--
-- 'experimentCount', 'projectSummary_experimentCount' - The number of experiments currently in the project.
--
-- 'featureCount', 'projectSummary_featureCount' - The number of features currently in the project.
--
-- 'launchCount', 'projectSummary_launchCount' - The number of launches currently in the project, including launches that
-- are ongoing, completed, and not started yet.
--
-- 'tags', 'projectSummary_tags' - The list of tag keys and values associated with this project.
--
-- 'arn', 'projectSummary_arn' - The name or ARN of the project.
--
-- 'createdTime', 'projectSummary_createdTime' - The date and time that the project is created.
--
-- 'lastUpdatedTime', 'projectSummary_lastUpdatedTime' - The date and time that the project was most recently updated.
--
-- 'name', 'projectSummary_name' - The name of the project.
--
-- 'status', 'projectSummary_status' - The current state of the project.
newProjectSummary ::
  -- | 'arn'
  Prelude.Text ->
  -- | 'createdTime'
  Prelude.UTCTime ->
  -- | 'lastUpdatedTime'
  Prelude.UTCTime ->
  -- | 'name'
  Prelude.Text ->
  -- | 'status'
  ProjectStatus ->
  ProjectSummary
newProjectSummary :: Text
-> UTCTime -> UTCTime -> Text -> ProjectStatus -> ProjectSummary
newProjectSummary
  Text
pArn_
  UTCTime
pCreatedTime_
  UTCTime
pLastUpdatedTime_
  Text
pName_
  ProjectStatus
pStatus_ =
    ProjectSummary'
      { $sel:activeExperimentCount:ProjectSummary' :: Maybe Integer
activeExperimentCount =
          forall a. Maybe a
Prelude.Nothing,
        $sel:activeLaunchCount:ProjectSummary' :: Maybe Integer
activeLaunchCount = forall a. Maybe a
Prelude.Nothing,
        $sel:description:ProjectSummary' :: Maybe Text
description = forall a. Maybe a
Prelude.Nothing,
        $sel:experimentCount:ProjectSummary' :: Maybe Integer
experimentCount = forall a. Maybe a
Prelude.Nothing,
        $sel:featureCount:ProjectSummary' :: Maybe Integer
featureCount = forall a. Maybe a
Prelude.Nothing,
        $sel:launchCount:ProjectSummary' :: Maybe Integer
launchCount = forall a. Maybe a
Prelude.Nothing,
        $sel:tags:ProjectSummary' :: Maybe (HashMap Text Text)
tags = forall a. Maybe a
Prelude.Nothing,
        $sel:arn:ProjectSummary' :: Text
arn = Text
pArn_,
        $sel:createdTime:ProjectSummary' :: POSIX
createdTime = forall (a :: Format). Iso' (Time a) UTCTime
Data._Time forall t b. AReview t b -> b -> t
Lens.# UTCTime
pCreatedTime_,
        $sel:lastUpdatedTime:ProjectSummary' :: POSIX
lastUpdatedTime =
          forall (a :: Format). Iso' (Time a) UTCTime
Data._Time forall t b. AReview t b -> b -> t
Lens.# UTCTime
pLastUpdatedTime_,
        $sel:name:ProjectSummary' :: Text
name = Text
pName_,
        $sel:status:ProjectSummary' :: ProjectStatus
status = ProjectStatus
pStatus_
      }

-- | The number of experiments currently in the project.
projectSummary_activeExperimentCount :: Lens.Lens' ProjectSummary (Prelude.Maybe Prelude.Integer)
projectSummary_activeExperimentCount :: Lens' ProjectSummary (Maybe Integer)
projectSummary_activeExperimentCount = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProjectSummary' {Maybe Integer
activeExperimentCount :: Maybe Integer
$sel:activeExperimentCount:ProjectSummary' :: ProjectSummary -> Maybe Integer
activeExperimentCount} -> Maybe Integer
activeExperimentCount) (\s :: ProjectSummary
s@ProjectSummary' {} Maybe Integer
a -> ProjectSummary
s {$sel:activeExperimentCount:ProjectSummary' :: Maybe Integer
activeExperimentCount = Maybe Integer
a} :: ProjectSummary)

-- | The number of ongoing launches currently in the project.
projectSummary_activeLaunchCount :: Lens.Lens' ProjectSummary (Prelude.Maybe Prelude.Integer)
projectSummary_activeLaunchCount :: Lens' ProjectSummary (Maybe Integer)
projectSummary_activeLaunchCount = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProjectSummary' {Maybe Integer
activeLaunchCount :: Maybe Integer
$sel:activeLaunchCount:ProjectSummary' :: ProjectSummary -> Maybe Integer
activeLaunchCount} -> Maybe Integer
activeLaunchCount) (\s :: ProjectSummary
s@ProjectSummary' {} Maybe Integer
a -> ProjectSummary
s {$sel:activeLaunchCount:ProjectSummary' :: Maybe Integer
activeLaunchCount = Maybe Integer
a} :: ProjectSummary)

-- | The description of the project.
projectSummary_description :: Lens.Lens' ProjectSummary (Prelude.Maybe Prelude.Text)
projectSummary_description :: Lens' ProjectSummary (Maybe Text)
projectSummary_description = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProjectSummary' {Maybe Text
description :: Maybe Text
$sel:description:ProjectSummary' :: ProjectSummary -> Maybe Text
description} -> Maybe Text
description) (\s :: ProjectSummary
s@ProjectSummary' {} Maybe Text
a -> ProjectSummary
s {$sel:description:ProjectSummary' :: Maybe Text
description = Maybe Text
a} :: ProjectSummary)

-- | The number of experiments currently in the project.
projectSummary_experimentCount :: Lens.Lens' ProjectSummary (Prelude.Maybe Prelude.Integer)
projectSummary_experimentCount :: Lens' ProjectSummary (Maybe Integer)
projectSummary_experimentCount = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProjectSummary' {Maybe Integer
experimentCount :: Maybe Integer
$sel:experimentCount:ProjectSummary' :: ProjectSummary -> Maybe Integer
experimentCount} -> Maybe Integer
experimentCount) (\s :: ProjectSummary
s@ProjectSummary' {} Maybe Integer
a -> ProjectSummary
s {$sel:experimentCount:ProjectSummary' :: Maybe Integer
experimentCount = Maybe Integer
a} :: ProjectSummary)

-- | The number of features currently in the project.
projectSummary_featureCount :: Lens.Lens' ProjectSummary (Prelude.Maybe Prelude.Integer)
projectSummary_featureCount :: Lens' ProjectSummary (Maybe Integer)
projectSummary_featureCount = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProjectSummary' {Maybe Integer
featureCount :: Maybe Integer
$sel:featureCount:ProjectSummary' :: ProjectSummary -> Maybe Integer
featureCount} -> Maybe Integer
featureCount) (\s :: ProjectSummary
s@ProjectSummary' {} Maybe Integer
a -> ProjectSummary
s {$sel:featureCount:ProjectSummary' :: Maybe Integer
featureCount = Maybe Integer
a} :: ProjectSummary)

-- | The number of launches currently in the project, including launches that
-- are ongoing, completed, and not started yet.
projectSummary_launchCount :: Lens.Lens' ProjectSummary (Prelude.Maybe Prelude.Integer)
projectSummary_launchCount :: Lens' ProjectSummary (Maybe Integer)
projectSummary_launchCount = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProjectSummary' {Maybe Integer
launchCount :: Maybe Integer
$sel:launchCount:ProjectSummary' :: ProjectSummary -> Maybe Integer
launchCount} -> Maybe Integer
launchCount) (\s :: ProjectSummary
s@ProjectSummary' {} Maybe Integer
a -> ProjectSummary
s {$sel:launchCount:ProjectSummary' :: Maybe Integer
launchCount = Maybe Integer
a} :: ProjectSummary)

-- | The list of tag keys and values associated with this project.
projectSummary_tags :: Lens.Lens' ProjectSummary (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))
projectSummary_tags :: Lens' ProjectSummary (Maybe (HashMap Text Text))
projectSummary_tags = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProjectSummary' {Maybe (HashMap Text Text)
tags :: Maybe (HashMap Text Text)
$sel:tags:ProjectSummary' :: ProjectSummary -> Maybe (HashMap Text Text)
tags} -> Maybe (HashMap Text Text)
tags) (\s :: ProjectSummary
s@ProjectSummary' {} Maybe (HashMap Text Text)
a -> ProjectSummary
s {$sel:tags:ProjectSummary' :: Maybe (HashMap Text Text)
tags = Maybe (HashMap Text Text)
a} :: ProjectSummary) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. 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 forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | The name or ARN of the project.
projectSummary_arn :: Lens.Lens' ProjectSummary Prelude.Text
projectSummary_arn :: Lens' ProjectSummary Text
projectSummary_arn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProjectSummary' {Text
arn :: Text
$sel:arn:ProjectSummary' :: ProjectSummary -> Text
arn} -> Text
arn) (\s :: ProjectSummary
s@ProjectSummary' {} Text
a -> ProjectSummary
s {$sel:arn:ProjectSummary' :: Text
arn = Text
a} :: ProjectSummary)

-- | The date and time that the project is created.
projectSummary_createdTime :: Lens.Lens' ProjectSummary Prelude.UTCTime
projectSummary_createdTime :: Lens' ProjectSummary UTCTime
projectSummary_createdTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProjectSummary' {POSIX
createdTime :: POSIX
$sel:createdTime:ProjectSummary' :: ProjectSummary -> POSIX
createdTime} -> POSIX
createdTime) (\s :: ProjectSummary
s@ProjectSummary' {} POSIX
a -> ProjectSummary
s {$sel:createdTime:ProjectSummary' :: POSIX
createdTime = POSIX
a} :: ProjectSummary) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (a :: Format). Iso' (Time a) UTCTime
Data._Time

-- | The date and time that the project was most recently updated.
projectSummary_lastUpdatedTime :: Lens.Lens' ProjectSummary Prelude.UTCTime
projectSummary_lastUpdatedTime :: Lens' ProjectSummary UTCTime
projectSummary_lastUpdatedTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProjectSummary' {POSIX
lastUpdatedTime :: POSIX
$sel:lastUpdatedTime:ProjectSummary' :: ProjectSummary -> POSIX
lastUpdatedTime} -> POSIX
lastUpdatedTime) (\s :: ProjectSummary
s@ProjectSummary' {} POSIX
a -> ProjectSummary
s {$sel:lastUpdatedTime:ProjectSummary' :: POSIX
lastUpdatedTime = POSIX
a} :: ProjectSummary) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (a :: Format). Iso' (Time a) UTCTime
Data._Time

-- | The name of the project.
projectSummary_name :: Lens.Lens' ProjectSummary Prelude.Text
projectSummary_name :: Lens' ProjectSummary Text
projectSummary_name = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProjectSummary' {Text
name :: Text
$sel:name:ProjectSummary' :: ProjectSummary -> Text
name} -> Text
name) (\s :: ProjectSummary
s@ProjectSummary' {} Text
a -> ProjectSummary
s {$sel:name:ProjectSummary' :: Text
name = Text
a} :: ProjectSummary)

-- | The current state of the project.
projectSummary_status :: Lens.Lens' ProjectSummary ProjectStatus
projectSummary_status :: Lens' ProjectSummary ProjectStatus
projectSummary_status = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProjectSummary' {ProjectStatus
status :: ProjectStatus
$sel:status:ProjectSummary' :: ProjectSummary -> ProjectStatus
status} -> ProjectStatus
status) (\s :: ProjectSummary
s@ProjectSummary' {} ProjectStatus
a -> ProjectSummary
s {$sel:status:ProjectSummary' :: ProjectStatus
status = ProjectStatus
a} :: ProjectSummary)

instance Data.FromJSON ProjectSummary where
  parseJSON :: Value -> Parser ProjectSummary
parseJSON =
    forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
      String
"ProjectSummary"
      ( \Object
x ->
          Maybe Integer
-> Maybe Integer
-> Maybe Text
-> Maybe Integer
-> Maybe Integer
-> Maybe Integer
-> Maybe (HashMap Text Text)
-> Text
-> POSIX
-> POSIX
-> Text
-> ProjectStatus
-> ProjectSummary
ProjectSummary'
            forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"activeExperimentCount")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"activeLaunchCount")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"description")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"experimentCount")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"featureCount")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"launchCount")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"tags" forall a. Parser (Maybe a) -> a -> Parser a
Data..!= forall a. Monoid a => a
Prelude.mempty)
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"arn")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"createdTime")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"lastUpdatedTime")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"name")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"status")
      )

instance Prelude.Hashable ProjectSummary where
  hashWithSalt :: Int -> ProjectSummary -> Int
hashWithSalt Int
_salt ProjectSummary' {Maybe Integer
Maybe Text
Maybe (HashMap Text Text)
Text
POSIX
ProjectStatus
status :: ProjectStatus
name :: Text
lastUpdatedTime :: POSIX
createdTime :: POSIX
arn :: Text
tags :: Maybe (HashMap Text Text)
launchCount :: Maybe Integer
featureCount :: Maybe Integer
experimentCount :: Maybe Integer
description :: Maybe Text
activeLaunchCount :: Maybe Integer
activeExperimentCount :: Maybe Integer
$sel:status:ProjectSummary' :: ProjectSummary -> ProjectStatus
$sel:name:ProjectSummary' :: ProjectSummary -> Text
$sel:lastUpdatedTime:ProjectSummary' :: ProjectSummary -> POSIX
$sel:createdTime:ProjectSummary' :: ProjectSummary -> POSIX
$sel:arn:ProjectSummary' :: ProjectSummary -> Text
$sel:tags:ProjectSummary' :: ProjectSummary -> Maybe (HashMap Text Text)
$sel:launchCount:ProjectSummary' :: ProjectSummary -> Maybe Integer
$sel:featureCount:ProjectSummary' :: ProjectSummary -> Maybe Integer
$sel:experimentCount:ProjectSummary' :: ProjectSummary -> Maybe Integer
$sel:description:ProjectSummary' :: ProjectSummary -> Maybe Text
$sel:activeLaunchCount:ProjectSummary' :: ProjectSummary -> Maybe Integer
$sel:activeExperimentCount:ProjectSummary' :: ProjectSummary -> Maybe Integer
..} =
    Int
_salt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Integer
activeExperimentCount
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Integer
activeLaunchCount
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
description
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Integer
experimentCount
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Integer
featureCount
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Integer
launchCount
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe (HashMap Text Text)
tags
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
arn
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` POSIX
createdTime
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` POSIX
lastUpdatedTime
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
name
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` ProjectStatus
status

instance Prelude.NFData ProjectSummary where
  rnf :: ProjectSummary -> ()
rnf ProjectSummary' {Maybe Integer
Maybe Text
Maybe (HashMap Text Text)
Text
POSIX
ProjectStatus
status :: ProjectStatus
name :: Text
lastUpdatedTime :: POSIX
createdTime :: POSIX
arn :: Text
tags :: Maybe (HashMap Text Text)
launchCount :: Maybe Integer
featureCount :: Maybe Integer
experimentCount :: Maybe Integer
description :: Maybe Text
activeLaunchCount :: Maybe Integer
activeExperimentCount :: Maybe Integer
$sel:status:ProjectSummary' :: ProjectSummary -> ProjectStatus
$sel:name:ProjectSummary' :: ProjectSummary -> Text
$sel:lastUpdatedTime:ProjectSummary' :: ProjectSummary -> POSIX
$sel:createdTime:ProjectSummary' :: ProjectSummary -> POSIX
$sel:arn:ProjectSummary' :: ProjectSummary -> Text
$sel:tags:ProjectSummary' :: ProjectSummary -> Maybe (HashMap Text Text)
$sel:launchCount:ProjectSummary' :: ProjectSummary -> Maybe Integer
$sel:featureCount:ProjectSummary' :: ProjectSummary -> Maybe Integer
$sel:experimentCount:ProjectSummary' :: ProjectSummary -> Maybe Integer
$sel:description:ProjectSummary' :: ProjectSummary -> Maybe Text
$sel:activeLaunchCount:ProjectSummary' :: ProjectSummary -> Maybe Integer
$sel:activeExperimentCount:ProjectSummary' :: ProjectSummary -> Maybe Integer
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe Integer
activeExperimentCount
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Integer
activeLaunchCount
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
description
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Integer
experimentCount
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Integer
featureCount
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Integer
launchCount
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe (HashMap Text Text)
tags
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
arn
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf POSIX
createdTime
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf POSIX
lastUpdatedTime
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
name
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf ProjectStatus
status