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

package v1

// AWSDNSSpecApplyConfiguration represents a declarative configuration of the AWSDNSSpec type for use
// with apply.
type AWSDNSSpecApplyConfiguration struct {
	PrivateZoneIAMRole *string `json:"privateZoneIAMRole,omitempty"`
}

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

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