func SetLongPolicy(d *schema.ResourceData, key string, val *types.LongPolicy) error {
	if val == nil {
		return nil
	}
	err := d.Set(key, val.Value)
	return err
}
func SetLongPolicy(d *schema.ResourceData, key string, val *types.LongPolicy) error {
	if val == nil {
		return nil
	}
	err := d.Set(key, val.Value)
	return err
}
func SetLongPolicy ( d * schema . ResourceData , key string , val * types . LongPolicy ) error { if val == nil { return nil } err := d . Set ( key , val . Value ) return err }
// SetLongPolicy sets a ResourceData field depending on if a LongPolicy
// exists or not. The field is not set if it's nil.
SetLongPolicy sets a ResourceData field depending on if a LongPolicy exists or not . The field is not set if it s nil .