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

package v1

// AWSResourceTagApplyConfiguration represents a declarative configuration of the AWSResourceTag type for use
// with apply.
type AWSResourceTagApplyConfiguration struct {
	Key   *string `json:"key,omitempty"`
	Value *string `json:"value,omitempty"`
}

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

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

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