AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

EntitlementValue

import "github.com/aws/aws-sdk-go/service/marketplaceentitlementservice"

type EntitlementValue struct { BooleanValue *bool `type:"boolean"` DoubleValue *float64 `type:"double"` IntegerValue *int64 `type:"integer"` StringValue *string `type:"string"` }

The EntitlementValue represents the amount of capacity that the customer is entitled to for the product.

BooleanValue

Type: *bool

The BooleanValue field will be populated with a boolean value when the entitlement is a boolean type. Otherwise, the field will not be set.

DoubleValue

Type: *float64

The DoubleValue field will be populated with a double value when the entitlement is a double type. Otherwise, the field will not be set.

IntegerValue

Type: *int64

The IntegerValue field will be populated with an integer value when the entitlement is an integer type. Otherwise, the field will not be set.

StringValue

Type: *string

The StringValue field will be populated with a string value when the entitlement is a string type. Otherwise, the field will not be set.

Method

GoString

func (s EntitlementValue) GoString() string

GoString returns the string representation

SetBooleanValue

func (s *EntitlementValue) SetBooleanValue(v bool) *EntitlementValue

SetBooleanValue sets the BooleanValue field's value.

SetDoubleValue

func (s *EntitlementValue) SetDoubleValue(v float64) *EntitlementValue

SetDoubleValue sets the DoubleValue field's value.

SetIntegerValue

func (s *EntitlementValue) SetIntegerValue(v int64) *EntitlementValue

SetIntegerValue sets the IntegerValue field's value.

SetStringValue

func (s *EntitlementValue) SetStringValue(v string) *EntitlementValue

SetStringValue sets the StringValue field's value.

String

func (s EntitlementValue) String() string

String returns the string representation

On this page: