commonMain.aws.sdk.kotlin.services.partnercentralselling.model.Industry.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of partnercentralselling-jvm Show documentation
Show all versions of partnercentralselling-jvm Show documentation
The AWS SDK for Kotlin client for PartnerCentral Selling
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.partnercentralselling.model
import kotlin.collections.List
public sealed class Industry {
public abstract val value: kotlin.String
public object AerospaceSatellite : aws.sdk.kotlin.services.partnercentralselling.model.Industry() {
override val value: kotlin.String = "Aerospace"
override fun toString(): kotlin.String = "AerospaceSatellite"
}
public object Agriculture : aws.sdk.kotlin.services.partnercentralselling.model.Industry() {
override val value: kotlin.String = "Agriculture"
override fun toString(): kotlin.String = "Agriculture"
}
public object Automotive : aws.sdk.kotlin.services.partnercentralselling.model.Industry() {
override val value: kotlin.String = "Automotive"
override fun toString(): kotlin.String = "Automotive"
}
public object ComputersElectronics : aws.sdk.kotlin.services.partnercentralselling.model.Industry() {
override val value: kotlin.String = "Computers and Electronics"
override fun toString(): kotlin.String = "ComputersElectronics"
}
public object ConsumerGoods : aws.sdk.kotlin.services.partnercentralselling.model.Industry() {
override val value: kotlin.String = "Consumer Goods"
override fun toString(): kotlin.String = "ConsumerGoods"
}
public object Education : aws.sdk.kotlin.services.partnercentralselling.model.Industry() {
override val value: kotlin.String = "Education"
override fun toString(): kotlin.String = "Education"
}
public object EnergyOilGas : aws.sdk.kotlin.services.partnercentralselling.model.Industry() {
override val value: kotlin.String = "Energy - Oil and Gas"
override fun toString(): kotlin.String = "EnergyOilGas"
}
public object EnergyPowerUtilities : aws.sdk.kotlin.services.partnercentralselling.model.Industry() {
override val value: kotlin.String = "Energy - Power and Utilities"
override fun toString(): kotlin.String = "EnergyPowerUtilities"
}
public object FinancialServices : aws.sdk.kotlin.services.partnercentralselling.model.Industry() {
override val value: kotlin.String = "Financial Services"
override fun toString(): kotlin.String = "FinancialServices"
}
public object Gaming : aws.sdk.kotlin.services.partnercentralselling.model.Industry() {
override val value: kotlin.String = "Gaming"
override fun toString(): kotlin.String = "Gaming"
}
public object Government : aws.sdk.kotlin.services.partnercentralselling.model.Industry() {
override val value: kotlin.String = "Government"
override fun toString(): kotlin.String = "Government"
}
public object Healthcare : aws.sdk.kotlin.services.partnercentralselling.model.Industry() {
override val value: kotlin.String = "Healthcare"
override fun toString(): kotlin.String = "Healthcare"
}
public object Hospitality : aws.sdk.kotlin.services.partnercentralselling.model.Industry() {
override val value: kotlin.String = "Hospitality"
override fun toString(): kotlin.String = "Hospitality"
}
public object LifeSciences : aws.sdk.kotlin.services.partnercentralselling.model.Industry() {
override val value: kotlin.String = "Life Sciences"
override fun toString(): kotlin.String = "LifeSciences"
}
public object Manufacturing : aws.sdk.kotlin.services.partnercentralselling.model.Industry() {
override val value: kotlin.String = "Manufacturing"
override fun toString(): kotlin.String = "Manufacturing"
}
public object MarketingAdvertising : aws.sdk.kotlin.services.partnercentralselling.model.Industry() {
override val value: kotlin.String = "Marketing and Advertising"
override fun toString(): kotlin.String = "MarketingAdvertising"
}
public object MediaEntertainment : aws.sdk.kotlin.services.partnercentralselling.model.Industry() {
override val value: kotlin.String = "Media and Entertainment"
override fun toString(): kotlin.String = "MediaEntertainment"
}
public object Mining : aws.sdk.kotlin.services.partnercentralselling.model.Industry() {
override val value: kotlin.String = "Mining"
override fun toString(): kotlin.String = "Mining"
}
public object NonProfitOrganization : aws.sdk.kotlin.services.partnercentralselling.model.Industry() {
override val value: kotlin.String = "Non-Profit Organization"
override fun toString(): kotlin.String = "NonProfitOrganization"
}
public object Other : aws.sdk.kotlin.services.partnercentralselling.model.Industry() {
override val value: kotlin.String = "Other"
override fun toString(): kotlin.String = "Other"
}
public object ProfessionalServices : aws.sdk.kotlin.services.partnercentralselling.model.Industry() {
override val value: kotlin.String = "Professional Services"
override fun toString(): kotlin.String = "ProfessionalServices"
}
public object RealestateConstruction : aws.sdk.kotlin.services.partnercentralselling.model.Industry() {
override val value: kotlin.String = "Real Estate and Construction"
override fun toString(): kotlin.String = "RealestateConstruction"
}
public object Retail : aws.sdk.kotlin.services.partnercentralselling.model.Industry() {
override val value: kotlin.String = "Retail"
override fun toString(): kotlin.String = "Retail"
}
public object SoftwareInternet : aws.sdk.kotlin.services.partnercentralselling.model.Industry() {
override val value: kotlin.String = "Software and Internet"
override fun toString(): kotlin.String = "SoftwareInternet"
}
public object Telecommunications : aws.sdk.kotlin.services.partnercentralselling.model.Industry() {
override val value: kotlin.String = "Telecommunications"
override fun toString(): kotlin.String = "Telecommunications"
}
public object TransportationLogistics : aws.sdk.kotlin.services.partnercentralselling.model.Industry() {
override val value: kotlin.String = "Transportation and Logistics"
override fun toString(): kotlin.String = "TransportationLogistics"
}
public object Travel : aws.sdk.kotlin.services.partnercentralselling.model.Industry() {
override val value: kotlin.String = "Travel"
override fun toString(): kotlin.String = "Travel"
}
public object WholesaleDistribution : aws.sdk.kotlin.services.partnercentralselling.model.Industry() {
override val value: kotlin.String = "Wholesale and Distribution"
override fun toString(): kotlin.String = "WholesaleDistribution"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.partnercentralselling.model.Industry() {
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.partnercentralselling.model.Industry = when (value) {
"Aerospace" -> AerospaceSatellite
"Agriculture" -> Agriculture
"Automotive" -> Automotive
"Computers and Electronics" -> ComputersElectronics
"Consumer Goods" -> ConsumerGoods
"Education" -> Education
"Energy - Oil and Gas" -> EnergyOilGas
"Energy - Power and Utilities" -> EnergyPowerUtilities
"Financial Services" -> FinancialServices
"Gaming" -> Gaming
"Government" -> Government
"Healthcare" -> Healthcare
"Hospitality" -> Hospitality
"Life Sciences" -> LifeSciences
"Manufacturing" -> Manufacturing
"Marketing and Advertising" -> MarketingAdvertising
"Media and Entertainment" -> MediaEntertainment
"Mining" -> Mining
"Non-Profit Organization" -> NonProfitOrganization
"Other" -> Other
"Professional Services" -> ProfessionalServices
"Real Estate and Construction" -> RealestateConstruction
"Retail" -> Retail
"Software and Internet" -> SoftwareInternet
"Telecommunications" -> Telecommunications
"Transportation and Logistics" -> TransportationLogistics
"Travel" -> Travel
"Wholesale and Distribution" -> WholesaleDistribution
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
AerospaceSatellite,
Agriculture,
Automotive,
ComputersElectronics,
ConsumerGoods,
Education,
EnergyOilGas,
EnergyPowerUtilities,
FinancialServices,
Gaming,
Government,
Healthcare,
Hospitality,
LifeSciences,
Manufacturing,
MarketingAdvertising,
MediaEntertainment,
Mining,
NonProfitOrganization,
Other,
ProfessionalServices,
RealestateConstruction,
Retail,
SoftwareInternet,
Telecommunications,
TransportationLogistics,
Travel,
WholesaleDistribution,
)
}
}