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

package v1

// ClusterBootImageAutomaticApplyConfiguration represents a declarative configuration of the ClusterBootImageAutomatic type for use
// with apply.
type ClusterBootImageAutomaticApplyConfiguration struct {
	OCPVersion   *string `json:"ocpVersion,omitempty"`
	RHCOSVersion *string `json:"rhcosVersion,omitempty"`
}

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

// 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 *ClusterBootImageAutomaticApplyConfiguration) WithOCPVersion(value string) *ClusterBootImageAutomaticApplyConfiguration {
	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 *ClusterBootImageAutomaticApplyConfiguration) WithRHCOSVersion(value string) *ClusterBootImageAutomaticApplyConfiguration {
	b.RHCOSVersion = &value
	return b
}
