| Copyright | (c) 2013-2023 Brendan Hay | 
|---|---|
| License | Mozilla Public License, v. 2.0. | 
| Maintainer | Brendan Hay | 
| Stability | auto-generated | 
| Portability | non-portable (GHC extensions) | 
| Safe Haskell | Safe-Inferred | 
| Language | Haskell2010 | 
Amazonka.SageMaker.Types.USD
Description
Documentation
Represents an amount of money in United States dollars.
See: newUSD smart constructor.
Constructors
| USD' | |
Instances
| FromJSON USD Source # | |
| ToJSON USD Source # | |
Defined in Amazonka.SageMaker.Types.USD  | |
| Generic USD Source # | |
| Read USD Source # | |
| Show USD Source # | |
| NFData USD Source # | |
Defined in Amazonka.SageMaker.Types.USD  | |
| Eq USD Source # | |
| Hashable USD Source # | |
Defined in Amazonka.SageMaker.Types.USD  | |
| type Rep USD Source # | |
Defined in Amazonka.SageMaker.Types.USD type Rep USD = D1 ('MetaData "USD" "Amazonka.SageMaker.Types.USD" "amazonka-sagemaker-2.0-9SyrKZ4KqhsL1qX9u3ILA3" '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)))))  | |
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.