libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker
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.SageMaker.Types.USD

Description

 
Synopsis

Documentation

data USD Source #

Represents an amount of money in United States dollars.

See: newUSD smart constructor.

Constructors

USD' 

Fields

Instances

Instances details
Eq USD Source # 
Instance details

Defined in Amazonka.SageMaker.Types.USD

Methods

(==) :: USD -> USD -> Bool #

(/=) :: USD -> USD -> Bool #

Read USD Source # 
Instance details

Defined in Amazonka.SageMaker.Types.USD

Show USD Source # 
Instance details

Defined in Amazonka.SageMaker.Types.USD

Methods

showsPrec :: Int -> USD -> ShowS #

show :: USD -> String #

showList :: [USD] -> ShowS #

Generic USD Source # 
Instance details

Defined in Amazonka.SageMaker.Types.USD

Associated Types

type Rep USD :: Type -> Type #

Methods

from :: USD -> Rep USD x #

to :: Rep USD x -> USD #

NFData USD Source # 
Instance details

Defined in Amazonka.SageMaker.Types.USD

Methods

rnf :: USD -> () #

Hashable USD Source # 
Instance details

Defined in Amazonka.SageMaker.Types.USD

Methods

hashWithSalt :: Int -> USD -> Int #

hash :: USD -> Int #

ToJSON USD Source # 
Instance details

Defined in Amazonka.SageMaker.Types.USD

FromJSON USD Source # 
Instance details

Defined in Amazonka.SageMaker.Types.USD

type Rep USD Source # 
Instance details

Defined in Amazonka.SageMaker.Types.USD

type Rep USD = D1 ('MetaData "USD" "Amazonka.SageMaker.Types.USD" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "USD'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cents") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "dollars") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "tenthFractionsOfACent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))

newUSD :: USD Source #

Create a value of USD 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:cents:USD', usd_cents - The fractional portion, in cents, of the amount.

$sel:dollars:USD', usd_dollars - The whole number of dollars in the amount.

$sel:tenthFractionsOfACent:USD', usd_tenthFractionsOfACent - Fractions of a cent, in tenths.

usd_cents :: Lens' USD (Maybe Natural) Source #

The fractional portion, in cents, of the amount.

usd_dollars :: Lens' USD (Maybe Natural) Source #

The whole number of dollars in the amount.

usd_tenthFractionsOfACent :: Lens' USD (Maybe Natural) Source #

Fractions of a cent, in tenths.