Class: Aws::BCMPricingCalculator::Types::CostAmount

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-bcmpricingcalculator/types.rb

Overview

Represents a monetary amount with associated currency.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#amountFloat

The numeric value of the cost.

Returns:

  • (Float)


1591
1592
1593
1594
1595
1596
# File 'lib/aws-sdk-bcmpricingcalculator/types.rb', line 1591

class CostAmount < Struct.new(
  :amount,
  :currency)
  SENSITIVE = []
  include Aws::Structure
end

#currencyString

The currency code for the cost amount.

Returns:

  • (String)


1591
1592
1593
1594
1595
1596
# File 'lib/aws-sdk-bcmpricingcalculator/types.rb', line 1591

class CostAmount < Struct.new(
  :amount,
  :currency)
  SENSITIVE = []
  include Aws::Structure
end