You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::SageMaker::Types::USD

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb

Overview

Note:

When making an API call, you may pass USD data as a hash:

{
  dollars: 1,
  cents: 1,
  tenth_fractions_of_a_cent: 1,
}

Represents an amount of money in United States dollars/

Instance Attribute Summary collapse

Instance Attribute Details

#centsInteger

The fractional portion, in cents, of the amount.

Returns:

  • (Integer)


11962
11963
11964
11965
11966
11967
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 11962

class USD < Struct.new(
  :dollars,
  :cents,
  :tenth_fractions_of_a_cent)
  include Aws::Structure
end

#dollarsInteger

The whole number of dollars in the amount.

Returns:

  • (Integer)


11962
11963
11964
11965
11966
11967
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 11962

class USD < Struct.new(
  :dollars,
  :cents,
  :tenth_fractions_of_a_cent)
  include Aws::Structure
end

#tenth_fractions_of_a_centInteger

Fractions of a cent, in tenths.

Returns:

  • (Integer)


11962
11963
11964
11965
11966
11967
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 11962

class USD < Struct.new(
  :dollars,
  :cents,
  :tenth_fractions_of_a_cent)
  include Aws::Structure
end