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.

CancelImportTaskOutput

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

type CancelImportTaskOutput struct { ImportTaskId *string `locationName:"importTaskId" type:"string"` PreviousState *string `locationName:"previousState" type:"string"` State *string `locationName:"state" type:"string"` }

Contains the output for CancelImportTask.

ImportTaskId

Type: *string

The ID of the task being canceled.

PreviousState

Type: *string

The current state of the task being canceled.

State

Type: *string

The current state of the task being canceled.

Method

GoString

func (s CancelImportTaskOutput) GoString() string

GoString returns the string representation

SetImportTaskId

func (s *CancelImportTaskOutput) SetImportTaskId(v string) *CancelImportTaskOutput

SetImportTaskId sets the ImportTaskId field's value.

SetPreviousState

func (s *CancelImportTaskOutput) SetPreviousState(v string) *CancelImportTaskOutput

SetPreviousState sets the PreviousState field's value.

SetState

func (s *CancelImportTaskOutput) SetState(v string) *CancelImportTaskOutput

SetState sets the State field's value.

String

func (s CancelImportTaskOutput) String() string

String returns the string representation

On this page: