// 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.

// LogAnalytics API
//
// The LogAnalytics API for the LogAnalytics service.
//

package loganalytics

import (
	"strings"
)

// EmBridgeLatestImportProcessingStatusEnum Enum with underlying type: string
type EmBridgeLatestImportProcessingStatusEnum string

// Set of constants representing the allowable values for EmBridgeLatestImportProcessingStatusEnum
const (
	EmBridgeLatestImportProcessingStatusNotStarted     EmBridgeLatestImportProcessingStatusEnum = "NOT_STARTED"
	EmBridgeLatestImportProcessingStatusSuccess        EmBridgeLatestImportProcessingStatusEnum = "SUCCESS"
	EmBridgeLatestImportProcessingStatusInProgress     EmBridgeLatestImportProcessingStatusEnum = "IN_PROGRESS"
	EmBridgeLatestImportProcessingStatusFailed         EmBridgeLatestImportProcessingStatusEnum = "FAILED"
	EmBridgeLatestImportProcessingStatusPartialSuccess EmBridgeLatestImportProcessingStatusEnum = "PARTIAL_SUCCESS"
)

var mappingEmBridgeLatestImportProcessingStatusEnum = map[string]EmBridgeLatestImportProcessingStatusEnum{
	"NOT_STARTED":     EmBridgeLatestImportProcessingStatusNotStarted,
	"SUCCESS":         EmBridgeLatestImportProcessingStatusSuccess,
	"IN_PROGRESS":     EmBridgeLatestImportProcessingStatusInProgress,
	"FAILED":          EmBridgeLatestImportProcessingStatusFailed,
	"PARTIAL_SUCCESS": EmBridgeLatestImportProcessingStatusPartialSuccess,
}

var mappingEmBridgeLatestImportProcessingStatusEnumLowerCase = map[string]EmBridgeLatestImportProcessingStatusEnum{
	"not_started":     EmBridgeLatestImportProcessingStatusNotStarted,
	"success":         EmBridgeLatestImportProcessingStatusSuccess,
	"in_progress":     EmBridgeLatestImportProcessingStatusInProgress,
	"failed":          EmBridgeLatestImportProcessingStatusFailed,
	"partial_success": EmBridgeLatestImportProcessingStatusPartialSuccess,
}

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

// GetEmBridgeLatestImportProcessingStatusEnumStringValues Enumerates the set of values in String for EmBridgeLatestImportProcessingStatusEnum
func GetEmBridgeLatestImportProcessingStatusEnumStringValues() []string {
	return []string{
		"NOT_STARTED",
		"SUCCESS",
		"IN_PROGRESS",
		"FAILED",
		"PARTIAL_SUCCESS",
	}
}

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