// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates.  All rights reserved.
// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
// Code generated. DO NOT EDIT.

// DataIntelligences Control Plane API
//
// Use the DataIntelligences Control Plane API to manage dataIntelligences.
//

package dif

import (
	"strings"
)

// AutoTieringEnum Enum with underlying type: string
type AutoTieringEnum string

// Set of constants representing the allowable values for AutoTieringEnum
const (
	AutoTieringDisabled         AutoTieringEnum = "DISABLED"
	AutoTieringInfrequentaccess AutoTieringEnum = "INFREQUENTACCESS"
)

var mappingAutoTieringEnum = map[string]AutoTieringEnum{
	"DISABLED":         AutoTieringDisabled,
	"INFREQUENTACCESS": AutoTieringInfrequentaccess,
}

var mappingAutoTieringEnumLowerCase = map[string]AutoTieringEnum{
	"disabled":         AutoTieringDisabled,
	"infrequentaccess": AutoTieringInfrequentaccess,
}

// GetAutoTieringEnumValues Enumerates the set of values for AutoTieringEnum
func GetAutoTieringEnumValues() []AutoTieringEnum {
	values := make([]AutoTieringEnum, 0)
	for _, v := range mappingAutoTieringEnum {
		values = append(values, v)
	}
	return values
}

// GetAutoTieringEnumStringValues Enumerates the set of values in String for AutoTieringEnum
func GetAutoTieringEnumStringValues() []string {
	return []string{
		"DISABLED",
		"INFREQUENTACCESS",
	}
}

// GetMappingAutoTieringEnum performs case Insensitive comparison on enum value and return the desired enum
func GetMappingAutoTieringEnum(val string) (AutoTieringEnum, bool) {
	enum, ok := mappingAutoTieringEnumLowerCase[strings.ToLower(val)]
	return enum, ok
}
