amazonka-lookoutequipment-2.0: Amazon Lookout for Equipment SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.LookoutEquipment.Types.CountPercent

Description

 
Synopsis

Documentation

data CountPercent Source #

Entity that comprises information of count and percentage.

See: newCountPercent smart constructor.

Constructors

CountPercent' 

Fields

  • count :: Int

    Indicates the count of occurences of the given statistic.

  • percentage :: Double

    Indicates the percentage of occurances of the given statistic.

Instances

Instances details
FromJSON CountPercent Source # 
Instance details

Defined in Amazonka.LookoutEquipment.Types.CountPercent

Generic CountPercent Source # 
Instance details

Defined in Amazonka.LookoutEquipment.Types.CountPercent

Associated Types

type Rep CountPercent :: Type -> Type #

Read CountPercent Source # 
Instance details

Defined in Amazonka.LookoutEquipment.Types.CountPercent

Show CountPercent Source # 
Instance details

Defined in Amazonka.LookoutEquipment.Types.CountPercent

NFData CountPercent Source # 
Instance details

Defined in Amazonka.LookoutEquipment.Types.CountPercent

Methods

rnf :: CountPercent -> () #

Eq CountPercent Source # 
Instance details

Defined in Amazonka.LookoutEquipment.Types.CountPercent

Hashable CountPercent Source # 
Instance details

Defined in Amazonka.LookoutEquipment.Types.CountPercent

type Rep CountPercent Source # 
Instance details

Defined in Amazonka.LookoutEquipment.Types.CountPercent

type Rep CountPercent = D1 ('MetaData "CountPercent" "Amazonka.LookoutEquipment.Types.CountPercent" "amazonka-lookoutequipment-2.0-FBtgEViQ46F6elHeNaa8oC" 'False) (C1 ('MetaCons "CountPercent'" 'PrefixI 'True) (S1 ('MetaSel ('Just "count") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "percentage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double)))

newCountPercent Source #

Create a value of CountPercent with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:count:CountPercent', countPercent_count - Indicates the count of occurences of the given statistic.

$sel:percentage:CountPercent', countPercent_percentage - Indicates the percentage of occurances of the given statistic.

countPercent_count :: Lens' CountPercent Int Source #

Indicates the count of occurences of the given statistic.

countPercent_percentage :: Lens' CountPercent Double Source #

Indicates the percentage of occurances of the given statistic.