{-# 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.MigrationHubOrchestrator.Types.MigrationWorkflowSummary
-- 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.MigrationHubOrchestrator.Types.MigrationWorkflowSummary where

import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import Amazonka.MigrationHubOrchestrator.Types.MigrationWorkflowStatusEnum
import qualified Amazonka.Prelude as Prelude

-- | The summary of a migration workflow.
--
-- /See:/ 'newMigrationWorkflowSummary' smart constructor.
data MigrationWorkflowSummary = MigrationWorkflowSummary'
  { -- | The name of the application configured in Application Discovery Service.
    MigrationWorkflowSummary -> Maybe Text
adsApplicationConfigurationName :: Prelude.Maybe Prelude.Text,
    -- | The steps completed in the migration workflow.
    MigrationWorkflowSummary -> Maybe Int
completedSteps :: Prelude.Maybe Prelude.Int,
    -- | The time at which the migration workflow was created.
    MigrationWorkflowSummary -> Maybe POSIX
creationTime :: Prelude.Maybe Data.POSIX,
    -- | The time at which the migration workflow ended.
    MigrationWorkflowSummary -> Maybe POSIX
endTime :: Prelude.Maybe Data.POSIX,
    -- | The ID of the migration workflow.
    MigrationWorkflowSummary -> Maybe Text
id :: Prelude.Maybe Prelude.Text,
    -- | The name of the migration workflow.
    MigrationWorkflowSummary -> Maybe Text
name :: Prelude.Maybe Prelude.Text,
    -- | The status of the migration workflow.
    MigrationWorkflowSummary -> Maybe MigrationWorkflowStatusEnum
status :: Prelude.Maybe MigrationWorkflowStatusEnum,
    -- | The status message of the migration workflow.
    MigrationWorkflowSummary -> Maybe Text
statusMessage :: Prelude.Maybe Prelude.Text,
    -- | The ID of the template.
    MigrationWorkflowSummary -> Maybe Text
templateId :: Prelude.Maybe Prelude.Text,
    -- | All the steps in a migration workflow.
    MigrationWorkflowSummary -> Maybe Int
totalSteps :: Prelude.Maybe Prelude.Int
  }
  deriving (MigrationWorkflowSummary -> MigrationWorkflowSummary -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: MigrationWorkflowSummary -> MigrationWorkflowSummary -> Bool
$c/= :: MigrationWorkflowSummary -> MigrationWorkflowSummary -> Bool
== :: MigrationWorkflowSummary -> MigrationWorkflowSummary -> Bool
$c== :: MigrationWorkflowSummary -> MigrationWorkflowSummary -> Bool
Prelude.Eq, ReadPrec [MigrationWorkflowSummary]
ReadPrec MigrationWorkflowSummary
Int -> ReadS MigrationWorkflowSummary
ReadS [MigrationWorkflowSummary]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [MigrationWorkflowSummary]
$creadListPrec :: ReadPrec [MigrationWorkflowSummary]
readPrec :: ReadPrec MigrationWorkflowSummary
$creadPrec :: ReadPrec MigrationWorkflowSummary
readList :: ReadS [MigrationWorkflowSummary]
$creadList :: ReadS [MigrationWorkflowSummary]
readsPrec :: Int -> ReadS MigrationWorkflowSummary
$creadsPrec :: Int -> ReadS MigrationWorkflowSummary
Prelude.Read, Int -> MigrationWorkflowSummary -> ShowS
[MigrationWorkflowSummary] -> ShowS
MigrationWorkflowSummary -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [MigrationWorkflowSummary] -> ShowS
$cshowList :: [MigrationWorkflowSummary] -> ShowS
show :: MigrationWorkflowSummary -> String
$cshow :: MigrationWorkflowSummary -> String
showsPrec :: Int -> MigrationWorkflowSummary -> ShowS
$cshowsPrec :: Int -> MigrationWorkflowSummary -> ShowS
Prelude.Show, forall x.
Rep MigrationWorkflowSummary x -> MigrationWorkflowSummary
forall x.
MigrationWorkflowSummary -> Rep MigrationWorkflowSummary x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep MigrationWorkflowSummary x -> MigrationWorkflowSummary
$cfrom :: forall x.
MigrationWorkflowSummary -> Rep MigrationWorkflowSummary x
Prelude.Generic)

-- |
-- Create a value of 'MigrationWorkflowSummary' 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:
--
-- 'adsApplicationConfigurationName', 'migrationWorkflowSummary_adsApplicationConfigurationName' - The name of the application configured in Application Discovery Service.
--
-- 'completedSteps', 'migrationWorkflowSummary_completedSteps' - The steps completed in the migration workflow.
--
-- 'creationTime', 'migrationWorkflowSummary_creationTime' - The time at which the migration workflow was created.
--
-- 'endTime', 'migrationWorkflowSummary_endTime' - The time at which the migration workflow ended.
--
-- 'id', 'migrationWorkflowSummary_id' - The ID of the migration workflow.
--
-- 'name', 'migrationWorkflowSummary_name' - The name of the migration workflow.
--
-- 'status', 'migrationWorkflowSummary_status' - The status of the migration workflow.
--
-- 'statusMessage', 'migrationWorkflowSummary_statusMessage' - The status message of the migration workflow.
--
-- 'templateId', 'migrationWorkflowSummary_templateId' - The ID of the template.
--
-- 'totalSteps', 'migrationWorkflowSummary_totalSteps' - All the steps in a migration workflow.
newMigrationWorkflowSummary ::
  MigrationWorkflowSummary
newMigrationWorkflowSummary :: MigrationWorkflowSummary
newMigrationWorkflowSummary =
  MigrationWorkflowSummary'
    { $sel:adsApplicationConfigurationName:MigrationWorkflowSummary' :: Maybe Text
adsApplicationConfigurationName =
        forall a. Maybe a
Prelude.Nothing,
      $sel:completedSteps:MigrationWorkflowSummary' :: Maybe Int
completedSteps = forall a. Maybe a
Prelude.Nothing,
      $sel:creationTime:MigrationWorkflowSummary' :: Maybe POSIX
creationTime = forall a. Maybe a
Prelude.Nothing,
      $sel:endTime:MigrationWorkflowSummary' :: Maybe POSIX
endTime = forall a. Maybe a
Prelude.Nothing,
      $sel:id:MigrationWorkflowSummary' :: Maybe Text
id = forall a. Maybe a
Prelude.Nothing,
      $sel:name:MigrationWorkflowSummary' :: Maybe Text
name = forall a. Maybe a
Prelude.Nothing,
      $sel:status:MigrationWorkflowSummary' :: Maybe MigrationWorkflowStatusEnum
status = forall a. Maybe a
Prelude.Nothing,
      $sel:statusMessage:MigrationWorkflowSummary' :: Maybe Text
statusMessage = forall a. Maybe a
Prelude.Nothing,
      $sel:templateId:MigrationWorkflowSummary' :: Maybe Text
templateId = forall a. Maybe a
Prelude.Nothing,
      $sel:totalSteps:MigrationWorkflowSummary' :: Maybe Int
totalSteps = forall a. Maybe a
Prelude.Nothing
    }

-- | The name of the application configured in Application Discovery Service.
migrationWorkflowSummary_adsApplicationConfigurationName :: Lens.Lens' MigrationWorkflowSummary (Prelude.Maybe Prelude.Text)
migrationWorkflowSummary_adsApplicationConfigurationName :: Lens' MigrationWorkflowSummary (Maybe Text)
migrationWorkflowSummary_adsApplicationConfigurationName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MigrationWorkflowSummary' {Maybe Text
adsApplicationConfigurationName :: Maybe Text
$sel:adsApplicationConfigurationName:MigrationWorkflowSummary' :: MigrationWorkflowSummary -> Maybe Text
adsApplicationConfigurationName} -> Maybe Text
adsApplicationConfigurationName) (\s :: MigrationWorkflowSummary
s@MigrationWorkflowSummary' {} Maybe Text
a -> MigrationWorkflowSummary
s {$sel:adsApplicationConfigurationName:MigrationWorkflowSummary' :: Maybe Text
adsApplicationConfigurationName = Maybe Text
a} :: MigrationWorkflowSummary)

-- | The steps completed in the migration workflow.
migrationWorkflowSummary_completedSteps :: Lens.Lens' MigrationWorkflowSummary (Prelude.Maybe Prelude.Int)
migrationWorkflowSummary_completedSteps :: Lens' MigrationWorkflowSummary (Maybe Int)
migrationWorkflowSummary_completedSteps = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MigrationWorkflowSummary' {Maybe Int
completedSteps :: Maybe Int
$sel:completedSteps:MigrationWorkflowSummary' :: MigrationWorkflowSummary -> Maybe Int
completedSteps} -> Maybe Int
completedSteps) (\s :: MigrationWorkflowSummary
s@MigrationWorkflowSummary' {} Maybe Int
a -> MigrationWorkflowSummary
s {$sel:completedSteps:MigrationWorkflowSummary' :: Maybe Int
completedSteps = Maybe Int
a} :: MigrationWorkflowSummary)

-- | The time at which the migration workflow was created.
migrationWorkflowSummary_creationTime :: Lens.Lens' MigrationWorkflowSummary (Prelude.Maybe Prelude.UTCTime)
migrationWorkflowSummary_creationTime :: Lens' MigrationWorkflowSummary (Maybe UTCTime)
migrationWorkflowSummary_creationTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MigrationWorkflowSummary' {Maybe POSIX
creationTime :: Maybe POSIX
$sel:creationTime:MigrationWorkflowSummary' :: MigrationWorkflowSummary -> Maybe POSIX
creationTime} -> Maybe POSIX
creationTime) (\s :: MigrationWorkflowSummary
s@MigrationWorkflowSummary' {} Maybe POSIX
a -> MigrationWorkflowSummary
s {$sel:creationTime:MigrationWorkflowSummary' :: Maybe POSIX
creationTime = Maybe POSIX
a} :: MigrationWorkflowSummary) 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 (a :: Format). Iso' (Time a) UTCTime
Data._Time

-- | The time at which the migration workflow ended.
migrationWorkflowSummary_endTime :: Lens.Lens' MigrationWorkflowSummary (Prelude.Maybe Prelude.UTCTime)
migrationWorkflowSummary_endTime :: Lens' MigrationWorkflowSummary (Maybe UTCTime)
migrationWorkflowSummary_endTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MigrationWorkflowSummary' {Maybe POSIX
endTime :: Maybe POSIX
$sel:endTime:MigrationWorkflowSummary' :: MigrationWorkflowSummary -> Maybe POSIX
endTime} -> Maybe POSIX
endTime) (\s :: MigrationWorkflowSummary
s@MigrationWorkflowSummary' {} Maybe POSIX
a -> MigrationWorkflowSummary
s {$sel:endTime:MigrationWorkflowSummary' :: Maybe POSIX
endTime = Maybe POSIX
a} :: MigrationWorkflowSummary) 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 (a :: Format). Iso' (Time a) UTCTime
Data._Time

-- | The ID of the migration workflow.
migrationWorkflowSummary_id :: Lens.Lens' MigrationWorkflowSummary (Prelude.Maybe Prelude.Text)
migrationWorkflowSummary_id :: Lens' MigrationWorkflowSummary (Maybe Text)
migrationWorkflowSummary_id = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MigrationWorkflowSummary' {Maybe Text
id :: Maybe Text
$sel:id:MigrationWorkflowSummary' :: MigrationWorkflowSummary -> Maybe Text
id} -> Maybe Text
id) (\s :: MigrationWorkflowSummary
s@MigrationWorkflowSummary' {} Maybe Text
a -> MigrationWorkflowSummary
s {$sel:id:MigrationWorkflowSummary' :: Maybe Text
id = Maybe Text
a} :: MigrationWorkflowSummary)

-- | The name of the migration workflow.
migrationWorkflowSummary_name :: Lens.Lens' MigrationWorkflowSummary (Prelude.Maybe Prelude.Text)
migrationWorkflowSummary_name :: Lens' MigrationWorkflowSummary (Maybe Text)
migrationWorkflowSummary_name = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MigrationWorkflowSummary' {Maybe Text
name :: Maybe Text
$sel:name:MigrationWorkflowSummary' :: MigrationWorkflowSummary -> Maybe Text
name} -> Maybe Text
name) (\s :: MigrationWorkflowSummary
s@MigrationWorkflowSummary' {} Maybe Text
a -> MigrationWorkflowSummary
s {$sel:name:MigrationWorkflowSummary' :: Maybe Text
name = Maybe Text
a} :: MigrationWorkflowSummary)

-- | The status of the migration workflow.
migrationWorkflowSummary_status :: Lens.Lens' MigrationWorkflowSummary (Prelude.Maybe MigrationWorkflowStatusEnum)
migrationWorkflowSummary_status :: Lens' MigrationWorkflowSummary (Maybe MigrationWorkflowStatusEnum)
migrationWorkflowSummary_status = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MigrationWorkflowSummary' {Maybe MigrationWorkflowStatusEnum
status :: Maybe MigrationWorkflowStatusEnum
$sel:status:MigrationWorkflowSummary' :: MigrationWorkflowSummary -> Maybe MigrationWorkflowStatusEnum
status} -> Maybe MigrationWorkflowStatusEnum
status) (\s :: MigrationWorkflowSummary
s@MigrationWorkflowSummary' {} Maybe MigrationWorkflowStatusEnum
a -> MigrationWorkflowSummary
s {$sel:status:MigrationWorkflowSummary' :: Maybe MigrationWorkflowStatusEnum
status = Maybe MigrationWorkflowStatusEnum
a} :: MigrationWorkflowSummary)

-- | The status message of the migration workflow.
migrationWorkflowSummary_statusMessage :: Lens.Lens' MigrationWorkflowSummary (Prelude.Maybe Prelude.Text)
migrationWorkflowSummary_statusMessage :: Lens' MigrationWorkflowSummary (Maybe Text)
migrationWorkflowSummary_statusMessage = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MigrationWorkflowSummary' {Maybe Text
statusMessage :: Maybe Text
$sel:statusMessage:MigrationWorkflowSummary' :: MigrationWorkflowSummary -> Maybe Text
statusMessage} -> Maybe Text
statusMessage) (\s :: MigrationWorkflowSummary
s@MigrationWorkflowSummary' {} Maybe Text
a -> MigrationWorkflowSummary
s {$sel:statusMessage:MigrationWorkflowSummary' :: Maybe Text
statusMessage = Maybe Text
a} :: MigrationWorkflowSummary)

-- | The ID of the template.
migrationWorkflowSummary_templateId :: Lens.Lens' MigrationWorkflowSummary (Prelude.Maybe Prelude.Text)
migrationWorkflowSummary_templateId :: Lens' MigrationWorkflowSummary (Maybe Text)
migrationWorkflowSummary_templateId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MigrationWorkflowSummary' {Maybe Text
templateId :: Maybe Text
$sel:templateId:MigrationWorkflowSummary' :: MigrationWorkflowSummary -> Maybe Text
templateId} -> Maybe Text
templateId) (\s :: MigrationWorkflowSummary
s@MigrationWorkflowSummary' {} Maybe Text
a -> MigrationWorkflowSummary
s {$sel:templateId:MigrationWorkflowSummary' :: Maybe Text
templateId = Maybe Text
a} :: MigrationWorkflowSummary)

-- | All the steps in a migration workflow.
migrationWorkflowSummary_totalSteps :: Lens.Lens' MigrationWorkflowSummary (Prelude.Maybe Prelude.Int)
migrationWorkflowSummary_totalSteps :: Lens' MigrationWorkflowSummary (Maybe Int)
migrationWorkflowSummary_totalSteps = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MigrationWorkflowSummary' {Maybe Int
totalSteps :: Maybe Int
$sel:totalSteps:MigrationWorkflowSummary' :: MigrationWorkflowSummary -> Maybe Int
totalSteps} -> Maybe Int
totalSteps) (\s :: MigrationWorkflowSummary
s@MigrationWorkflowSummary' {} Maybe Int
a -> MigrationWorkflowSummary
s {$sel:totalSteps:MigrationWorkflowSummary' :: Maybe Int
totalSteps = Maybe Int
a} :: MigrationWorkflowSummary)

instance Data.FromJSON MigrationWorkflowSummary where
  parseJSON :: Value -> Parser MigrationWorkflowSummary
parseJSON =
    forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
      String
"MigrationWorkflowSummary"
      ( \Object
x ->
          Maybe Text
-> Maybe Int
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe MigrationWorkflowStatusEnum
-> Maybe Text
-> Maybe Text
-> Maybe Int
-> MigrationWorkflowSummary
MigrationWorkflowSummary'
            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
"adsApplicationConfigurationName")
            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
"completedSteps")
            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
"creationTime")
            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
"endTime")
            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
"id")
            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
"name")
            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
"status")
            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
"statusMessage")
            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
"templateId")
            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
"totalSteps")
      )

instance Prelude.Hashable MigrationWorkflowSummary where
  hashWithSalt :: Int -> MigrationWorkflowSummary -> Int
hashWithSalt Int
_salt MigrationWorkflowSummary' {Maybe Int
Maybe Text
Maybe POSIX
Maybe MigrationWorkflowStatusEnum
totalSteps :: Maybe Int
templateId :: Maybe Text
statusMessage :: Maybe Text
status :: Maybe MigrationWorkflowStatusEnum
name :: Maybe Text
id :: Maybe Text
endTime :: Maybe POSIX
creationTime :: Maybe POSIX
completedSteps :: Maybe Int
adsApplicationConfigurationName :: Maybe Text
$sel:totalSteps:MigrationWorkflowSummary' :: MigrationWorkflowSummary -> Maybe Int
$sel:templateId:MigrationWorkflowSummary' :: MigrationWorkflowSummary -> Maybe Text
$sel:statusMessage:MigrationWorkflowSummary' :: MigrationWorkflowSummary -> Maybe Text
$sel:status:MigrationWorkflowSummary' :: MigrationWorkflowSummary -> Maybe MigrationWorkflowStatusEnum
$sel:name:MigrationWorkflowSummary' :: MigrationWorkflowSummary -> Maybe Text
$sel:id:MigrationWorkflowSummary' :: MigrationWorkflowSummary -> Maybe Text
$sel:endTime:MigrationWorkflowSummary' :: MigrationWorkflowSummary -> Maybe POSIX
$sel:creationTime:MigrationWorkflowSummary' :: MigrationWorkflowSummary -> Maybe POSIX
$sel:completedSteps:MigrationWorkflowSummary' :: MigrationWorkflowSummary -> Maybe Int
$sel:adsApplicationConfigurationName:MigrationWorkflowSummary' :: MigrationWorkflowSummary -> Maybe Text
..} =
    Int
_salt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
adsApplicationConfigurationName
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Int
completedSteps
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe POSIX
creationTime
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe POSIX
endTime
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
id
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
name
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe MigrationWorkflowStatusEnum
status
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
statusMessage
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
templateId
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Int
totalSteps

instance Prelude.NFData MigrationWorkflowSummary where
  rnf :: MigrationWorkflowSummary -> ()
rnf MigrationWorkflowSummary' {Maybe Int
Maybe Text
Maybe POSIX
Maybe MigrationWorkflowStatusEnum
totalSteps :: Maybe Int
templateId :: Maybe Text
statusMessage :: Maybe Text
status :: Maybe MigrationWorkflowStatusEnum
name :: Maybe Text
id :: Maybe Text
endTime :: Maybe POSIX
creationTime :: Maybe POSIX
completedSteps :: Maybe Int
adsApplicationConfigurationName :: Maybe Text
$sel:totalSteps:MigrationWorkflowSummary' :: MigrationWorkflowSummary -> Maybe Int
$sel:templateId:MigrationWorkflowSummary' :: MigrationWorkflowSummary -> Maybe Text
$sel:statusMessage:MigrationWorkflowSummary' :: MigrationWorkflowSummary -> Maybe Text
$sel:status:MigrationWorkflowSummary' :: MigrationWorkflowSummary -> Maybe MigrationWorkflowStatusEnum
$sel:name:MigrationWorkflowSummary' :: MigrationWorkflowSummary -> Maybe Text
$sel:id:MigrationWorkflowSummary' :: MigrationWorkflowSummary -> Maybe Text
$sel:endTime:MigrationWorkflowSummary' :: MigrationWorkflowSummary -> Maybe POSIX
$sel:creationTime:MigrationWorkflowSummary' :: MigrationWorkflowSummary -> Maybe POSIX
$sel:completedSteps:MigrationWorkflowSummary' :: MigrationWorkflowSummary -> Maybe Int
$sel:adsApplicationConfigurationName:MigrationWorkflowSummary' :: MigrationWorkflowSummary -> Maybe Text
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
adsApplicationConfigurationName
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Int
completedSteps
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe POSIX
creationTime
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe POSIX
endTime
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
id
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
name
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe MigrationWorkflowStatusEnum
status
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
statusMessage
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
templateId
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Int
totalSteps