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

package v1

// AWSKMSConfigApplyConfiguration represents a declarative configuration of the AWSKMSConfig type for use
// with apply.
type AWSKMSConfigApplyConfiguration struct {
	KeyARN *string `json:"keyARN,omitempty"`
	Region *string `json:"region,omitempty"`
}

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

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

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