{-# 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.BillingConductor.Types.CustomLineItemListElement
-- 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.BillingConductor.Types.CustomLineItemListElement where

import Amazonka.BillingConductor.Types.CurrencyCode
import Amazonka.BillingConductor.Types.ListCustomLineItemChargeDetails
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

-- | A representation of a custom line item.
--
-- /See:/ 'newCustomLineItemListElement' smart constructor.
data CustomLineItemListElement = CustomLineItemListElement'
  { -- | The Amazon Resource Names (ARNs) for custom line items.
    CustomLineItemListElement -> Maybe Text
arn :: Prelude.Maybe Prelude.Text,
    -- | The number of resources that are associated to the custom line item.
    CustomLineItemListElement -> Maybe Natural
associationSize :: Prelude.Maybe Prelude.Natural,
    -- | The Amazon Resource Name (ARN) that references the billing group where
    -- the custom line item applies to.
    CustomLineItemListElement -> Maybe Text
billingGroupArn :: Prelude.Maybe Prelude.Text,
    -- | A @ListCustomLineItemChargeDetails@ that describes the charge details of
    -- a custom line item.
    CustomLineItemListElement -> Maybe ListCustomLineItemChargeDetails
chargeDetails :: Prelude.Maybe ListCustomLineItemChargeDetails,
    -- | The time created.
    CustomLineItemListElement -> Maybe Integer
creationTime :: Prelude.Maybe Prelude.Integer,
    -- | The custom line item\'s charge value currency. Only one of the valid
    -- values can be used.
    CustomLineItemListElement -> Maybe CurrencyCode
currencyCode :: Prelude.Maybe CurrencyCode,
    -- | The custom line item\'s description. This is shown on the Bills page in
    -- association with the charge value.
    CustomLineItemListElement -> Maybe (Sensitive Text)
description :: Prelude.Maybe (Data.Sensitive Prelude.Text),
    -- | The most recent time when the custom line item was modified.
    CustomLineItemListElement -> Maybe Integer
lastModifiedTime :: Prelude.Maybe Prelude.Integer,
    -- | The custom line item\'s name.
    CustomLineItemListElement -> Maybe (Sensitive Text)
name :: Prelude.Maybe (Data.Sensitive Prelude.Text),
    -- | The product code that\'s associated with the custom line item.
    CustomLineItemListElement -> Maybe Text
productCode :: Prelude.Maybe Prelude.Text
  }
  deriving (CustomLineItemListElement -> CustomLineItemListElement -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CustomLineItemListElement -> CustomLineItemListElement -> Bool
$c/= :: CustomLineItemListElement -> CustomLineItemListElement -> Bool
== :: CustomLineItemListElement -> CustomLineItemListElement -> Bool
$c== :: CustomLineItemListElement -> CustomLineItemListElement -> Bool
Prelude.Eq, Int -> CustomLineItemListElement -> ShowS
[CustomLineItemListElement] -> ShowS
CustomLineItemListElement -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CustomLineItemListElement] -> ShowS
$cshowList :: [CustomLineItemListElement] -> ShowS
show :: CustomLineItemListElement -> String
$cshow :: CustomLineItemListElement -> String
showsPrec :: Int -> CustomLineItemListElement -> ShowS
$cshowsPrec :: Int -> CustomLineItemListElement -> ShowS
Prelude.Show, forall x.
Rep CustomLineItemListElement x -> CustomLineItemListElement
forall x.
CustomLineItemListElement -> Rep CustomLineItemListElement x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep CustomLineItemListElement x -> CustomLineItemListElement
$cfrom :: forall x.
CustomLineItemListElement -> Rep CustomLineItemListElement x
Prelude.Generic)

-- |
-- Create a value of 'CustomLineItemListElement' 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:
--
-- 'arn', 'customLineItemListElement_arn' - The Amazon Resource Names (ARNs) for custom line items.
--
-- 'associationSize', 'customLineItemListElement_associationSize' - The number of resources that are associated to the custom line item.
--
-- 'billingGroupArn', 'customLineItemListElement_billingGroupArn' - The Amazon Resource Name (ARN) that references the billing group where
-- the custom line item applies to.
--
-- 'chargeDetails', 'customLineItemListElement_chargeDetails' - A @ListCustomLineItemChargeDetails@ that describes the charge details of
-- a custom line item.
--
-- 'creationTime', 'customLineItemListElement_creationTime' - The time created.
--
-- 'currencyCode', 'customLineItemListElement_currencyCode' - The custom line item\'s charge value currency. Only one of the valid
-- values can be used.
--
-- 'description', 'customLineItemListElement_description' - The custom line item\'s description. This is shown on the Bills page in
-- association with the charge value.
--
-- 'lastModifiedTime', 'customLineItemListElement_lastModifiedTime' - The most recent time when the custom line item was modified.
--
-- 'name', 'customLineItemListElement_name' - The custom line item\'s name.
--
-- 'productCode', 'customLineItemListElement_productCode' - The product code that\'s associated with the custom line item.
newCustomLineItemListElement ::
  CustomLineItemListElement
newCustomLineItemListElement :: CustomLineItemListElement
newCustomLineItemListElement =
  CustomLineItemListElement'
    { $sel:arn:CustomLineItemListElement' :: Maybe Text
arn = forall a. Maybe a
Prelude.Nothing,
      $sel:associationSize:CustomLineItemListElement' :: Maybe Natural
associationSize = forall a. Maybe a
Prelude.Nothing,
      $sel:billingGroupArn:CustomLineItemListElement' :: Maybe Text
billingGroupArn = forall a. Maybe a
Prelude.Nothing,
      $sel:chargeDetails:CustomLineItemListElement' :: Maybe ListCustomLineItemChargeDetails
chargeDetails = forall a. Maybe a
Prelude.Nothing,
      $sel:creationTime:CustomLineItemListElement' :: Maybe Integer
creationTime = forall a. Maybe a
Prelude.Nothing,
      $sel:currencyCode:CustomLineItemListElement' :: Maybe CurrencyCode
currencyCode = forall a. Maybe a
Prelude.Nothing,
      $sel:description:CustomLineItemListElement' :: Maybe (Sensitive Text)
description = forall a. Maybe a
Prelude.Nothing,
      $sel:lastModifiedTime:CustomLineItemListElement' :: Maybe Integer
lastModifiedTime = forall a. Maybe a
Prelude.Nothing,
      $sel:name:CustomLineItemListElement' :: Maybe (Sensitive Text)
name = forall a. Maybe a
Prelude.Nothing,
      $sel:productCode:CustomLineItemListElement' :: Maybe Text
productCode = forall a. Maybe a
Prelude.Nothing
    }

-- | The Amazon Resource Names (ARNs) for custom line items.
customLineItemListElement_arn :: Lens.Lens' CustomLineItemListElement (Prelude.Maybe Prelude.Text)
customLineItemListElement_arn :: Lens' CustomLineItemListElement (Maybe Text)
customLineItemListElement_arn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CustomLineItemListElement' {Maybe Text
arn :: Maybe Text
$sel:arn:CustomLineItemListElement' :: CustomLineItemListElement -> Maybe Text
arn} -> Maybe Text
arn) (\s :: CustomLineItemListElement
s@CustomLineItemListElement' {} Maybe Text
a -> CustomLineItemListElement
s {$sel:arn:CustomLineItemListElement' :: Maybe Text
arn = Maybe Text
a} :: CustomLineItemListElement)

-- | The number of resources that are associated to the custom line item.
customLineItemListElement_associationSize :: Lens.Lens' CustomLineItemListElement (Prelude.Maybe Prelude.Natural)
customLineItemListElement_associationSize :: Lens' CustomLineItemListElement (Maybe Natural)
customLineItemListElement_associationSize = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CustomLineItemListElement' {Maybe Natural
associationSize :: Maybe Natural
$sel:associationSize:CustomLineItemListElement' :: CustomLineItemListElement -> Maybe Natural
associationSize} -> Maybe Natural
associationSize) (\s :: CustomLineItemListElement
s@CustomLineItemListElement' {} Maybe Natural
a -> CustomLineItemListElement
s {$sel:associationSize:CustomLineItemListElement' :: Maybe Natural
associationSize = Maybe Natural
a} :: CustomLineItemListElement)

-- | The Amazon Resource Name (ARN) that references the billing group where
-- the custom line item applies to.
customLineItemListElement_billingGroupArn :: Lens.Lens' CustomLineItemListElement (Prelude.Maybe Prelude.Text)
customLineItemListElement_billingGroupArn :: Lens' CustomLineItemListElement (Maybe Text)
customLineItemListElement_billingGroupArn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CustomLineItemListElement' {Maybe Text
billingGroupArn :: Maybe Text
$sel:billingGroupArn:CustomLineItemListElement' :: CustomLineItemListElement -> Maybe Text
billingGroupArn} -> Maybe Text
billingGroupArn) (\s :: CustomLineItemListElement
s@CustomLineItemListElement' {} Maybe Text
a -> CustomLineItemListElement
s {$sel:billingGroupArn:CustomLineItemListElement' :: Maybe Text
billingGroupArn = Maybe Text
a} :: CustomLineItemListElement)

-- | A @ListCustomLineItemChargeDetails@ that describes the charge details of
-- a custom line item.
customLineItemListElement_chargeDetails :: Lens.Lens' CustomLineItemListElement (Prelude.Maybe ListCustomLineItemChargeDetails)
customLineItemListElement_chargeDetails :: Lens'
  CustomLineItemListElement (Maybe ListCustomLineItemChargeDetails)
customLineItemListElement_chargeDetails = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CustomLineItemListElement' {Maybe ListCustomLineItemChargeDetails
chargeDetails :: Maybe ListCustomLineItemChargeDetails
$sel:chargeDetails:CustomLineItemListElement' :: CustomLineItemListElement -> Maybe ListCustomLineItemChargeDetails
chargeDetails} -> Maybe ListCustomLineItemChargeDetails
chargeDetails) (\s :: CustomLineItemListElement
s@CustomLineItemListElement' {} Maybe ListCustomLineItemChargeDetails
a -> CustomLineItemListElement
s {$sel:chargeDetails:CustomLineItemListElement' :: Maybe ListCustomLineItemChargeDetails
chargeDetails = Maybe ListCustomLineItemChargeDetails
a} :: CustomLineItemListElement)

-- | The time created.
customLineItemListElement_creationTime :: Lens.Lens' CustomLineItemListElement (Prelude.Maybe Prelude.Integer)
customLineItemListElement_creationTime :: Lens' CustomLineItemListElement (Maybe Integer)
customLineItemListElement_creationTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CustomLineItemListElement' {Maybe Integer
creationTime :: Maybe Integer
$sel:creationTime:CustomLineItemListElement' :: CustomLineItemListElement -> Maybe Integer
creationTime} -> Maybe Integer
creationTime) (\s :: CustomLineItemListElement
s@CustomLineItemListElement' {} Maybe Integer
a -> CustomLineItemListElement
s {$sel:creationTime:CustomLineItemListElement' :: Maybe Integer
creationTime = Maybe Integer
a} :: CustomLineItemListElement)

-- | The custom line item\'s charge value currency. Only one of the valid
-- values can be used.
customLineItemListElement_currencyCode :: Lens.Lens' CustomLineItemListElement (Prelude.Maybe CurrencyCode)
customLineItemListElement_currencyCode :: Lens' CustomLineItemListElement (Maybe CurrencyCode)
customLineItemListElement_currencyCode = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CustomLineItemListElement' {Maybe CurrencyCode
currencyCode :: Maybe CurrencyCode
$sel:currencyCode:CustomLineItemListElement' :: CustomLineItemListElement -> Maybe CurrencyCode
currencyCode} -> Maybe CurrencyCode
currencyCode) (\s :: CustomLineItemListElement
s@CustomLineItemListElement' {} Maybe CurrencyCode
a -> CustomLineItemListElement
s {$sel:currencyCode:CustomLineItemListElement' :: Maybe CurrencyCode
currencyCode = Maybe CurrencyCode
a} :: CustomLineItemListElement)

-- | The custom line item\'s description. This is shown on the Bills page in
-- association with the charge value.
customLineItemListElement_description :: Lens.Lens' CustomLineItemListElement (Prelude.Maybe Prelude.Text)
customLineItemListElement_description :: Lens' CustomLineItemListElement (Maybe Text)
customLineItemListElement_description = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CustomLineItemListElement' {Maybe (Sensitive Text)
description :: Maybe (Sensitive Text)
$sel:description:CustomLineItemListElement' :: CustomLineItemListElement -> Maybe (Sensitive Text)
description} -> Maybe (Sensitive Text)
description) (\s :: CustomLineItemListElement
s@CustomLineItemListElement' {} Maybe (Sensitive Text)
a -> CustomLineItemListElement
s {$sel:description:CustomLineItemListElement' :: Maybe (Sensitive Text)
description = Maybe (Sensitive Text)
a} :: CustomLineItemListElement) 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. Iso' (Sensitive a) a
Data._Sensitive

-- | The most recent time when the custom line item was modified.
customLineItemListElement_lastModifiedTime :: Lens.Lens' CustomLineItemListElement (Prelude.Maybe Prelude.Integer)
customLineItemListElement_lastModifiedTime :: Lens' CustomLineItemListElement (Maybe Integer)
customLineItemListElement_lastModifiedTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CustomLineItemListElement' {Maybe Integer
lastModifiedTime :: Maybe Integer
$sel:lastModifiedTime:CustomLineItemListElement' :: CustomLineItemListElement -> Maybe Integer
lastModifiedTime} -> Maybe Integer
lastModifiedTime) (\s :: CustomLineItemListElement
s@CustomLineItemListElement' {} Maybe Integer
a -> CustomLineItemListElement
s {$sel:lastModifiedTime:CustomLineItemListElement' :: Maybe Integer
lastModifiedTime = Maybe Integer
a} :: CustomLineItemListElement)

-- | The custom line item\'s name.
customLineItemListElement_name :: Lens.Lens' CustomLineItemListElement (Prelude.Maybe Prelude.Text)
customLineItemListElement_name :: Lens' CustomLineItemListElement (Maybe Text)
customLineItemListElement_name = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CustomLineItemListElement' {Maybe (Sensitive Text)
name :: Maybe (Sensitive Text)
$sel:name:CustomLineItemListElement' :: CustomLineItemListElement -> Maybe (Sensitive Text)
name} -> Maybe (Sensitive Text)
name) (\s :: CustomLineItemListElement
s@CustomLineItemListElement' {} Maybe (Sensitive Text)
a -> CustomLineItemListElement
s {$sel:name:CustomLineItemListElement' :: Maybe (Sensitive Text)
name = Maybe (Sensitive Text)
a} :: CustomLineItemListElement) 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. Iso' (Sensitive a) a
Data._Sensitive

-- | The product code that\'s associated with the custom line item.
customLineItemListElement_productCode :: Lens.Lens' CustomLineItemListElement (Prelude.Maybe Prelude.Text)
customLineItemListElement_productCode :: Lens' CustomLineItemListElement (Maybe Text)
customLineItemListElement_productCode = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CustomLineItemListElement' {Maybe Text
productCode :: Maybe Text
$sel:productCode:CustomLineItemListElement' :: CustomLineItemListElement -> Maybe Text
productCode} -> Maybe Text
productCode) (\s :: CustomLineItemListElement
s@CustomLineItemListElement' {} Maybe Text
a -> CustomLineItemListElement
s {$sel:productCode:CustomLineItemListElement' :: Maybe Text
productCode = Maybe Text
a} :: CustomLineItemListElement)

instance Data.FromJSON CustomLineItemListElement where
  parseJSON :: Value -> Parser CustomLineItemListElement
parseJSON =
    forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
      String
"CustomLineItemListElement"
      ( \Object
x ->
          Maybe Text
-> Maybe Natural
-> Maybe Text
-> Maybe ListCustomLineItemChargeDetails
-> Maybe Integer
-> Maybe CurrencyCode
-> Maybe (Sensitive Text)
-> Maybe Integer
-> Maybe (Sensitive Text)
-> Maybe Text
-> CustomLineItemListElement
CustomLineItemListElement'
            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
"Arn")
            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
"AssociationSize")
            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
"BillingGroupArn")
            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
"ChargeDetails")
            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
"CurrencyCode")
            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
"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
"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
"ProductCode")
      )

instance Prelude.Hashable CustomLineItemListElement where
  hashWithSalt :: Int -> CustomLineItemListElement -> Int
hashWithSalt Int
_salt CustomLineItemListElement' {Maybe Integer
Maybe Natural
Maybe Text
Maybe (Sensitive Text)
Maybe CurrencyCode
Maybe ListCustomLineItemChargeDetails
productCode :: Maybe Text
name :: Maybe (Sensitive Text)
lastModifiedTime :: Maybe Integer
description :: Maybe (Sensitive Text)
currencyCode :: Maybe CurrencyCode
creationTime :: Maybe Integer
chargeDetails :: Maybe ListCustomLineItemChargeDetails
billingGroupArn :: Maybe Text
associationSize :: Maybe Natural
arn :: Maybe Text
$sel:productCode:CustomLineItemListElement' :: CustomLineItemListElement -> Maybe Text
$sel:name:CustomLineItemListElement' :: CustomLineItemListElement -> Maybe (Sensitive Text)
$sel:lastModifiedTime:CustomLineItemListElement' :: CustomLineItemListElement -> Maybe Integer
$sel:description:CustomLineItemListElement' :: CustomLineItemListElement -> Maybe (Sensitive Text)
$sel:currencyCode:CustomLineItemListElement' :: CustomLineItemListElement -> Maybe CurrencyCode
$sel:creationTime:CustomLineItemListElement' :: CustomLineItemListElement -> Maybe Integer
$sel:chargeDetails:CustomLineItemListElement' :: CustomLineItemListElement -> Maybe ListCustomLineItemChargeDetails
$sel:billingGroupArn:CustomLineItemListElement' :: CustomLineItemListElement -> Maybe Text
$sel:associationSize:CustomLineItemListElement' :: CustomLineItemListElement -> Maybe Natural
$sel:arn:CustomLineItemListElement' :: CustomLineItemListElement -> Maybe Text
..} =
    Int
_salt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
arn
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Natural
associationSize
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
billingGroupArn
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ListCustomLineItemChargeDetails
chargeDetails
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Integer
creationTime
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe CurrencyCode
currencyCode
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe (Sensitive Text)
description
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Integer
lastModifiedTime
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe (Sensitive Text)
name
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
productCode

instance Prelude.NFData CustomLineItemListElement where
  rnf :: CustomLineItemListElement -> ()
rnf CustomLineItemListElement' {Maybe Integer
Maybe Natural
Maybe Text
Maybe (Sensitive Text)
Maybe CurrencyCode
Maybe ListCustomLineItemChargeDetails
productCode :: Maybe Text
name :: Maybe (Sensitive Text)
lastModifiedTime :: Maybe Integer
description :: Maybe (Sensitive Text)
currencyCode :: Maybe CurrencyCode
creationTime :: Maybe Integer
chargeDetails :: Maybe ListCustomLineItemChargeDetails
billingGroupArn :: Maybe Text
associationSize :: Maybe Natural
arn :: Maybe Text
$sel:productCode:CustomLineItemListElement' :: CustomLineItemListElement -> Maybe Text
$sel:name:CustomLineItemListElement' :: CustomLineItemListElement -> Maybe (Sensitive Text)
$sel:lastModifiedTime:CustomLineItemListElement' :: CustomLineItemListElement -> Maybe Integer
$sel:description:CustomLineItemListElement' :: CustomLineItemListElement -> Maybe (Sensitive Text)
$sel:currencyCode:CustomLineItemListElement' :: CustomLineItemListElement -> Maybe CurrencyCode
$sel:creationTime:CustomLineItemListElement' :: CustomLineItemListElement -> Maybe Integer
$sel:chargeDetails:CustomLineItemListElement' :: CustomLineItemListElement -> Maybe ListCustomLineItemChargeDetails
$sel:billingGroupArn:CustomLineItemListElement' :: CustomLineItemListElement -> Maybe Text
$sel:associationSize:CustomLineItemListElement' :: CustomLineItemListElement -> Maybe Natural
$sel:arn:CustomLineItemListElement' :: CustomLineItemListElement -> Maybe Text
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
arn
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Natural
associationSize
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
billingGroupArn
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe ListCustomLineItemChargeDetails
chargeDetails
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Integer
creationTime
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe CurrencyCode
currencyCode
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe (Sensitive Text)
description
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Integer
lastModifiedTime
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe (Sensitive Text)
name
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
productCode