
commonMain.aws.sdk.kotlin.services.elasticloadbalancingv2.serde.HostHeaderConditionConfigDocumentDeserializer.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.elasticloadbalancingv2.serde
import aws.sdk.kotlin.services.elasticloadbalancingv2.model.HostHeaderConditionConfig
import aws.smithy.kotlin.runtime.serde.xml.XmlTagReader
internal fun deserializeHostHeaderConditionConfigDocument(reader: XmlTagReader): HostHeaderConditionConfig {
val builder = HostHeaderConditionConfig.Builder()
loop@while (true) {
val curr = reader.nextTag() ?: break@loop
when (curr.tagName) {
// Values com.amazonaws.elasticloadbalancingv2#HostHeaderConditionConfig$Values
"Values" -> builder.values = deserializeListOfStringShape(curr)
else -> {}
}
curr.drop()
}
builder.correctErrors()
return builder.build()
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy