commonMain.aws.sdk.kotlin.services.pinpointsmsvoicev2.model.SetDefaultMessageFeedbackEnabledResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pinpointsmsvoicev2-jvm Show documentation
Show all versions of pinpointsmsvoicev2-jvm Show documentation
The AWS Kotlin client for Pinpoint SMS Voice V2
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.pinpointsmsvoicev2.model
import aws.smithy.kotlin.runtime.SdkDsl
public class SetDefaultMessageFeedbackEnabledResponse private constructor(builder: Builder) {
/**
* The arn of the configuration set.
*/
public val configurationSetArn: kotlin.String? = builder.configurationSetArn
/**
* The name of the configuration.
*/
public val configurationSetName: kotlin.String? = builder.configurationSetName
/**
* True if message feedback is enabled.
*/
public val messageFeedbackEnabled: kotlin.Boolean? = builder.messageFeedbackEnabled
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.pinpointsmsvoicev2.model.SetDefaultMessageFeedbackEnabledResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("SetDefaultMessageFeedbackEnabledResponse(")
append("configurationSetArn=$configurationSetArn,")
append("configurationSetName=$configurationSetName,")
append("messageFeedbackEnabled=$messageFeedbackEnabled")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = configurationSetArn?.hashCode() ?: 0
result = 31 * result + (configurationSetName?.hashCode() ?: 0)
result = 31 * result + (messageFeedbackEnabled?.hashCode() ?: 0)
return result
}
override fun equals(other: kotlin.Any?): kotlin.Boolean {
if (this === other) return true
if (other == null || this::class != other::class) return false
other as SetDefaultMessageFeedbackEnabledResponse
if (configurationSetArn != other.configurationSetArn) return false
if (configurationSetName != other.configurationSetName) return false
if (messageFeedbackEnabled != other.messageFeedbackEnabled) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.pinpointsmsvoicev2.model.SetDefaultMessageFeedbackEnabledResponse = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The arn of the configuration set.
*/
public var configurationSetArn: kotlin.String? = null
/**
* The name of the configuration.
*/
public var configurationSetName: kotlin.String? = null
/**
* True if message feedback is enabled.
*/
public var messageFeedbackEnabled: kotlin.Boolean? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.pinpointsmsvoicev2.model.SetDefaultMessageFeedbackEnabledResponse) : this() {
this.configurationSetArn = x.configurationSetArn
this.configurationSetName = x.configurationSetName
this.messageFeedbackEnabled = x.messageFeedbackEnabled
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.pinpointsmsvoicev2.model.SetDefaultMessageFeedbackEnabledResponse = SetDefaultMessageFeedbackEnabledResponse(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy