Class: Aws::Billing::Types::AttestationValue
- Inherits:
-
Struct
- Object
- Struct
- Aws::Billing::Types::AttestationValue
- Defined in:
- gems/aws-sdk-billing/lib/aws-sdk-billing/types.rb
Overview
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
-
#attestation_amount ⇒ Types::Amount
The value attested as a monetary amount.
-
#attestation_quantities ⇒ Array<Types::AttestationQuantity>
The value attested as one or more quantities, each with its own unit.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
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.
276 277 278 279 280 281 282 283 284 285 286 287 |
# File 'gems/aws-sdk-billing/lib/aws-sdk-billing/types.rb', line 276 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.
276 277 278 279 280 281 282 283 284 285 286 287 |
# File 'gems/aws-sdk-billing/lib/aws-sdk-billing/types.rb', line 276 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
276 277 278 |
# File 'gems/aws-sdk-billing/lib/aws-sdk-billing/types.rb', line 276 def unknown @unknown end |