// SetDeleteAll sets the DeleteAll field's value.
433020
func (s *DeleteCustomMetadataInput) SetDeleteAll(v bool) *DeleteCustomMetadataInput {
	s.DeleteAll = &v
	return s
}
818449
func (s *set) DoAll(f func(v interface{}) error) error {
	for v := range s.values {
		if err := f(v); err != nil {
			return errors.Annotate(err, ErrDoAll, errorMessages)
		}
	}
	return nil
}
397838
func (c *LayeredCache) DeleteAll(primary string) bool {
	return c.bucket(primary).deleteAll(primary, c.deletables)
}
1223900
func (s *BatchWriteOperationResponse) SetDeleteObject(v *BatchDeleteObjectResponse) *BatchWriteOperationResponse {
	s.DeleteObject = v
	return s
}
1307284
func (s *EbsBlockDevice) SetDeleteOnTermination(v bool) *EbsBlockDevice {
	s.DeleteOnTermination = &v
	return s
}
245153
func (s *CreateCommitInput) SetDeleteFiles(v []*DeleteFileEntry) *CreateCommitInput {
	s.DeleteFiles = v
	return s
}
120774
func (svc *S3Accessor) DeleteAll(ctx context.Context) error {
	// List each one, delete it

	listObjectInput := &s3.ListObjectsInput{
		Bucket: aws.String(svc.s3BucketName()),
	}

	listObjectResult, listObjectResultErr := svc.
		s3Svc(ctx).
		ListObjectsWithContext(ctx, listObjectInput)

	if listObjectResultErr != nil {
		return nil
	}
	for _, eachObject := range listObjectResult.Contents {
		deleteErr := svc.Delete(ctx, *eachObject.Key)
		if deleteErr != nil {
			return deleteErr
		}
	}
	return nil
}
332700
func (s *RestoreDBInstanceFromS3Input) SetDeletionProtection(v bool) *RestoreDBInstanceFromS3Input {
	s.DeletionProtection = &v
	return s
}
1354927
func (s *DeleteFacesOutput) SetDeletedFaces(v []*string) *DeleteFacesOutput {
	s.DeletedFaces = v
	return s
}
79249
func (s *HeadObjectOutput) SetDeleteMarker(v bool) *HeadObjectOutput {
	s.DeleteMarker = &v
	return s
}
167237
func (s *UpdateDevEndpointInput) SetDeleteArguments(v []*string) *UpdateDevEndpointInput {
	s.DeleteArguments = v
	return s
}
1092480
func (s *DeleteTagsForDomainInput) SetTagsToDelete(v []*string) *DeleteTagsForDomainInput {
	s.TagsToDelete = v
	return s
}
144239
func (s *GetObjectOutput) SetDeleteMarker(v bool) *GetObjectOutput {
	s.DeleteMarker = &v
	return s
}
105800
func (p *Permissions) SetAll(v bool) {
	if p.Backups == nil {
		p.Backups = &BackupPerm{v, v, v}
	} else {
		p.Backups.SetAll(v)
	}
	if p.Firewalls == nil {
		p.Firewalls = &FirewallPerm{v, v, v, v, v, v, v, v}
	} else {
		p.Firewalls.SetAll(v)
	}
	if p.Images == nil {
		p.Images = &ImagePerm{v, v, v, v, v, v}
	} else {
		p.Images.SetAll(v)
	}
	if p.Invoice == nil {
		p.Invoice = &InvoicePerm{v}
	} else {
		p.Invoice.SetAll(v)
	}
	if p.IPs == nil {
		p.IPs = &IPPerm{v, v, v, v, v}
	} else {
		p.IPs.SetAll(v)
	}
	if p.LoadBalancers == nil {
		p.LoadBalancers = &LoadBalancerPerm{v, v, v, v, v, v, v, v}
	} else {
		p.LoadBalancers.SetAll(v)
	}
	if p.Logs == nil {
		p.Logs = &LogPerm{v}
	} else {
		p.Logs.SetAll(v)
	}
	if p.MonitorCenter == nil {
		p.MonitorCenter = &MonitorCenterPerm{v}
	} else {
		p.MonitorCenter.SetAll(v)
	}
	if p.MonitorPolicies == nil {
		p.MonitorPolicies = &MonitorPolicyPerm{v, v, v, v, v, v, v, v, v, v, v}
	} else {
		p.MonitorPolicies.SetAll(v)
	}
	if p.PrivateNetworks == nil {
		p.PrivateNetworks = &PrivateNetworkPerm{v, v, v, v, v, v, v}
	} else {
		p.PrivateNetworks.SetAll(v)
	}
	if p.Roles == nil {
		p.Roles = &RolePerm{v, v, v, v, v, v, v, v}
	} else {
		p.Roles.SetAll(v)
	}
	if p.Servers == nil {
		p.Servers = &ServerPerm{v, v, v, v, v, v, v, v, v, v, v, v, v, v, v}
	} else {
		p.Servers.SetAll(v)
	}
	if p.SharedStorage == nil {
		p.SharedStorage = &SharedStoragePerm{v, v, v, v, v, v, v, v}
	} else {
		p.SharedStorage.SetAll(v)
	}
	if p.Usages == nil {
		p.Usages = &UsagePerm{v}
	} else {
		p.Usages.SetAll(v)
	}
	if p.Users == nil {
		p.Users = &UserPerm{v, v, v, v, v, v, v, v, v, v}
	} else {
		p.Users.SetAll(v)
	}
	if p.VPNs == nil {
		p.VPNs = &VPNPerm{v, v, v, v, v, v}
	} else {
		p.VPNs.SetAll(v)
	}
}
205351
func (mpp *MonitorPolicyPerm) SetAll(value bool) {
	mpp.Clone = value
	mpp.Create = value
	mpp.Delete = value
	mpp.ManageAttachedServers = value
	mpp.ManagePorts = value
	mpp.ManageProcesses = value
	mpp.ModifyResources = value
	mpp.SetDescription = value
	mpp.SetEmail = value
	mpp.SetName = value
	mpp.Show = value
}
977769
func (s *SecretListEntry) SetDeletedDate(v time.Time) *SecretListEntry {
	s.DeletedDate = &v
	return s
}
312267
func (s *ElasticsearchDomainStatus) SetDeleted(v bool) *ElasticsearchDomainStatus {
	s.Deleted = &v
	return s
}