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.

PlacementSummary

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

type PlacementSummary struct { CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" required:"true"` PlacementName *string `locationName:"placementName" min:"1" type:"string" required:"true"` ProjectName *string `locationName:"projectName" min:"1" type:"string" required:"true"` UpdatedDate *time.Time `locationName:"updatedDate" type:"timestamp" required:"true"` }

An object providing summary information for a particular placement.

CreatedDate

Type: *time.Time

The date when the placement was originally created, in UNIX epoch time format.

CreatedDate is a required field

PlacementName

Type: *string

The name of the placement being summarized.

PlacementName is a required field

ProjectName

Type: *string

The name of the project containing the placement.

ProjectName is a required field

UpdatedDate

Type: *time.Time

The date when the placement was last updated, in UNIX epoch time format. If the placement was not updated, then createdDate and updatedDate are the same.

UpdatedDate is a required field

Method

GoString

func (s PlacementSummary) GoString() string

GoString returns the string representation

SetCreatedDate

func (s *PlacementSummary) SetCreatedDate(v time.Time) *PlacementSummary

SetCreatedDate sets the CreatedDate field's value.

SetPlacementName

func (s *PlacementSummary) SetPlacementName(v string) *PlacementSummary

SetPlacementName sets the PlacementName field's value.

SetProjectName

func (s *PlacementSummary) SetProjectName(v string) *PlacementSummary

SetProjectName sets the ProjectName field's value.

SetUpdatedDate

func (s *PlacementSummary) SetUpdatedDate(v time.Time) *PlacementSummary

SetUpdatedDate sets the UpdatedDate field's value.

String

func (s PlacementSummary) String() string

String returns the string representation

On this page: