libZSservicesZSamazonka-glueZSamazonka-glue
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Glue.Types.DecimalNumber

Description

 
Synopsis

Documentation

data DecimalNumber Source #

Contains a numeric value in decimal format.

See: newDecimalNumber smart constructor.

Constructors

DecimalNumber' 

Fields

  • unscaledValue :: Base64

    The unscaled numeric value.

  • scale :: Int

    The scale that determines where the decimal point falls in the unscaled value.

Instances

Instances details
Eq DecimalNumber Source # 
Instance details

Defined in Amazonka.Glue.Types.DecimalNumber

Read DecimalNumber Source # 
Instance details

Defined in Amazonka.Glue.Types.DecimalNumber

Show DecimalNumber Source # 
Instance details

Defined in Amazonka.Glue.Types.DecimalNumber

Generic DecimalNumber Source # 
Instance details

Defined in Amazonka.Glue.Types.DecimalNumber

Associated Types

type Rep DecimalNumber :: Type -> Type #

NFData DecimalNumber Source # 
Instance details

Defined in Amazonka.Glue.Types.DecimalNumber

Methods

rnf :: DecimalNumber -> () #

Hashable DecimalNumber Source # 
Instance details

Defined in Amazonka.Glue.Types.DecimalNumber

ToJSON DecimalNumber Source # 
Instance details

Defined in Amazonka.Glue.Types.DecimalNumber

FromJSON DecimalNumber Source # 
Instance details

Defined in Amazonka.Glue.Types.DecimalNumber

type Rep DecimalNumber Source # 
Instance details

Defined in Amazonka.Glue.Types.DecimalNumber

type Rep DecimalNumber = D1 ('MetaData "DecimalNumber" "Amazonka.Glue.Types.DecimalNumber" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "DecimalNumber'" 'PrefixI 'True) (S1 ('MetaSel ('Just "unscaledValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Base64) :*: S1 ('MetaSel ('Just "scale") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDecimalNumber Source #

Create a value of DecimalNumber 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:unscaledValue:DecimalNumber', decimalNumber_unscaledValue - The unscaled numeric value.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

$sel:scale:DecimalNumber', decimalNumber_scale - The scale that determines where the decimal point falls in the unscaled value.

decimalNumber_unscaledValue :: Lens' DecimalNumber ByteString Source #

The unscaled numeric value.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

decimalNumber_scale :: Lens' DecimalNumber Int Source #

The scale that determines where the decimal point falls in the unscaled value.