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

package v1

// GatewayConfigApplyConfiguration represents an declarative configuration of the GatewayConfig type for use
// with apply.
type GatewayConfigApplyConfiguration struct {
	RoutingViaHost *bool `json:"routingViaHost,omitempty"`
}

// GatewayConfigApplyConfiguration constructs an declarative configuration of the GatewayConfig type for use with
// apply.
func GatewayConfig() *GatewayConfigApplyConfiguration {
	return &GatewayConfigApplyConfiguration{}
}

// WithRoutingViaHost sets the RoutingViaHost 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 RoutingViaHost field is set to the value of the last call.
func (b *GatewayConfigApplyConfiguration) WithRoutingViaHost(value bool) *GatewayConfigApplyConfiguration {
	b.RoutingViaHost = &value
	return b
}
