{-# 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.Forecast.Types.WhatIfForecastExportSummary
-- 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.Forecast.Types.WhatIfForecastExportSummary where

import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import Amazonka.Forecast.Types.DataDestination
import qualified Amazonka.Prelude as Prelude

-- | Provides a summary of the what-if forecast export properties used in the
-- ListWhatIfForecastExports operation. To get the complete set of
-- properties, call the DescribeWhatIfForecastExport operation, and provide
-- the @WhatIfForecastExportArn@ that is listed in the summary.
--
-- /See:/ 'newWhatIfForecastExportSummary' smart constructor.
data WhatIfForecastExportSummary = WhatIfForecastExportSummary'
  { -- | When the what-if forecast export was created.
    WhatIfForecastExportSummary -> Maybe POSIX
creationTime :: Prelude.Maybe Data.POSIX,
    -- | The path to the Amazon Simple Storage Service (Amazon S3) bucket where
    -- the forecast is exported.
    WhatIfForecastExportSummary -> Maybe DataDestination
destination :: Prelude.Maybe DataDestination,
    -- | The last time the resource was modified. The timestamp depends on the
    -- status of the job:
    --
    -- -   @CREATE_PENDING@ - The @CreationTime@.
    --
    -- -   @CREATE_IN_PROGRESS@ - The current timestamp.
    --
    -- -   @CREATE_STOPPING@ - The current timestamp.
    --
    -- -   @CREATE_STOPPED@ - When the job stopped.
    --
    -- -   @ACTIVE@ or @CREATE_FAILED@ - When the job finished or failed.
    WhatIfForecastExportSummary -> Maybe POSIX
lastModificationTime :: Prelude.Maybe Data.POSIX,
    -- | If an error occurred, an informational message about the error.
    WhatIfForecastExportSummary -> Maybe Text
message :: Prelude.Maybe Prelude.Text,
    -- | The status of the what-if forecast export. States include:
    --
    -- -   @ACTIVE@
    --
    -- -   @CREATE_PENDING@, @CREATE_IN_PROGRESS@, @CREATE_FAILED@
    --
    -- -   @CREATE_STOPPING@, @CREATE_STOPPED@
    --
    -- -   @DELETE_PENDING@, @DELETE_IN_PROGRESS@, @DELETE_FAILED@
    --
    -- The @Status@ of the what-if analysis must be @ACTIVE@ before you can
    -- access the analysis.
    WhatIfForecastExportSummary -> Maybe Text
status :: Prelude.Maybe Prelude.Text,
    -- | An array of Amazon Resource Names (ARNs) that define the what-if
    -- forecasts included in the export.
    WhatIfForecastExportSummary -> Maybe (NonEmpty Text)
whatIfForecastArns :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),
    -- | The Amazon Resource Name (ARN) of the what-if forecast export.
    WhatIfForecastExportSummary -> Maybe Text
whatIfForecastExportArn :: Prelude.Maybe Prelude.Text,
    -- | The what-if forecast export name.
    WhatIfForecastExportSummary -> Maybe Text
whatIfForecastExportName :: Prelude.Maybe Prelude.Text
  }
  deriving (WhatIfForecastExportSummary -> WhatIfForecastExportSummary -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: WhatIfForecastExportSummary -> WhatIfForecastExportSummary -> Bool
$c/= :: WhatIfForecastExportSummary -> WhatIfForecastExportSummary -> Bool
== :: WhatIfForecastExportSummary -> WhatIfForecastExportSummary -> Bool
$c== :: WhatIfForecastExportSummary -> WhatIfForecastExportSummary -> Bool
Prelude.Eq, ReadPrec [WhatIfForecastExportSummary]
ReadPrec WhatIfForecastExportSummary
Int -> ReadS WhatIfForecastExportSummary
ReadS [WhatIfForecastExportSummary]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [WhatIfForecastExportSummary]
$creadListPrec :: ReadPrec [WhatIfForecastExportSummary]
readPrec :: ReadPrec WhatIfForecastExportSummary
$creadPrec :: ReadPrec WhatIfForecastExportSummary
readList :: ReadS [WhatIfForecastExportSummary]
$creadList :: ReadS [WhatIfForecastExportSummary]
readsPrec :: Int -> ReadS WhatIfForecastExportSummary
$creadsPrec :: Int -> ReadS WhatIfForecastExportSummary
Prelude.Read, Int -> WhatIfForecastExportSummary -> ShowS
[WhatIfForecastExportSummary] -> ShowS
WhatIfForecastExportSummary -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [WhatIfForecastExportSummary] -> ShowS
$cshowList :: [WhatIfForecastExportSummary] -> ShowS
show :: WhatIfForecastExportSummary -> String
$cshow :: WhatIfForecastExportSummary -> String
showsPrec :: Int -> WhatIfForecastExportSummary -> ShowS
$cshowsPrec :: Int -> WhatIfForecastExportSummary -> ShowS
Prelude.Show, forall x.
Rep WhatIfForecastExportSummary x -> WhatIfForecastExportSummary
forall x.
WhatIfForecastExportSummary -> Rep WhatIfForecastExportSummary x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep WhatIfForecastExportSummary x -> WhatIfForecastExportSummary
$cfrom :: forall x.
WhatIfForecastExportSummary -> Rep WhatIfForecastExportSummary x
Prelude.Generic)

-- |
-- Create a value of 'WhatIfForecastExportSummary' 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:
--
-- 'creationTime', 'whatIfForecastExportSummary_creationTime' - When the what-if forecast export was created.
--
-- 'destination', 'whatIfForecastExportSummary_destination' - The path to the Amazon Simple Storage Service (Amazon S3) bucket where
-- the forecast is exported.
--
-- 'lastModificationTime', 'whatIfForecastExportSummary_lastModificationTime' - The last time the resource was modified. The timestamp depends on the
-- status of the job:
--
-- -   @CREATE_PENDING@ - The @CreationTime@.
--
-- -   @CREATE_IN_PROGRESS@ - The current timestamp.
--
-- -   @CREATE_STOPPING@ - The current timestamp.
--
-- -   @CREATE_STOPPED@ - When the job stopped.
--
-- -   @ACTIVE@ or @CREATE_FAILED@ - When the job finished or failed.
--
-- 'message', 'whatIfForecastExportSummary_message' - If an error occurred, an informational message about the error.
--
-- 'status', 'whatIfForecastExportSummary_status' - The status of the what-if forecast export. States include:
--
-- -   @ACTIVE@
--
-- -   @CREATE_PENDING@, @CREATE_IN_PROGRESS@, @CREATE_FAILED@
--
-- -   @CREATE_STOPPING@, @CREATE_STOPPED@
--
-- -   @DELETE_PENDING@, @DELETE_IN_PROGRESS@, @DELETE_FAILED@
--
-- The @Status@ of the what-if analysis must be @ACTIVE@ before you can
-- access the analysis.
--
-- 'whatIfForecastArns', 'whatIfForecastExportSummary_whatIfForecastArns' - An array of Amazon Resource Names (ARNs) that define the what-if
-- forecasts included in the export.
--
-- 'whatIfForecastExportArn', 'whatIfForecastExportSummary_whatIfForecastExportArn' - The Amazon Resource Name (ARN) of the what-if forecast export.
--
-- 'whatIfForecastExportName', 'whatIfForecastExportSummary_whatIfForecastExportName' - The what-if forecast export name.
newWhatIfForecastExportSummary ::
  WhatIfForecastExportSummary
newWhatIfForecastExportSummary :: WhatIfForecastExportSummary
newWhatIfForecastExportSummary =
  WhatIfForecastExportSummary'
    { $sel:creationTime:WhatIfForecastExportSummary' :: Maybe POSIX
creationTime =
        forall a. Maybe a
Prelude.Nothing,
      $sel:destination:WhatIfForecastExportSummary' :: Maybe DataDestination
destination = forall a. Maybe a
Prelude.Nothing,
      $sel:lastModificationTime:WhatIfForecastExportSummary' :: Maybe POSIX
lastModificationTime = forall a. Maybe a
Prelude.Nothing,
      $sel:message:WhatIfForecastExportSummary' :: Maybe Text
message = forall a. Maybe a
Prelude.Nothing,
      $sel:status:WhatIfForecastExportSummary' :: Maybe Text
status = forall a. Maybe a
Prelude.Nothing,
      $sel:whatIfForecastArns:WhatIfForecastExportSummary' :: Maybe (NonEmpty Text)
whatIfForecastArns = forall a. Maybe a
Prelude.Nothing,
      $sel:whatIfForecastExportArn:WhatIfForecastExportSummary' :: Maybe Text
whatIfForecastExportArn = forall a. Maybe a
Prelude.Nothing,
      $sel:whatIfForecastExportName:WhatIfForecastExportSummary' :: Maybe Text
whatIfForecastExportName = forall a. Maybe a
Prelude.Nothing
    }

-- | When the what-if forecast export was created.
whatIfForecastExportSummary_creationTime :: Lens.Lens' WhatIfForecastExportSummary (Prelude.Maybe Prelude.UTCTime)
whatIfForecastExportSummary_creationTime :: Lens' WhatIfForecastExportSummary (Maybe UTCTime)
whatIfForecastExportSummary_creationTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\WhatIfForecastExportSummary' {Maybe POSIX
creationTime :: Maybe POSIX
$sel:creationTime:WhatIfForecastExportSummary' :: WhatIfForecastExportSummary -> Maybe POSIX
creationTime} -> Maybe POSIX
creationTime) (\s :: WhatIfForecastExportSummary
s@WhatIfForecastExportSummary' {} Maybe POSIX
a -> WhatIfForecastExportSummary
s {$sel:creationTime:WhatIfForecastExportSummary' :: Maybe POSIX
creationTime = Maybe POSIX
a} :: WhatIfForecastExportSummary) 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 path to the Amazon Simple Storage Service (Amazon S3) bucket where
-- the forecast is exported.
whatIfForecastExportSummary_destination :: Lens.Lens' WhatIfForecastExportSummary (Prelude.Maybe DataDestination)
whatIfForecastExportSummary_destination :: Lens' WhatIfForecastExportSummary (Maybe DataDestination)
whatIfForecastExportSummary_destination = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\WhatIfForecastExportSummary' {Maybe DataDestination
destination :: Maybe DataDestination
$sel:destination:WhatIfForecastExportSummary' :: WhatIfForecastExportSummary -> Maybe DataDestination
destination} -> Maybe DataDestination
destination) (\s :: WhatIfForecastExportSummary
s@WhatIfForecastExportSummary' {} Maybe DataDestination
a -> WhatIfForecastExportSummary
s {$sel:destination:WhatIfForecastExportSummary' :: Maybe DataDestination
destination = Maybe DataDestination
a} :: WhatIfForecastExportSummary)

-- | The last time the resource was modified. The timestamp depends on the
-- status of the job:
--
-- -   @CREATE_PENDING@ - The @CreationTime@.
--
-- -   @CREATE_IN_PROGRESS@ - The current timestamp.
--
-- -   @CREATE_STOPPING@ - The current timestamp.
--
-- -   @CREATE_STOPPED@ - When the job stopped.
--
-- -   @ACTIVE@ or @CREATE_FAILED@ - When the job finished or failed.
whatIfForecastExportSummary_lastModificationTime :: Lens.Lens' WhatIfForecastExportSummary (Prelude.Maybe Prelude.UTCTime)
whatIfForecastExportSummary_lastModificationTime :: Lens' WhatIfForecastExportSummary (Maybe UTCTime)
whatIfForecastExportSummary_lastModificationTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\WhatIfForecastExportSummary' {Maybe POSIX
lastModificationTime :: Maybe POSIX
$sel:lastModificationTime:WhatIfForecastExportSummary' :: WhatIfForecastExportSummary -> Maybe POSIX
lastModificationTime} -> Maybe POSIX
lastModificationTime) (\s :: WhatIfForecastExportSummary
s@WhatIfForecastExportSummary' {} Maybe POSIX
a -> WhatIfForecastExportSummary
s {$sel:lastModificationTime:WhatIfForecastExportSummary' :: Maybe POSIX
lastModificationTime = Maybe POSIX
a} :: WhatIfForecastExportSummary) 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

-- | If an error occurred, an informational message about the error.
whatIfForecastExportSummary_message :: Lens.Lens' WhatIfForecastExportSummary (Prelude.Maybe Prelude.Text)
whatIfForecastExportSummary_message :: Lens' WhatIfForecastExportSummary (Maybe Text)
whatIfForecastExportSummary_message = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\WhatIfForecastExportSummary' {Maybe Text
message :: Maybe Text
$sel:message:WhatIfForecastExportSummary' :: WhatIfForecastExportSummary -> Maybe Text
message} -> Maybe Text
message) (\s :: WhatIfForecastExportSummary
s@WhatIfForecastExportSummary' {} Maybe Text
a -> WhatIfForecastExportSummary
s {$sel:message:WhatIfForecastExportSummary' :: Maybe Text
message = Maybe Text
a} :: WhatIfForecastExportSummary)

-- | The status of the what-if forecast export. States include:
--
-- -   @ACTIVE@
--
-- -   @CREATE_PENDING@, @CREATE_IN_PROGRESS@, @CREATE_FAILED@
--
-- -   @CREATE_STOPPING@, @CREATE_STOPPED@
--
-- -   @DELETE_PENDING@, @DELETE_IN_PROGRESS@, @DELETE_FAILED@
--
-- The @Status@ of the what-if analysis must be @ACTIVE@ before you can
-- access the analysis.
whatIfForecastExportSummary_status :: Lens.Lens' WhatIfForecastExportSummary (Prelude.Maybe Prelude.Text)
whatIfForecastExportSummary_status :: Lens' WhatIfForecastExportSummary (Maybe Text)
whatIfForecastExportSummary_status = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\WhatIfForecastExportSummary' {Maybe Text
status :: Maybe Text
$sel:status:WhatIfForecastExportSummary' :: WhatIfForecastExportSummary -> Maybe Text
status} -> Maybe Text
status) (\s :: WhatIfForecastExportSummary
s@WhatIfForecastExportSummary' {} Maybe Text
a -> WhatIfForecastExportSummary
s {$sel:status:WhatIfForecastExportSummary' :: Maybe Text
status = Maybe Text
a} :: WhatIfForecastExportSummary)

-- | An array of Amazon Resource Names (ARNs) that define the what-if
-- forecasts included in the export.
whatIfForecastExportSummary_whatIfForecastArns :: Lens.Lens' WhatIfForecastExportSummary (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))
whatIfForecastExportSummary_whatIfForecastArns :: Lens' WhatIfForecastExportSummary (Maybe (NonEmpty Text))
whatIfForecastExportSummary_whatIfForecastArns = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\WhatIfForecastExportSummary' {Maybe (NonEmpty Text)
whatIfForecastArns :: Maybe (NonEmpty Text)
$sel:whatIfForecastArns:WhatIfForecastExportSummary' :: WhatIfForecastExportSummary -> Maybe (NonEmpty Text)
whatIfForecastArns} -> Maybe (NonEmpty Text)
whatIfForecastArns) (\s :: WhatIfForecastExportSummary
s@WhatIfForecastExportSummary' {} Maybe (NonEmpty Text)
a -> WhatIfForecastExportSummary
s {$sel:whatIfForecastArns:WhatIfForecastExportSummary' :: Maybe (NonEmpty Text)
whatIfForecastArns = Maybe (NonEmpty Text)
a} :: WhatIfForecastExportSummary) 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 Amazon Resource Name (ARN) of the what-if forecast export.
whatIfForecastExportSummary_whatIfForecastExportArn :: Lens.Lens' WhatIfForecastExportSummary (Prelude.Maybe Prelude.Text)
whatIfForecastExportSummary_whatIfForecastExportArn :: Lens' WhatIfForecastExportSummary (Maybe Text)
whatIfForecastExportSummary_whatIfForecastExportArn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\WhatIfForecastExportSummary' {Maybe Text
whatIfForecastExportArn :: Maybe Text
$sel:whatIfForecastExportArn:WhatIfForecastExportSummary' :: WhatIfForecastExportSummary -> Maybe Text
whatIfForecastExportArn} -> Maybe Text
whatIfForecastExportArn) (\s :: WhatIfForecastExportSummary
s@WhatIfForecastExportSummary' {} Maybe Text
a -> WhatIfForecastExportSummary
s {$sel:whatIfForecastExportArn:WhatIfForecastExportSummary' :: Maybe Text
whatIfForecastExportArn = Maybe Text
a} :: WhatIfForecastExportSummary)

-- | The what-if forecast export name.
whatIfForecastExportSummary_whatIfForecastExportName :: Lens.Lens' WhatIfForecastExportSummary (Prelude.Maybe Prelude.Text)
whatIfForecastExportSummary_whatIfForecastExportName :: Lens' WhatIfForecastExportSummary (Maybe Text)
whatIfForecastExportSummary_whatIfForecastExportName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\WhatIfForecastExportSummary' {Maybe Text
whatIfForecastExportName :: Maybe Text
$sel:whatIfForecastExportName:WhatIfForecastExportSummary' :: WhatIfForecastExportSummary -> Maybe Text
whatIfForecastExportName} -> Maybe Text
whatIfForecastExportName) (\s :: WhatIfForecastExportSummary
s@WhatIfForecastExportSummary' {} Maybe Text
a -> WhatIfForecastExportSummary
s {$sel:whatIfForecastExportName:WhatIfForecastExportSummary' :: Maybe Text
whatIfForecastExportName = Maybe Text
a} :: WhatIfForecastExportSummary)

instance Data.FromJSON WhatIfForecastExportSummary where
  parseJSON :: Value -> Parser WhatIfForecastExportSummary
parseJSON =
    forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
      String
"WhatIfForecastExportSummary"
      ( \Object
x ->
          Maybe POSIX
-> Maybe DataDestination
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe (NonEmpty Text)
-> Maybe Text
-> Maybe Text
-> WhatIfForecastExportSummary
WhatIfForecastExportSummary'
            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
"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
"Destination")
            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
"LastModificationTime")
            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
"Message")
            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
"WhatIfForecastArns")
            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
"WhatIfForecastExportArn")
            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
"WhatIfForecastExportName")
      )

instance Prelude.Hashable WhatIfForecastExportSummary where
  hashWithSalt :: Int -> WhatIfForecastExportSummary -> Int
hashWithSalt Int
_salt WhatIfForecastExportSummary' {Maybe (NonEmpty Text)
Maybe Text
Maybe POSIX
Maybe DataDestination
whatIfForecastExportName :: Maybe Text
whatIfForecastExportArn :: Maybe Text
whatIfForecastArns :: Maybe (NonEmpty Text)
status :: Maybe Text
message :: Maybe Text
lastModificationTime :: Maybe POSIX
destination :: Maybe DataDestination
creationTime :: Maybe POSIX
$sel:whatIfForecastExportName:WhatIfForecastExportSummary' :: WhatIfForecastExportSummary -> Maybe Text
$sel:whatIfForecastExportArn:WhatIfForecastExportSummary' :: WhatIfForecastExportSummary -> Maybe Text
$sel:whatIfForecastArns:WhatIfForecastExportSummary' :: WhatIfForecastExportSummary -> Maybe (NonEmpty Text)
$sel:status:WhatIfForecastExportSummary' :: WhatIfForecastExportSummary -> Maybe Text
$sel:message:WhatIfForecastExportSummary' :: WhatIfForecastExportSummary -> Maybe Text
$sel:lastModificationTime:WhatIfForecastExportSummary' :: WhatIfForecastExportSummary -> Maybe POSIX
$sel:destination:WhatIfForecastExportSummary' :: WhatIfForecastExportSummary -> Maybe DataDestination
$sel:creationTime:WhatIfForecastExportSummary' :: WhatIfForecastExportSummary -> Maybe POSIX
..} =
    Int
_salt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe POSIX
creationTime
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe DataDestination
destination
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe POSIX
lastModificationTime
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
message
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
status
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe (NonEmpty Text)
whatIfForecastArns
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
whatIfForecastExportArn
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
whatIfForecastExportName

instance Prelude.NFData WhatIfForecastExportSummary where
  rnf :: WhatIfForecastExportSummary -> ()
rnf WhatIfForecastExportSummary' {Maybe (NonEmpty Text)
Maybe Text
Maybe POSIX
Maybe DataDestination
whatIfForecastExportName :: Maybe Text
whatIfForecastExportArn :: Maybe Text
whatIfForecastArns :: Maybe (NonEmpty Text)
status :: Maybe Text
message :: Maybe Text
lastModificationTime :: Maybe POSIX
destination :: Maybe DataDestination
creationTime :: Maybe POSIX
$sel:whatIfForecastExportName:WhatIfForecastExportSummary' :: WhatIfForecastExportSummary -> Maybe Text
$sel:whatIfForecastExportArn:WhatIfForecastExportSummary' :: WhatIfForecastExportSummary -> Maybe Text
$sel:whatIfForecastArns:WhatIfForecastExportSummary' :: WhatIfForecastExportSummary -> Maybe (NonEmpty Text)
$sel:status:WhatIfForecastExportSummary' :: WhatIfForecastExportSummary -> Maybe Text
$sel:message:WhatIfForecastExportSummary' :: WhatIfForecastExportSummary -> Maybe Text
$sel:lastModificationTime:WhatIfForecastExportSummary' :: WhatIfForecastExportSummary -> Maybe POSIX
$sel:destination:WhatIfForecastExportSummary' :: WhatIfForecastExportSummary -> Maybe DataDestination
$sel:creationTime:WhatIfForecastExportSummary' :: WhatIfForecastExportSummary -> Maybe POSIX
..} =
    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 DataDestination
destination
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe POSIX
lastModificationTime
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
message
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
status
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe (NonEmpty Text)
whatIfForecastArns
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
whatIfForecastExportArn
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
whatIfForecastExportName