// Code generated by applyconfiguration-gen. DO NOT EDIT.

package v1

import (
	configv1 "github.com/openshift/api/config/v1"
)

// FeatureGateSelectionApplyConfiguration represents a declarative configuration of the FeatureGateSelection type for use
// with apply.
type FeatureGateSelectionApplyConfiguration struct {
	FeatureSet      *configv1.FeatureSet                  `json:"featureSet,omitempty"`
	CustomNoUpgrade *CustomFeatureGatesApplyConfiguration `json:"customNoUpgrade,omitempty"`
}

// FeatureGateSelectionApplyConfiguration constructs a declarative configuration of the FeatureGateSelection type for use with
// apply.
func FeatureGateSelection() *FeatureGateSelectionApplyConfiguration {
	return &FeatureGateSelectionApplyConfiguration{}
}

// WithFeatureSet sets the FeatureSet field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the FeatureSet field is set to the value of the last call.
func (b *FeatureGateSelectionApplyConfiguration) WithFeatureSet(value configv1.FeatureSet) *FeatureGateSelectionApplyConfiguration {
	b.FeatureSet = &value
	return b
}

// WithCustomNoUpgrade sets the CustomNoUpgrade field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the CustomNoUpgrade field is set to the value of the last call.
func (b *FeatureGateSelectionApplyConfiguration) WithCustomNoUpgrade(value *CustomFeatureGatesApplyConfiguration) *FeatureGateSelectionApplyConfiguration {
	b.CustomNoUpgrade = value
	return b
}
