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

package v1

import (
	operatorv1 "github.com/openshift/api/operator/v1"
)

// BootImageSkewEnforcementStatusApplyConfiguration represents a declarative configuration of the BootImageSkewEnforcementStatus type for use
// with apply.
type BootImageSkewEnforcementStatusApplyConfiguration struct {
	Mode      *operatorv1.BootImageSkewEnforcementModeStatus `json:"mode,omitempty"`
	Automatic *ClusterBootImageAutomaticApplyConfiguration   `json:"automatic,omitempty"`
	Manual    *ClusterBootImageManualApplyConfiguration      `json:"manual,omitempty"`
}

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

// WithMode sets the Mode 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 Mode field is set to the value of the last call.
func (b *BootImageSkewEnforcementStatusApplyConfiguration) WithMode(value operatorv1.BootImageSkewEnforcementModeStatus) *BootImageSkewEnforcementStatusApplyConfiguration {
	b.Mode = &value
	return b
}

// WithAutomatic sets the Automatic 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 Automatic field is set to the value of the last call.
func (b *BootImageSkewEnforcementStatusApplyConfiguration) WithAutomatic(value *ClusterBootImageAutomaticApplyConfiguration) *BootImageSkewEnforcementStatusApplyConfiguration {
	b.Automatic = value
	return b
}

// WithManual sets the Manual 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 Manual field is set to the value of the last call.
func (b *BootImageSkewEnforcementStatusApplyConfiguration) WithManual(value *ClusterBootImageManualApplyConfiguration) *BootImageSkewEnforcementStatusApplyConfiguration {
	b.Manual = value
	return b
}
