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.

Attribute

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

type Attribute struct { AlternateNameEncoding *string `type:"string"` AlternateValueEncoding *string `type:"string"` Name *string `type:"string" required:"true"` Value *string `type:"string" required:"true"` }

AlternateNameEncoding

Type: *string

AlternateValueEncoding

Type: *string

Name

Type: *string

The name of the attribute.

Name is a required field

Value

Type: *string

The value of the attribute.

Value is a required field

Method

GoString

func (s Attribute) GoString() string

GoString returns the string representation

SetAlternateNameEncoding

func (s *Attribute) SetAlternateNameEncoding(v string) *Attribute

SetAlternateNameEncoding sets the AlternateNameEncoding field's value.

SetAlternateValueEncoding

func (s *Attribute) SetAlternateValueEncoding(v string) *Attribute

SetAlternateValueEncoding sets the AlternateValueEncoding field's value.

SetName

func (s *Attribute) SetName(v string) *Attribute

SetName sets the Name field's value.

SetValue

func (s *Attribute) SetValue(v string) *Attribute

SetValue sets the Value field's value.

String

func (s Attribute) String() string

String returns the string representation

On this page: