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

package v1

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

// ClusterBootImageManualApplyConfiguration represents a declarative configuration of the ClusterBootImageManual type for use
// with apply.
type ClusterBootImageManualApplyConfiguration struct {
	Mode         *operatorv1.ClusterBootImageManualMode `json:"mode,omitempty"`
	OCPVersion   *string                                `json:"ocpVersion,omitempty"`
	RHCOSVersion *string                                `json:"rhcosVersion,omitempty"`
}

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

// 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 *ClusterBootImageManualApplyConfiguration) WithMode(value operatorv1.ClusterBootImageManualMode) *ClusterBootImageManualApplyConfiguration {
	b.Mode = &value
	return b
}

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

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