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.

ReplaceableAttribute

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

type ReplaceableAttribute struct { Name *string `type:"string" required:"true"` Replace *bool `type:"boolean"` Value *string `type:"string" required:"true"` }

Name

Type: *string

The name of the replaceable attribute.

Name is a required field

Replace

Type: *bool

A flag specifying whether or not to replace the attribute/value pair or to add a new attribute/value pair. The default setting is false

Value

Type: *string

The value of the replaceable attribute.

Value is a required field

Method

GoString

func (s ReplaceableAttribute) GoString() string

GoString returns the string representation

SetName

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

SetName sets the Name field's value.

SetReplace

func (s *ReplaceableAttribute) SetReplace(v bool) *ReplaceableAttribute

SetReplace sets the Replace field's value.

SetValue

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

SetValue sets the Value field's value.

String

func (s ReplaceableAttribute) String() string

String returns the string representation

Validate

func (s *ReplaceableAttribute) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: