{-# 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.Backup.Types.BackupPlansListMember
-- 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.Backup.Types.BackupPlansListMember where

import Amazonka.Backup.Types.AdvancedBackupSetting
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude

-- | Contains metadata about a backup plan.
--
-- /See:/ 'newBackupPlansListMember' smart constructor.
data BackupPlansListMember = BackupPlansListMember'
  { -- | Contains a list of @BackupOptions@ for a resource type.
    BackupPlansListMember -> Maybe [AdvancedBackupSetting]
advancedBackupSettings :: Prelude.Maybe [AdvancedBackupSetting],
    -- | An Amazon Resource Name (ARN) that uniquely identifies a backup plan;
    -- for example,
    -- @arn:aws:backup:us-east-1:123456789012:plan:8F81F553-3A74-4A3F-B93D-B3360DC80C50@.
    BackupPlansListMember -> Maybe Text
backupPlanArn :: Prelude.Maybe Prelude.Text,
    -- | Uniquely identifies a backup plan.
    BackupPlansListMember -> Maybe Text
backupPlanId :: Prelude.Maybe Prelude.Text,
    -- | The display name of a saved backup plan.
    BackupPlansListMember -> Maybe Text
backupPlanName :: Prelude.Maybe Prelude.Text,
    -- | The date and time a resource backup plan is created, in Unix format and
    -- Coordinated Universal Time (UTC). The value of @CreationDate@ is
    -- accurate to milliseconds. For example, the value 1516925490.087
    -- represents Friday, January 26, 2018 12:11:30.087 AM.
    BackupPlansListMember -> Maybe POSIX
creationDate :: Prelude.Maybe Data.POSIX,
    -- | A unique string that identifies the request and allows failed requests
    -- to be retried without the risk of running the operation twice. This
    -- parameter is optional.
    --
    -- If used, this parameter must contain 1 to 50 alphanumeric or \'-_.\'
    -- characters.
    BackupPlansListMember -> Maybe Text
creatorRequestId :: Prelude.Maybe Prelude.Text,
    -- | The date and time a backup plan is deleted, in Unix format and
    -- Coordinated Universal Time (UTC). The value of @DeletionDate@ is
    -- accurate to milliseconds. For example, the value 1516925490.087
    -- represents Friday, January 26, 2018 12:11:30.087 AM.
    BackupPlansListMember -> Maybe POSIX
deletionDate :: Prelude.Maybe Data.POSIX,
    -- | The last time a job to back up resources was run with this rule. A date
    -- and time, in Unix format and Coordinated Universal Time (UTC). The value
    -- of @LastExecutionDate@ is accurate to milliseconds. For example, the
    -- value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087
    -- AM.
    BackupPlansListMember -> Maybe POSIX
lastExecutionDate :: Prelude.Maybe Data.POSIX,
    -- | Unique, randomly generated, Unicode, UTF-8 encoded strings that are at
    -- most 1,024 bytes long. Version IDs cannot be edited.
    BackupPlansListMember -> Maybe Text
versionId :: Prelude.Maybe Prelude.Text
  }
  deriving (BackupPlansListMember -> BackupPlansListMember -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: BackupPlansListMember -> BackupPlansListMember -> Bool
$c/= :: BackupPlansListMember -> BackupPlansListMember -> Bool
== :: BackupPlansListMember -> BackupPlansListMember -> Bool
$c== :: BackupPlansListMember -> BackupPlansListMember -> Bool
Prelude.Eq, ReadPrec [BackupPlansListMember]
ReadPrec BackupPlansListMember
Int -> ReadS BackupPlansListMember
ReadS [BackupPlansListMember]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [BackupPlansListMember]
$creadListPrec :: ReadPrec [BackupPlansListMember]
readPrec :: ReadPrec BackupPlansListMember
$creadPrec :: ReadPrec BackupPlansListMember
readList :: ReadS [BackupPlansListMember]
$creadList :: ReadS [BackupPlansListMember]
readsPrec :: Int -> ReadS BackupPlansListMember
$creadsPrec :: Int -> ReadS BackupPlansListMember
Prelude.Read, Int -> BackupPlansListMember -> ShowS
[BackupPlansListMember] -> ShowS
BackupPlansListMember -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [BackupPlansListMember] -> ShowS
$cshowList :: [BackupPlansListMember] -> ShowS
show :: BackupPlansListMember -> String
$cshow :: BackupPlansListMember -> String
showsPrec :: Int -> BackupPlansListMember -> ShowS
$cshowsPrec :: Int -> BackupPlansListMember -> ShowS
Prelude.Show, forall x. Rep BackupPlansListMember x -> BackupPlansListMember
forall x. BackupPlansListMember -> Rep BackupPlansListMember x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep BackupPlansListMember x -> BackupPlansListMember
$cfrom :: forall x. BackupPlansListMember -> Rep BackupPlansListMember x
Prelude.Generic)

-- |
-- Create a value of 'BackupPlansListMember' 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:
--
-- 'advancedBackupSettings', 'backupPlansListMember_advancedBackupSettings' - Contains a list of @BackupOptions@ for a resource type.
--
-- 'backupPlanArn', 'backupPlansListMember_backupPlanArn' - An Amazon Resource Name (ARN) that uniquely identifies a backup plan;
-- for example,
-- @arn:aws:backup:us-east-1:123456789012:plan:8F81F553-3A74-4A3F-B93D-B3360DC80C50@.
--
-- 'backupPlanId', 'backupPlansListMember_backupPlanId' - Uniquely identifies a backup plan.
--
-- 'backupPlanName', 'backupPlansListMember_backupPlanName' - The display name of a saved backup plan.
--
-- 'creationDate', 'backupPlansListMember_creationDate' - The date and time a resource backup plan is created, in Unix format and
-- Coordinated Universal Time (UTC). The value of @CreationDate@ is
-- accurate to milliseconds. For example, the value 1516925490.087
-- represents Friday, January 26, 2018 12:11:30.087 AM.
--
-- 'creatorRequestId', 'backupPlansListMember_creatorRequestId' - A unique string that identifies the request and allows failed requests
-- to be retried without the risk of running the operation twice. This
-- parameter is optional.
--
-- If used, this parameter must contain 1 to 50 alphanumeric or \'-_.\'
-- characters.
--
-- 'deletionDate', 'backupPlansListMember_deletionDate' - The date and time a backup plan is deleted, in Unix format and
-- Coordinated Universal Time (UTC). The value of @DeletionDate@ is
-- accurate to milliseconds. For example, the value 1516925490.087
-- represents Friday, January 26, 2018 12:11:30.087 AM.
--
-- 'lastExecutionDate', 'backupPlansListMember_lastExecutionDate' - The last time a job to back up resources was run with this rule. A date
-- and time, in Unix format and Coordinated Universal Time (UTC). The value
-- of @LastExecutionDate@ is accurate to milliseconds. For example, the
-- value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087
-- AM.
--
-- 'versionId', 'backupPlansListMember_versionId' - Unique, randomly generated, Unicode, UTF-8 encoded strings that are at
-- most 1,024 bytes long. Version IDs cannot be edited.
newBackupPlansListMember ::
  BackupPlansListMember
newBackupPlansListMember :: BackupPlansListMember
newBackupPlansListMember =
  BackupPlansListMember'
    { $sel:advancedBackupSettings:BackupPlansListMember' :: Maybe [AdvancedBackupSetting]
advancedBackupSettings =
        forall a. Maybe a
Prelude.Nothing,
      $sel:backupPlanArn:BackupPlansListMember' :: Maybe Text
backupPlanArn = forall a. Maybe a
Prelude.Nothing,
      $sel:backupPlanId:BackupPlansListMember' :: Maybe Text
backupPlanId = forall a. Maybe a
Prelude.Nothing,
      $sel:backupPlanName:BackupPlansListMember' :: Maybe Text
backupPlanName = forall a. Maybe a
Prelude.Nothing,
      $sel:creationDate:BackupPlansListMember' :: Maybe POSIX
creationDate = forall a. Maybe a
Prelude.Nothing,
      $sel:creatorRequestId:BackupPlansListMember' :: Maybe Text
creatorRequestId = forall a. Maybe a
Prelude.Nothing,
      $sel:deletionDate:BackupPlansListMember' :: Maybe POSIX
deletionDate = forall a. Maybe a
Prelude.Nothing,
      $sel:lastExecutionDate:BackupPlansListMember' :: Maybe POSIX
lastExecutionDate = forall a. Maybe a
Prelude.Nothing,
      $sel:versionId:BackupPlansListMember' :: Maybe Text
versionId = forall a. Maybe a
Prelude.Nothing
    }

-- | Contains a list of @BackupOptions@ for a resource type.
backupPlansListMember_advancedBackupSettings :: Lens.Lens' BackupPlansListMember (Prelude.Maybe [AdvancedBackupSetting])
backupPlansListMember_advancedBackupSettings :: Lens' BackupPlansListMember (Maybe [AdvancedBackupSetting])
backupPlansListMember_advancedBackupSettings = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BackupPlansListMember' {Maybe [AdvancedBackupSetting]
advancedBackupSettings :: Maybe [AdvancedBackupSetting]
$sel:advancedBackupSettings:BackupPlansListMember' :: BackupPlansListMember -> Maybe [AdvancedBackupSetting]
advancedBackupSettings} -> Maybe [AdvancedBackupSetting]
advancedBackupSettings) (\s :: BackupPlansListMember
s@BackupPlansListMember' {} Maybe [AdvancedBackupSetting]
a -> BackupPlansListMember
s {$sel:advancedBackupSettings:BackupPlansListMember' :: Maybe [AdvancedBackupSetting]
advancedBackupSettings = Maybe [AdvancedBackupSetting]
a} :: BackupPlansListMember) 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

-- | An Amazon Resource Name (ARN) that uniquely identifies a backup plan;
-- for example,
-- @arn:aws:backup:us-east-1:123456789012:plan:8F81F553-3A74-4A3F-B93D-B3360DC80C50@.
backupPlansListMember_backupPlanArn :: Lens.Lens' BackupPlansListMember (Prelude.Maybe Prelude.Text)
backupPlansListMember_backupPlanArn :: Lens' BackupPlansListMember (Maybe Text)
backupPlansListMember_backupPlanArn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BackupPlansListMember' {Maybe Text
backupPlanArn :: Maybe Text
$sel:backupPlanArn:BackupPlansListMember' :: BackupPlansListMember -> Maybe Text
backupPlanArn} -> Maybe Text
backupPlanArn) (\s :: BackupPlansListMember
s@BackupPlansListMember' {} Maybe Text
a -> BackupPlansListMember
s {$sel:backupPlanArn:BackupPlansListMember' :: Maybe Text
backupPlanArn = Maybe Text
a} :: BackupPlansListMember)

-- | Uniquely identifies a backup plan.
backupPlansListMember_backupPlanId :: Lens.Lens' BackupPlansListMember (Prelude.Maybe Prelude.Text)
backupPlansListMember_backupPlanId :: Lens' BackupPlansListMember (Maybe Text)
backupPlansListMember_backupPlanId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BackupPlansListMember' {Maybe Text
backupPlanId :: Maybe Text
$sel:backupPlanId:BackupPlansListMember' :: BackupPlansListMember -> Maybe Text
backupPlanId} -> Maybe Text
backupPlanId) (\s :: BackupPlansListMember
s@BackupPlansListMember' {} Maybe Text
a -> BackupPlansListMember
s {$sel:backupPlanId:BackupPlansListMember' :: Maybe Text
backupPlanId = Maybe Text
a} :: BackupPlansListMember)

-- | The display name of a saved backup plan.
backupPlansListMember_backupPlanName :: Lens.Lens' BackupPlansListMember (Prelude.Maybe Prelude.Text)
backupPlansListMember_backupPlanName :: Lens' BackupPlansListMember (Maybe Text)
backupPlansListMember_backupPlanName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BackupPlansListMember' {Maybe Text
backupPlanName :: Maybe Text
$sel:backupPlanName:BackupPlansListMember' :: BackupPlansListMember -> Maybe Text
backupPlanName} -> Maybe Text
backupPlanName) (\s :: BackupPlansListMember
s@BackupPlansListMember' {} Maybe Text
a -> BackupPlansListMember
s {$sel:backupPlanName:BackupPlansListMember' :: Maybe Text
backupPlanName = Maybe Text
a} :: BackupPlansListMember)

-- | The date and time a resource backup plan is created, in Unix format and
-- Coordinated Universal Time (UTC). The value of @CreationDate@ is
-- accurate to milliseconds. For example, the value 1516925490.087
-- represents Friday, January 26, 2018 12:11:30.087 AM.
backupPlansListMember_creationDate :: Lens.Lens' BackupPlansListMember (Prelude.Maybe Prelude.UTCTime)
backupPlansListMember_creationDate :: Lens' BackupPlansListMember (Maybe UTCTime)
backupPlansListMember_creationDate = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BackupPlansListMember' {Maybe POSIX
creationDate :: Maybe POSIX
$sel:creationDate:BackupPlansListMember' :: BackupPlansListMember -> Maybe POSIX
creationDate} -> Maybe POSIX
creationDate) (\s :: BackupPlansListMember
s@BackupPlansListMember' {} Maybe POSIX
a -> BackupPlansListMember
s {$sel:creationDate:BackupPlansListMember' :: Maybe POSIX
creationDate = Maybe POSIX
a} :: BackupPlansListMember) 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

-- | A unique string that identifies the request and allows failed requests
-- to be retried without the risk of running the operation twice. This
-- parameter is optional.
--
-- If used, this parameter must contain 1 to 50 alphanumeric or \'-_.\'
-- characters.
backupPlansListMember_creatorRequestId :: Lens.Lens' BackupPlansListMember (Prelude.Maybe Prelude.Text)
backupPlansListMember_creatorRequestId :: Lens' BackupPlansListMember (Maybe Text)
backupPlansListMember_creatorRequestId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BackupPlansListMember' {Maybe Text
creatorRequestId :: Maybe Text
$sel:creatorRequestId:BackupPlansListMember' :: BackupPlansListMember -> Maybe Text
creatorRequestId} -> Maybe Text
creatorRequestId) (\s :: BackupPlansListMember
s@BackupPlansListMember' {} Maybe Text
a -> BackupPlansListMember
s {$sel:creatorRequestId:BackupPlansListMember' :: Maybe Text
creatorRequestId = Maybe Text
a} :: BackupPlansListMember)

-- | The date and time a backup plan is deleted, in Unix format and
-- Coordinated Universal Time (UTC). The value of @DeletionDate@ is
-- accurate to milliseconds. For example, the value 1516925490.087
-- represents Friday, January 26, 2018 12:11:30.087 AM.
backupPlansListMember_deletionDate :: Lens.Lens' BackupPlansListMember (Prelude.Maybe Prelude.UTCTime)
backupPlansListMember_deletionDate :: Lens' BackupPlansListMember (Maybe UTCTime)
backupPlansListMember_deletionDate = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BackupPlansListMember' {Maybe POSIX
deletionDate :: Maybe POSIX
$sel:deletionDate:BackupPlansListMember' :: BackupPlansListMember -> Maybe POSIX
deletionDate} -> Maybe POSIX
deletionDate) (\s :: BackupPlansListMember
s@BackupPlansListMember' {} Maybe POSIX
a -> BackupPlansListMember
s {$sel:deletionDate:BackupPlansListMember' :: Maybe POSIX
deletionDate = Maybe POSIX
a} :: BackupPlansListMember) 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 last time a job to back up resources was run with this rule. A date
-- and time, in Unix format and Coordinated Universal Time (UTC). The value
-- of @LastExecutionDate@ is accurate to milliseconds. For example, the
-- value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087
-- AM.
backupPlansListMember_lastExecutionDate :: Lens.Lens' BackupPlansListMember (Prelude.Maybe Prelude.UTCTime)
backupPlansListMember_lastExecutionDate :: Lens' BackupPlansListMember (Maybe UTCTime)
backupPlansListMember_lastExecutionDate = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BackupPlansListMember' {Maybe POSIX
lastExecutionDate :: Maybe POSIX
$sel:lastExecutionDate:BackupPlansListMember' :: BackupPlansListMember -> Maybe POSIX
lastExecutionDate} -> Maybe POSIX
lastExecutionDate) (\s :: BackupPlansListMember
s@BackupPlansListMember' {} Maybe POSIX
a -> BackupPlansListMember
s {$sel:lastExecutionDate:BackupPlansListMember' :: Maybe POSIX
lastExecutionDate = Maybe POSIX
a} :: BackupPlansListMember) 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

-- | Unique, randomly generated, Unicode, UTF-8 encoded strings that are at
-- most 1,024 bytes long. Version IDs cannot be edited.
backupPlansListMember_versionId :: Lens.Lens' BackupPlansListMember (Prelude.Maybe Prelude.Text)
backupPlansListMember_versionId :: Lens' BackupPlansListMember (Maybe Text)
backupPlansListMember_versionId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BackupPlansListMember' {Maybe Text
versionId :: Maybe Text
$sel:versionId:BackupPlansListMember' :: BackupPlansListMember -> Maybe Text
versionId} -> Maybe Text
versionId) (\s :: BackupPlansListMember
s@BackupPlansListMember' {} Maybe Text
a -> BackupPlansListMember
s {$sel:versionId:BackupPlansListMember' :: Maybe Text
versionId = Maybe Text
a} :: BackupPlansListMember)

instance Data.FromJSON BackupPlansListMember where
  parseJSON :: Value -> Parser BackupPlansListMember
parseJSON =
    forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
      String
"BackupPlansListMember"
      ( \Object
x ->
          Maybe [AdvancedBackupSetting]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> BackupPlansListMember
BackupPlansListMember'
            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
"AdvancedBackupSettings"
                            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 (Maybe a)
Data..:? Key
"BackupPlanArn")
            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
"BackupPlanId")
            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
"BackupPlanName")
            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
"CreationDate")
            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
"CreatorRequestId")
            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
"DeletionDate")
            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
"LastExecutionDate")
            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
"VersionId")
      )

instance Prelude.Hashable BackupPlansListMember where
  hashWithSalt :: Int -> BackupPlansListMember -> Int
hashWithSalt Int
_salt BackupPlansListMember' {Maybe [AdvancedBackupSetting]
Maybe Text
Maybe POSIX
versionId :: Maybe Text
lastExecutionDate :: Maybe POSIX
deletionDate :: Maybe POSIX
creatorRequestId :: Maybe Text
creationDate :: Maybe POSIX
backupPlanName :: Maybe Text
backupPlanId :: Maybe Text
backupPlanArn :: Maybe Text
advancedBackupSettings :: Maybe [AdvancedBackupSetting]
$sel:versionId:BackupPlansListMember' :: BackupPlansListMember -> Maybe Text
$sel:lastExecutionDate:BackupPlansListMember' :: BackupPlansListMember -> Maybe POSIX
$sel:deletionDate:BackupPlansListMember' :: BackupPlansListMember -> Maybe POSIX
$sel:creatorRequestId:BackupPlansListMember' :: BackupPlansListMember -> Maybe Text
$sel:creationDate:BackupPlansListMember' :: BackupPlansListMember -> Maybe POSIX
$sel:backupPlanName:BackupPlansListMember' :: BackupPlansListMember -> Maybe Text
$sel:backupPlanId:BackupPlansListMember' :: BackupPlansListMember -> Maybe Text
$sel:backupPlanArn:BackupPlansListMember' :: BackupPlansListMember -> Maybe Text
$sel:advancedBackupSettings:BackupPlansListMember' :: BackupPlansListMember -> Maybe [AdvancedBackupSetting]
..} =
    Int
_salt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe [AdvancedBackupSetting]
advancedBackupSettings
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
backupPlanArn
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
backupPlanId
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
backupPlanName
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe POSIX
creationDate
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
creatorRequestId
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe POSIX
deletionDate
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe POSIX
lastExecutionDate
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
versionId

instance Prelude.NFData BackupPlansListMember where
  rnf :: BackupPlansListMember -> ()
rnf BackupPlansListMember' {Maybe [AdvancedBackupSetting]
Maybe Text
Maybe POSIX
versionId :: Maybe Text
lastExecutionDate :: Maybe POSIX
deletionDate :: Maybe POSIX
creatorRequestId :: Maybe Text
creationDate :: Maybe POSIX
backupPlanName :: Maybe Text
backupPlanId :: Maybe Text
backupPlanArn :: Maybe Text
advancedBackupSettings :: Maybe [AdvancedBackupSetting]
$sel:versionId:BackupPlansListMember' :: BackupPlansListMember -> Maybe Text
$sel:lastExecutionDate:BackupPlansListMember' :: BackupPlansListMember -> Maybe POSIX
$sel:deletionDate:BackupPlansListMember' :: BackupPlansListMember -> Maybe POSIX
$sel:creatorRequestId:BackupPlansListMember' :: BackupPlansListMember -> Maybe Text
$sel:creationDate:BackupPlansListMember' :: BackupPlansListMember -> Maybe POSIX
$sel:backupPlanName:BackupPlansListMember' :: BackupPlansListMember -> Maybe Text
$sel:backupPlanId:BackupPlansListMember' :: BackupPlansListMember -> Maybe Text
$sel:backupPlanArn:BackupPlansListMember' :: BackupPlansListMember -> Maybe Text
$sel:advancedBackupSettings:BackupPlansListMember' :: BackupPlansListMember -> Maybe [AdvancedBackupSetting]
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe [AdvancedBackupSetting]
advancedBackupSettings
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
backupPlanArn
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
backupPlanId
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
backupPlanName
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe POSIX
creationDate
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
creatorRequestId
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe POSIX
deletionDate
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe POSIX
lastExecutionDate
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
versionId