
commonMain.aws.sdk.kotlin.services.mediaconvert.model.AccelerationStatus.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.mediaconvert.model
import kotlin.collections.List
/**
* Describes whether the current job is running with accelerated transcoding. For jobs that have Acceleration (AccelerationMode) set to DISABLED, AccelerationStatus is always NOT_APPLICABLE. For jobs that have Acceleration (AccelerationMode) set to ENABLED or PREFERRED, AccelerationStatus is one of the other states. AccelerationStatus is IN_PROGRESS initially, while the service determines whether the input files and job settings are compatible with accelerated transcoding. If they are, AcclerationStatus is ACCELERATED. If your input files and job settings aren't compatible with accelerated transcoding, the service either fails your job or runs it without accelerated transcoding, depending on how you set Acceleration (AccelerationMode). When the service runs your job without accelerated transcoding, AccelerationStatus is NOT_ACCELERATED.
*/
public sealed class AccelerationStatus {
public abstract val value: kotlin.String
public object Accelerated : aws.sdk.kotlin.services.mediaconvert.model.AccelerationStatus() {
override val value: kotlin.String = "ACCELERATED"
override fun toString(): kotlin.String = "Accelerated"
}
public object InProgress : aws.sdk.kotlin.services.mediaconvert.model.AccelerationStatus() {
override val value: kotlin.String = "IN_PROGRESS"
override fun toString(): kotlin.String = "InProgress"
}
public object NotAccelerated : aws.sdk.kotlin.services.mediaconvert.model.AccelerationStatus() {
override val value: kotlin.String = "NOT_ACCELERATED"
override fun toString(): kotlin.String = "NotAccelerated"
}
public object NotApplicable : aws.sdk.kotlin.services.mediaconvert.model.AccelerationStatus() {
override val value: kotlin.String = "NOT_APPLICABLE"
override fun toString(): kotlin.String = "NotApplicable"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.AccelerationStatus() {
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.mediaconvert.model.AccelerationStatus = when (value) {
"ACCELERATED" -> Accelerated
"IN_PROGRESS" -> InProgress
"NOT_ACCELERATED" -> NotAccelerated
"NOT_APPLICABLE" -> NotApplicable
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
Accelerated,
InProgress,
NotAccelerated,
NotApplicable,
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy