All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.aws.sdk.kotlin.services.computeoptimizer.model.ExportableLicenseField.kt Maven / Gradle / Ivy

There is a newer version: 1.3.35
Show newest version
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.computeoptimizer.model

import kotlin.collections.List

public sealed class ExportableLicenseField {
    public abstract val value: kotlin.String

    public object AccountId : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLicenseField() {
        override val value: kotlin.String = "AccountId"
        override fun toString(): kotlin.String = "AccountId"
    }

    public object CurrentLicenseConfigurationInstanceType : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLicenseField() {
        override val value: kotlin.String = "CurrentLicenseConfigurationInstanceType"
        override fun toString(): kotlin.String = "CurrentLicenseConfigurationInstanceType"
    }

    public object CurrentLicenseConfigurationLicenseEdition : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLicenseField() {
        override val value: kotlin.String = "CurrentLicenseConfigurationLicenseEdition"
        override fun toString(): kotlin.String = "CurrentLicenseConfigurationLicenseEdition"
    }

    public object CurrentLicenseConfigurationLicenseModel : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLicenseField() {
        override val value: kotlin.String = "CurrentLicenseConfigurationLicenseModel"
        override fun toString(): kotlin.String = "CurrentLicenseConfigurationLicenseModel"
    }

    public object CurrentLicenseConfigurationLicenseName : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLicenseField() {
        override val value: kotlin.String = "CurrentLicenseConfigurationLicenseName"
        override fun toString(): kotlin.String = "CurrentLicenseConfigurationLicenseName"
    }

    public object CurrentLicenseConfigurationLicenseVersion : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLicenseField() {
        override val value: kotlin.String = "CurrentLicenseConfigurationLicenseVersion"
        override fun toString(): kotlin.String = "CurrentLicenseConfigurationLicenseVersion"
    }

    public object CurrentLicenseConfigurationMetricsSource : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLicenseField() {
        override val value: kotlin.String = "CurrentLicenseConfigurationMetricsSource"
        override fun toString(): kotlin.String = "CurrentLicenseConfigurationMetricsSource"
    }

    public object CurrentLicenseConfigurationNumberOfCores : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLicenseField() {
        override val value: kotlin.String = "CurrentLicenseConfigurationNumberOfCores"
        override fun toString(): kotlin.String = "CurrentLicenseConfigurationNumberOfCores"
    }

    public object CurrentLicenseConfigurationOperatingSystem : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLicenseField() {
        override val value: kotlin.String = "CurrentLicenseConfigurationOperatingSystem"
        override fun toString(): kotlin.String = "CurrentLicenseConfigurationOperatingSystem"
    }

    public object LastRefreshTimestamp : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLicenseField() {
        override val value: kotlin.String = "LastRefreshTimestamp"
        override fun toString(): kotlin.String = "LastRefreshTimestamp"
    }

    public object LicenseFinding : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLicenseField() {
        override val value: kotlin.String = "Finding"
        override fun toString(): kotlin.String = "LicenseFinding"
    }

    public object LicenseFindingReasonCodes : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLicenseField() {
        override val value: kotlin.String = "FindingReasonCodes"
        override fun toString(): kotlin.String = "LicenseFindingReasonCodes"
    }

    public object LookbackPeriodInDays : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLicenseField() {
        override val value: kotlin.String = "LookbackPeriodInDays"
        override fun toString(): kotlin.String = "LookbackPeriodInDays"
    }

    public object RecommendationOptionsEstimatedMonthlySavingsCurrency : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLicenseField() {
        override val value: kotlin.String = "RecommendationOptionsEstimatedMonthlySavingsCurrency"
        override fun toString(): kotlin.String = "RecommendationOptionsEstimatedMonthlySavingsCurrency"
    }

    public object RecommendationOptionsEstimatedMonthlySavingsValue : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLicenseField() {
        override val value: kotlin.String = "RecommendationOptionsEstimatedMonthlySavingsValue"
        override fun toString(): kotlin.String = "RecommendationOptionsEstimatedMonthlySavingsValue"
    }

    public object RecommendationOptionsLicenseEdition : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLicenseField() {
        override val value: kotlin.String = "RecommendationOptionsLicenseEdition"
        override fun toString(): kotlin.String = "RecommendationOptionsLicenseEdition"
    }

    public object RecommendationOptionsLicenseModel : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLicenseField() {
        override val value: kotlin.String = "RecommendationOptionsLicenseModel"
        override fun toString(): kotlin.String = "RecommendationOptionsLicenseModel"
    }

    public object RecommendationOptionsOperatingSystem : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLicenseField() {
        override val value: kotlin.String = "RecommendationOptionsOperatingSystem"
        override fun toString(): kotlin.String = "RecommendationOptionsOperatingSystem"
    }

    public object RecommendationOptionsSavingsOpportunityPercentage : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLicenseField() {
        override val value: kotlin.String = "RecommendationOptionsSavingsOpportunityPercentage"
        override fun toString(): kotlin.String = "RecommendationOptionsSavingsOpportunityPercentage"
    }

    public object ResourceArn : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLicenseField() {
        override val value: kotlin.String = "ResourceArn"
        override fun toString(): kotlin.String = "ResourceArn"
    }

    public object Tags : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLicenseField() {
        override val value: kotlin.String = "Tags"
        override fun toString(): kotlin.String = "Tags"
    }

    public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.computeoptimizer.model.ExportableLicenseField() {
        override fun toString(): kotlin.String = "SdkUnknown($value)"
    }

    public companion object {
        /**
         * Convert a raw value to one of the sealed variants or [SdkUnknown]
         */
        public fun fromValue(value: kotlin.String): aws.sdk.kotlin.services.computeoptimizer.model.ExportableLicenseField = when (value) {
            "AccountId" -> AccountId
            "CurrentLicenseConfigurationInstanceType" -> CurrentLicenseConfigurationInstanceType
            "CurrentLicenseConfigurationLicenseEdition" -> CurrentLicenseConfigurationLicenseEdition
            "CurrentLicenseConfigurationLicenseModel" -> CurrentLicenseConfigurationLicenseModel
            "CurrentLicenseConfigurationLicenseName" -> CurrentLicenseConfigurationLicenseName
            "CurrentLicenseConfigurationLicenseVersion" -> CurrentLicenseConfigurationLicenseVersion
            "CurrentLicenseConfigurationMetricsSource" -> CurrentLicenseConfigurationMetricsSource
            "CurrentLicenseConfigurationNumberOfCores" -> CurrentLicenseConfigurationNumberOfCores
            "CurrentLicenseConfigurationOperatingSystem" -> CurrentLicenseConfigurationOperatingSystem
            "LastRefreshTimestamp" -> LastRefreshTimestamp
            "Finding" -> LicenseFinding
            "FindingReasonCodes" -> LicenseFindingReasonCodes
            "LookbackPeriodInDays" -> LookbackPeriodInDays
            "RecommendationOptionsEstimatedMonthlySavingsCurrency" -> RecommendationOptionsEstimatedMonthlySavingsCurrency
            "RecommendationOptionsEstimatedMonthlySavingsValue" -> RecommendationOptionsEstimatedMonthlySavingsValue
            "RecommendationOptionsLicenseEdition" -> RecommendationOptionsLicenseEdition
            "RecommendationOptionsLicenseModel" -> RecommendationOptionsLicenseModel
            "RecommendationOptionsOperatingSystem" -> RecommendationOptionsOperatingSystem
            "RecommendationOptionsSavingsOpportunityPercentage" -> RecommendationOptionsSavingsOpportunityPercentage
            "ResourceArn" -> ResourceArn
            "Tags" -> Tags
            else -> SdkUnknown(value)
        }

        /**
         * Get a list of all possible variants
         */
        public fun values(): kotlin.collections.List = values

        private val values: kotlin.collections.List = listOf(
            AccountId,
            CurrentLicenseConfigurationInstanceType,
            CurrentLicenseConfigurationLicenseEdition,
            CurrentLicenseConfigurationLicenseModel,
            CurrentLicenseConfigurationLicenseName,
            CurrentLicenseConfigurationLicenseVersion,
            CurrentLicenseConfigurationMetricsSource,
            CurrentLicenseConfigurationNumberOfCores,
            CurrentLicenseConfigurationOperatingSystem,
            LastRefreshTimestamp,
            LicenseFinding,
            LicenseFindingReasonCodes,
            LookbackPeriodInDays,
            RecommendationOptionsEstimatedMonthlySavingsCurrency,
            RecommendationOptionsEstimatedMonthlySavingsValue,
            RecommendationOptionsLicenseEdition,
            RecommendationOptionsLicenseModel,
            RecommendationOptionsOperatingSystem,
            RecommendationOptionsSavingsOpportunityPercentage,
            ResourceArn,
            Tags,
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy