ListDeviceEventsInput
import "github.com/aws/aws-sdk-go/service/iot1clickdevicesservice"
type ListDeviceEventsInput struct { DeviceId *string `location:"uri" locationName:"deviceId" type:"string" required:"true"` FromTimeStamp *time.Time `location:"querystring" locationName:"fromTimeStamp" type:"timestamp" timestampFormat:"iso8601" required:"true"` MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` ToTimeStamp *time.Time `location:"querystring" locationName:"toTimeStamp" type:"timestamp" timestampFormat:"iso8601" required:"true"` }
- DeviceId
-
Type:
*string
DeviceId is a required field
- FromTimeStamp
-
Type:
*time.Time
FromTimeStamp is a required field
- MaxResults
-
Type:
*int64
- NextToken
-
Type:
*string
- ToTimeStamp
-
Type:
*time.Time
ToTimeStamp is a required field
Method
GoString
func (s ListDeviceEventsInput) GoString() string
GoString returns the string representation
SetDeviceId
func (s *ListDeviceEventsInput) SetDeviceId(v string) *ListDeviceEventsInput
SetDeviceId sets the DeviceId field's value.
SetFromTimeStamp
func (s *ListDeviceEventsInput) SetFromTimeStamp(v time.Time) *ListDeviceEventsInput
SetFromTimeStamp sets the FromTimeStamp field's value.
SetMaxResults
func (s *ListDeviceEventsInput) SetMaxResults(v int64) *ListDeviceEventsInput
SetMaxResults sets the MaxResults field's value.
SetNextToken
func (s *ListDeviceEventsInput) SetNextToken(v string) *ListDeviceEventsInput
SetNextToken sets the NextToken field's value.
SetToTimeStamp
func (s *ListDeviceEventsInput) SetToTimeStamp(v time.Time) *ListDeviceEventsInput
SetToTimeStamp sets the ToTimeStamp field's value.
String
func (s ListDeviceEventsInput) String() string
String returns the string representation
Validate
func (s *ListDeviceEventsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.