// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.

package resourcegroupstaggingapi

type ErrorCode string

// Enum values for ErrorCode
const (
	ErrorCodeInternalServiceException  ErrorCode = "InternalServiceException"
	ErrorCodeInvalidParameterException ErrorCode = "InvalidParameterException"
)

func (enum ErrorCode) MarshalValue() (string, error) {
	return string(enum), nil
}

func (enum ErrorCode) MarshalValueBuf(b []byte) ([]byte, error) {
	b = b[0:0]
	return append(b, enum...), nil
}

type GroupByAttribute string

// Enum values for GroupByAttribute
const (
	GroupByAttributeTargetId     GroupByAttribute = "TARGET_ID"
	GroupByAttributeRegion       GroupByAttribute = "REGION"
	GroupByAttributeResourceType GroupByAttribute = "RESOURCE_TYPE"
)

func (enum GroupByAttribute) MarshalValue() (string, error) {
	return string(enum), nil
}

func (enum GroupByAttribute) MarshalValueBuf(b []byte) ([]byte, error) {
	b = b[0:0]
	return append(b, enum...), nil
}

type TargetIdType string

// Enum values for TargetIdType
const (
	TargetIdTypeAccount TargetIdType = "ACCOUNT"
	TargetIdTypeOu      TargetIdType = "OU"
	TargetIdTypeRoot    TargetIdType = "ROOT"
)

func (enum TargetIdType) MarshalValue() (string, error) {
	return string(enum), nil
}

func (enum TargetIdType) MarshalValueBuf(b []byte) ([]byte, error) {
	b = b[0:0]
	return append(b, enum...), nil
}
