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.

UpdateExpirationForHITInput

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

type UpdateExpirationForHITInput struct { ExpireAt *time.Time `type:"timestamp" required:"true"` HITId *string `min:"1" type:"string" required:"true"` }

ExpireAt

Type: *time.Time

The date and time at which you want the HIT to expire

ExpireAt is a required field

HITId

Type: *string

The HIT to update.

HITId is a required field

Method

GoString

func (s UpdateExpirationForHITInput) GoString() string

GoString returns the string representation

SetExpireAt

func (s *UpdateExpirationForHITInput) SetExpireAt(v time.Time) *UpdateExpirationForHITInput

SetExpireAt sets the ExpireAt field's value.

SetHITId

func (s *UpdateExpirationForHITInput) SetHITId(v string) *UpdateExpirationForHITInput

SetHITId sets the HITId field's value.

String

func (s UpdateExpirationForHITInput) String() string

String returns the string representation

Validate

func (s *UpdateExpirationForHITInput) Validate() error

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

On this page: