Class: Aws::Billing::Types::AttestationValue

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

Overview

Note:

AttestationValue is a union - when making an API calls you must set exactly one of the members.

The value being attested. This is a union in which exactly one member is set. Set attestationAmount to attest a monetary amount directly, or set attestationQuantities to attest one or more quantities that are converted to a value using the investment's multipliers.

Defined Under Namespace

Classes: AttestationAmount, AttestationQuantities, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#attestation_amount ⇒ Types::Amount

The value attested as a monetary amount. This form is valid only when the investment has no multiplier.

Returns:



260
261
262
263
264
265
266
267
268
269
270
271
# File 'gems/aws-sdk-billing/lib/aws-sdk-billing/types.rb', line 260

class AttestationValue < Struct.new(
  :attestation_amount,
  :attestation_quantities,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AttestationAmount < AttestationValue; end
  class AttestationQuantities < AttestationValue; end
  class Unknown < AttestationValue; end
end

#attestation_quantities ⇒ Array<Types::AttestationQuantity>

The value attested as one or more quantities, each with its own unit. The list contains at most 50 quantities.

Returns:



260
261
262
263
264
265
266
267
268
269
270
271
# File 'gems/aws-sdk-billing/lib/aws-sdk-billing/types.rb', line 260

class AttestationValue < Struct.new(
  :attestation_amount,
  :attestation_quantities,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AttestationAmount < AttestationValue; end
  class AttestationQuantities < AttestationValue; end
  class Unknown < AttestationValue; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



260
261
262
# File 'gems/aws-sdk-billing/lib/aws-sdk-billing/types.rb', line 260

def unknown
  @unknown
end