{-# 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.SSM.Types.OpsItemRelatedItemSummary
-- 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.SSM.Types.OpsItemRelatedItemSummary where

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
import Amazonka.SSM.Types.OpsItemIdentity

-- | Summary information about related-item resources for an OpsItem.
--
-- /See:/ 'newOpsItemRelatedItemSummary' smart constructor.
data OpsItemRelatedItemSummary = OpsItemRelatedItemSummary'
  { -- | The association ID.
    OpsItemRelatedItemSummary -> Maybe Text
associationId :: Prelude.Maybe Prelude.Text,
    -- | The association type.
    OpsItemRelatedItemSummary -> Maybe Text
associationType :: Prelude.Maybe Prelude.Text,
    OpsItemRelatedItemSummary -> Maybe OpsItemIdentity
createdBy :: Prelude.Maybe OpsItemIdentity,
    -- | The time the related-item association was created.
    OpsItemRelatedItemSummary -> Maybe POSIX
createdTime :: Prelude.Maybe Data.POSIX,
    OpsItemRelatedItemSummary -> Maybe OpsItemIdentity
lastModifiedBy :: Prelude.Maybe OpsItemIdentity,
    -- | The time the related-item association was last updated.
    OpsItemRelatedItemSummary -> Maybe POSIX
lastModifiedTime :: Prelude.Maybe Data.POSIX,
    -- | The OpsItem ID.
    OpsItemRelatedItemSummary -> Maybe Text
opsItemId :: Prelude.Maybe Prelude.Text,
    -- | The resource type.
    OpsItemRelatedItemSummary -> Maybe Text
resourceType :: Prelude.Maybe Prelude.Text,
    -- | The Amazon Resource Name (ARN) of the related-item resource.
    OpsItemRelatedItemSummary -> Maybe Text
resourceUri :: Prelude.Maybe Prelude.Text
  }
  deriving (OpsItemRelatedItemSummary -> OpsItemRelatedItemSummary -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: OpsItemRelatedItemSummary -> OpsItemRelatedItemSummary -> Bool
$c/= :: OpsItemRelatedItemSummary -> OpsItemRelatedItemSummary -> Bool
== :: OpsItemRelatedItemSummary -> OpsItemRelatedItemSummary -> Bool
$c== :: OpsItemRelatedItemSummary -> OpsItemRelatedItemSummary -> Bool
Prelude.Eq, ReadPrec [OpsItemRelatedItemSummary]
ReadPrec OpsItemRelatedItemSummary
Int -> ReadS OpsItemRelatedItemSummary
ReadS [OpsItemRelatedItemSummary]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [OpsItemRelatedItemSummary]
$creadListPrec :: ReadPrec [OpsItemRelatedItemSummary]
readPrec :: ReadPrec OpsItemRelatedItemSummary
$creadPrec :: ReadPrec OpsItemRelatedItemSummary
readList :: ReadS [OpsItemRelatedItemSummary]
$creadList :: ReadS [OpsItemRelatedItemSummary]
readsPrec :: Int -> ReadS OpsItemRelatedItemSummary
$creadsPrec :: Int -> ReadS OpsItemRelatedItemSummary
Prelude.Read, Int -> OpsItemRelatedItemSummary -> ShowS
[OpsItemRelatedItemSummary] -> ShowS
OpsItemRelatedItemSummary -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [OpsItemRelatedItemSummary] -> ShowS
$cshowList :: [OpsItemRelatedItemSummary] -> ShowS
show :: OpsItemRelatedItemSummary -> String
$cshow :: OpsItemRelatedItemSummary -> String
showsPrec :: Int -> OpsItemRelatedItemSummary -> ShowS
$cshowsPrec :: Int -> OpsItemRelatedItemSummary -> ShowS
Prelude.Show, forall x.
Rep OpsItemRelatedItemSummary x -> OpsItemRelatedItemSummary
forall x.
OpsItemRelatedItemSummary -> Rep OpsItemRelatedItemSummary x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep OpsItemRelatedItemSummary x -> OpsItemRelatedItemSummary
$cfrom :: forall x.
OpsItemRelatedItemSummary -> Rep OpsItemRelatedItemSummary x
Prelude.Generic)

-- |
-- Create a value of 'OpsItemRelatedItemSummary' 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:
--
-- 'associationId', 'opsItemRelatedItemSummary_associationId' - The association ID.
--
-- 'associationType', 'opsItemRelatedItemSummary_associationType' - The association type.
--
-- 'createdBy', 'opsItemRelatedItemSummary_createdBy' - Undocumented member.
--
-- 'createdTime', 'opsItemRelatedItemSummary_createdTime' - The time the related-item association was created.
--
-- 'lastModifiedBy', 'opsItemRelatedItemSummary_lastModifiedBy' - Undocumented member.
--
-- 'lastModifiedTime', 'opsItemRelatedItemSummary_lastModifiedTime' - The time the related-item association was last updated.
--
-- 'opsItemId', 'opsItemRelatedItemSummary_opsItemId' - The OpsItem ID.
--
-- 'resourceType', 'opsItemRelatedItemSummary_resourceType' - The resource type.
--
-- 'resourceUri', 'opsItemRelatedItemSummary_resourceUri' - The Amazon Resource Name (ARN) of the related-item resource.
newOpsItemRelatedItemSummary ::
  OpsItemRelatedItemSummary
newOpsItemRelatedItemSummary :: OpsItemRelatedItemSummary
newOpsItemRelatedItemSummary =
  OpsItemRelatedItemSummary'
    { $sel:associationId:OpsItemRelatedItemSummary' :: Maybe Text
associationId =
        forall a. Maybe a
Prelude.Nothing,
      $sel:associationType:OpsItemRelatedItemSummary' :: Maybe Text
associationType = forall a. Maybe a
Prelude.Nothing,
      $sel:createdBy:OpsItemRelatedItemSummary' :: Maybe OpsItemIdentity
createdBy = forall a. Maybe a
Prelude.Nothing,
      $sel:createdTime:OpsItemRelatedItemSummary' :: Maybe POSIX
createdTime = forall a. Maybe a
Prelude.Nothing,
      $sel:lastModifiedBy:OpsItemRelatedItemSummary' :: Maybe OpsItemIdentity
lastModifiedBy = forall a. Maybe a
Prelude.Nothing,
      $sel:lastModifiedTime:OpsItemRelatedItemSummary' :: Maybe POSIX
lastModifiedTime = forall a. Maybe a
Prelude.Nothing,
      $sel:opsItemId:OpsItemRelatedItemSummary' :: Maybe Text
opsItemId = forall a. Maybe a
Prelude.Nothing,
      $sel:resourceType:OpsItemRelatedItemSummary' :: Maybe Text
resourceType = forall a. Maybe a
Prelude.Nothing,
      $sel:resourceUri:OpsItemRelatedItemSummary' :: Maybe Text
resourceUri = forall a. Maybe a
Prelude.Nothing
    }

-- | The association ID.
opsItemRelatedItemSummary_associationId :: Lens.Lens' OpsItemRelatedItemSummary (Prelude.Maybe Prelude.Text)
opsItemRelatedItemSummary_associationId :: Lens' OpsItemRelatedItemSummary (Maybe Text)
opsItemRelatedItemSummary_associationId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\OpsItemRelatedItemSummary' {Maybe Text
associationId :: Maybe Text
$sel:associationId:OpsItemRelatedItemSummary' :: OpsItemRelatedItemSummary -> Maybe Text
associationId} -> Maybe Text
associationId) (\s :: OpsItemRelatedItemSummary
s@OpsItemRelatedItemSummary' {} Maybe Text
a -> OpsItemRelatedItemSummary
s {$sel:associationId:OpsItemRelatedItemSummary' :: Maybe Text
associationId = Maybe Text
a} :: OpsItemRelatedItemSummary)

-- | The association type.
opsItemRelatedItemSummary_associationType :: Lens.Lens' OpsItemRelatedItemSummary (Prelude.Maybe Prelude.Text)
opsItemRelatedItemSummary_associationType :: Lens' OpsItemRelatedItemSummary (Maybe Text)
opsItemRelatedItemSummary_associationType = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\OpsItemRelatedItemSummary' {Maybe Text
associationType :: Maybe Text
$sel:associationType:OpsItemRelatedItemSummary' :: OpsItemRelatedItemSummary -> Maybe Text
associationType} -> Maybe Text
associationType) (\s :: OpsItemRelatedItemSummary
s@OpsItemRelatedItemSummary' {} Maybe Text
a -> OpsItemRelatedItemSummary
s {$sel:associationType:OpsItemRelatedItemSummary' :: Maybe Text
associationType = Maybe Text
a} :: OpsItemRelatedItemSummary)

-- | Undocumented member.
opsItemRelatedItemSummary_createdBy :: Lens.Lens' OpsItemRelatedItemSummary (Prelude.Maybe OpsItemIdentity)
opsItemRelatedItemSummary_createdBy :: Lens' OpsItemRelatedItemSummary (Maybe OpsItemIdentity)
opsItemRelatedItemSummary_createdBy = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\OpsItemRelatedItemSummary' {Maybe OpsItemIdentity
createdBy :: Maybe OpsItemIdentity
$sel:createdBy:OpsItemRelatedItemSummary' :: OpsItemRelatedItemSummary -> Maybe OpsItemIdentity
createdBy} -> Maybe OpsItemIdentity
createdBy) (\s :: OpsItemRelatedItemSummary
s@OpsItemRelatedItemSummary' {} Maybe OpsItemIdentity
a -> OpsItemRelatedItemSummary
s {$sel:createdBy:OpsItemRelatedItemSummary' :: Maybe OpsItemIdentity
createdBy = Maybe OpsItemIdentity
a} :: OpsItemRelatedItemSummary)

-- | The time the related-item association was created.
opsItemRelatedItemSummary_createdTime :: Lens.Lens' OpsItemRelatedItemSummary (Prelude.Maybe Prelude.UTCTime)
opsItemRelatedItemSummary_createdTime :: Lens' OpsItemRelatedItemSummary (Maybe UTCTime)
opsItemRelatedItemSummary_createdTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\OpsItemRelatedItemSummary' {Maybe POSIX
createdTime :: Maybe POSIX
$sel:createdTime:OpsItemRelatedItemSummary' :: OpsItemRelatedItemSummary -> Maybe POSIX
createdTime} -> Maybe POSIX
createdTime) (\s :: OpsItemRelatedItemSummary
s@OpsItemRelatedItemSummary' {} Maybe POSIX
a -> OpsItemRelatedItemSummary
s {$sel:createdTime:OpsItemRelatedItemSummary' :: Maybe POSIX
createdTime = Maybe POSIX
a} :: OpsItemRelatedItemSummary) 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

-- | Undocumented member.
opsItemRelatedItemSummary_lastModifiedBy :: Lens.Lens' OpsItemRelatedItemSummary (Prelude.Maybe OpsItemIdentity)
opsItemRelatedItemSummary_lastModifiedBy :: Lens' OpsItemRelatedItemSummary (Maybe OpsItemIdentity)
opsItemRelatedItemSummary_lastModifiedBy = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\OpsItemRelatedItemSummary' {Maybe OpsItemIdentity
lastModifiedBy :: Maybe OpsItemIdentity
$sel:lastModifiedBy:OpsItemRelatedItemSummary' :: OpsItemRelatedItemSummary -> Maybe OpsItemIdentity
lastModifiedBy} -> Maybe OpsItemIdentity
lastModifiedBy) (\s :: OpsItemRelatedItemSummary
s@OpsItemRelatedItemSummary' {} Maybe OpsItemIdentity
a -> OpsItemRelatedItemSummary
s {$sel:lastModifiedBy:OpsItemRelatedItemSummary' :: Maybe OpsItemIdentity
lastModifiedBy = Maybe OpsItemIdentity
a} :: OpsItemRelatedItemSummary)

-- | The time the related-item association was last updated.
opsItemRelatedItemSummary_lastModifiedTime :: Lens.Lens' OpsItemRelatedItemSummary (Prelude.Maybe Prelude.UTCTime)
opsItemRelatedItemSummary_lastModifiedTime :: Lens' OpsItemRelatedItemSummary (Maybe UTCTime)
opsItemRelatedItemSummary_lastModifiedTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\OpsItemRelatedItemSummary' {Maybe POSIX
lastModifiedTime :: Maybe POSIX
$sel:lastModifiedTime:OpsItemRelatedItemSummary' :: OpsItemRelatedItemSummary -> Maybe POSIX
lastModifiedTime} -> Maybe POSIX
lastModifiedTime) (\s :: OpsItemRelatedItemSummary
s@OpsItemRelatedItemSummary' {} Maybe POSIX
a -> OpsItemRelatedItemSummary
s {$sel:lastModifiedTime:OpsItemRelatedItemSummary' :: Maybe POSIX
lastModifiedTime = Maybe POSIX
a} :: OpsItemRelatedItemSummary) 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 OpsItem ID.
opsItemRelatedItemSummary_opsItemId :: Lens.Lens' OpsItemRelatedItemSummary (Prelude.Maybe Prelude.Text)
opsItemRelatedItemSummary_opsItemId :: Lens' OpsItemRelatedItemSummary (Maybe Text)
opsItemRelatedItemSummary_opsItemId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\OpsItemRelatedItemSummary' {Maybe Text
opsItemId :: Maybe Text
$sel:opsItemId:OpsItemRelatedItemSummary' :: OpsItemRelatedItemSummary -> Maybe Text
opsItemId} -> Maybe Text
opsItemId) (\s :: OpsItemRelatedItemSummary
s@OpsItemRelatedItemSummary' {} Maybe Text
a -> OpsItemRelatedItemSummary
s {$sel:opsItemId:OpsItemRelatedItemSummary' :: Maybe Text
opsItemId = Maybe Text
a} :: OpsItemRelatedItemSummary)

-- | The resource type.
opsItemRelatedItemSummary_resourceType :: Lens.Lens' OpsItemRelatedItemSummary (Prelude.Maybe Prelude.Text)
opsItemRelatedItemSummary_resourceType :: Lens' OpsItemRelatedItemSummary (Maybe Text)
opsItemRelatedItemSummary_resourceType = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\OpsItemRelatedItemSummary' {Maybe Text
resourceType :: Maybe Text
$sel:resourceType:OpsItemRelatedItemSummary' :: OpsItemRelatedItemSummary -> Maybe Text
resourceType} -> Maybe Text
resourceType) (\s :: OpsItemRelatedItemSummary
s@OpsItemRelatedItemSummary' {} Maybe Text
a -> OpsItemRelatedItemSummary
s {$sel:resourceType:OpsItemRelatedItemSummary' :: Maybe Text
resourceType = Maybe Text
a} :: OpsItemRelatedItemSummary)

-- | The Amazon Resource Name (ARN) of the related-item resource.
opsItemRelatedItemSummary_resourceUri :: Lens.Lens' OpsItemRelatedItemSummary (Prelude.Maybe Prelude.Text)
opsItemRelatedItemSummary_resourceUri :: Lens' OpsItemRelatedItemSummary (Maybe Text)
opsItemRelatedItemSummary_resourceUri = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\OpsItemRelatedItemSummary' {Maybe Text
resourceUri :: Maybe Text
$sel:resourceUri:OpsItemRelatedItemSummary' :: OpsItemRelatedItemSummary -> Maybe Text
resourceUri} -> Maybe Text
resourceUri) (\s :: OpsItemRelatedItemSummary
s@OpsItemRelatedItemSummary' {} Maybe Text
a -> OpsItemRelatedItemSummary
s {$sel:resourceUri:OpsItemRelatedItemSummary' :: Maybe Text
resourceUri = Maybe Text
a} :: OpsItemRelatedItemSummary)

instance Data.FromJSON OpsItemRelatedItemSummary where
  parseJSON :: Value -> Parser OpsItemRelatedItemSummary
parseJSON =
    forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
      String
"OpsItemRelatedItemSummary"
      ( \Object
x ->
          Maybe Text
-> Maybe Text
-> Maybe OpsItemIdentity
-> Maybe POSIX
-> Maybe OpsItemIdentity
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> OpsItemRelatedItemSummary
OpsItemRelatedItemSummary'
            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
"AssociationId")
            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
"AssociationType")
            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
"CreatedBy")
            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
"CreatedTime")
            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
"LastModifiedBy")
            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
"LastModifiedTime")
            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
"OpsItemId")
            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
"ResourceType")
            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
"ResourceUri")
      )

instance Prelude.Hashable OpsItemRelatedItemSummary where
  hashWithSalt :: Int -> OpsItemRelatedItemSummary -> Int
hashWithSalt Int
_salt OpsItemRelatedItemSummary' {Maybe Text
Maybe POSIX
Maybe OpsItemIdentity
resourceUri :: Maybe Text
resourceType :: Maybe Text
opsItemId :: Maybe Text
lastModifiedTime :: Maybe POSIX
lastModifiedBy :: Maybe OpsItemIdentity
createdTime :: Maybe POSIX
createdBy :: Maybe OpsItemIdentity
associationType :: Maybe Text
associationId :: Maybe Text
$sel:resourceUri:OpsItemRelatedItemSummary' :: OpsItemRelatedItemSummary -> Maybe Text
$sel:resourceType:OpsItemRelatedItemSummary' :: OpsItemRelatedItemSummary -> Maybe Text
$sel:opsItemId:OpsItemRelatedItemSummary' :: OpsItemRelatedItemSummary -> Maybe Text
$sel:lastModifiedTime:OpsItemRelatedItemSummary' :: OpsItemRelatedItemSummary -> Maybe POSIX
$sel:lastModifiedBy:OpsItemRelatedItemSummary' :: OpsItemRelatedItemSummary -> Maybe OpsItemIdentity
$sel:createdTime:OpsItemRelatedItemSummary' :: OpsItemRelatedItemSummary -> Maybe POSIX
$sel:createdBy:OpsItemRelatedItemSummary' :: OpsItemRelatedItemSummary -> Maybe OpsItemIdentity
$sel:associationType:OpsItemRelatedItemSummary' :: OpsItemRelatedItemSummary -> Maybe Text
$sel:associationId:OpsItemRelatedItemSummary' :: OpsItemRelatedItemSummary -> Maybe Text
..} =
    Int
_salt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
associationId
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
associationType
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe OpsItemIdentity
createdBy
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe POSIX
createdTime
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe OpsItemIdentity
lastModifiedBy
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe POSIX
lastModifiedTime
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
opsItemId
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
resourceType
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
resourceUri

instance Prelude.NFData OpsItemRelatedItemSummary where
  rnf :: OpsItemRelatedItemSummary -> ()
rnf OpsItemRelatedItemSummary' {Maybe Text
Maybe POSIX
Maybe OpsItemIdentity
resourceUri :: Maybe Text
resourceType :: Maybe Text
opsItemId :: Maybe Text
lastModifiedTime :: Maybe POSIX
lastModifiedBy :: Maybe OpsItemIdentity
createdTime :: Maybe POSIX
createdBy :: Maybe OpsItemIdentity
associationType :: Maybe Text
associationId :: Maybe Text
$sel:resourceUri:OpsItemRelatedItemSummary' :: OpsItemRelatedItemSummary -> Maybe Text
$sel:resourceType:OpsItemRelatedItemSummary' :: OpsItemRelatedItemSummary -> Maybe Text
$sel:opsItemId:OpsItemRelatedItemSummary' :: OpsItemRelatedItemSummary -> Maybe Text
$sel:lastModifiedTime:OpsItemRelatedItemSummary' :: OpsItemRelatedItemSummary -> Maybe POSIX
$sel:lastModifiedBy:OpsItemRelatedItemSummary' :: OpsItemRelatedItemSummary -> Maybe OpsItemIdentity
$sel:createdTime:OpsItemRelatedItemSummary' :: OpsItemRelatedItemSummary -> Maybe POSIX
$sel:createdBy:OpsItemRelatedItemSummary' :: OpsItemRelatedItemSummary -> Maybe OpsItemIdentity
$sel:associationType:OpsItemRelatedItemSummary' :: OpsItemRelatedItemSummary -> Maybe Text
$sel:associationId:OpsItemRelatedItemSummary' :: OpsItemRelatedItemSummary -> Maybe Text
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
associationId
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
associationType
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe OpsItemIdentity
createdBy
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe POSIX
createdTime
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe OpsItemIdentity
lastModifiedBy
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe POSIX
lastModifiedTime
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
opsItemId
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
resourceType
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
resourceUri