// SetId sets the ID of the resource. If the value is blank, then the
// resource is destroyed.
353861
func (d *ResourceData) SetId(v string) {
	d.once.Do(d.init)
	d.newState.ID = v

	// once we transition away from the legacy state types, "id" will no longer
	// be a special field, and will become a normal attribute.
	// set the attribute normally
	d.setWriter.unsafeWriteField("id", v)

	// Make sure the newState is also set, otherwise the old value
	// may get precedence.
	if d.newState.Attributes == nil {
		d.newState.Attributes = map[string]string{}
	}
	d.newState.Attributes["id"] = v
}
777269
func (s *DescribeTagOptionInput) SetId(v string) *DescribeTagOptionInput {
	s.Id = &v
	return s
}
868098
func (s *UpdatePipelineStatusInput) SetId(v string) *UpdatePipelineStatusInput {
	s.Id = &v
	return s
}
456870
func (s *GetSdkTypeInput) SetId(v string) *GetSdkTypeInput {
	s.Id = &v
	return s
}
561747
func (s *FieldLevelEncryption) SetId(v string) *FieldLevelEncryption {
	s.Id = &v
	return s
}
1185297
func (s *GetNamespaceInput) SetId(v string) *GetNamespaceInput {
	s.Id = &v
	return s
}
1075618
func (s *UnshareTarget) SetId(v string) *UnshareTarget {
	s.Id = &v
	return s
}
688182
func (s *Model) SetId(v string) *Model {
	s.Id = &v
	return s
}
833017
func (s *UserMetadata) SetId(v string) *UserMetadata {
	s.Id = &v
	return s
}
444930
func (s *Operation) SetId(v string) *Operation {
	s.Id = &v
	return s
}
480238
func (s *DeleteChannelOutput) SetId(v string) *DeleteChannelOutput {
	s.Id = &v
	return s
}
798912
func (s *DescribeOriginEndpointOutput) SetId(v string) *DescribeOriginEndpointOutput {
	s.Id = &v
	return s
}
724783
func (s *UpdateOriginEndpointOutput) SetId(v string) *UpdateOriginEndpointOutput {
	s.Id = &v
	return s
}
861042
func (s *AwsSecurityFinding) SetId(v string) *AwsSecurityFinding {
	s.Id = &v
	return s
}
621097
func (s *CreateDeviceDefinitionOutput) SetId(v string) *CreateDeviceDefinitionOutput {
	s.Id = &v
	return s
}
287649
func (s *SubResourceSummary) SetId(v string) *SubResourceSummary {
	s.Id = &v
	return s
}
924802
func (s *Job) SetId(v string) *Job {
	s.Id = &v
	return s
}