
commonMain.aws.sdk.kotlin.services.sns.model.GetSmsSandboxAccountStatusResponse.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.sns.model
public class GetSmsSandboxAccountStatusResponse private constructor(builder: Builder) {
/**
* Indicates whether the calling Amazon Web Services account is in the SMS sandbox.
*/
public val isInSandbox: kotlin.Boolean = builder.isInSandbox
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.sns.model.GetSmsSandboxAccountStatusResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GetSmsSandboxAccountStatusResponse(")
append("isInSandbox=$isInSandbox")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = isInSandbox.hashCode()
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 GetSmsSandboxAccountStatusResponse
if (isInSandbox != other.isInSandbox) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.sns.model.GetSmsSandboxAccountStatusResponse = Builder(this).apply(block).build()
public class Builder {
/**
* Indicates whether the calling Amazon Web Services account is in the SMS sandbox.
*/
public var isInSandbox: kotlin.Boolean = false
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.sns.model.GetSmsSandboxAccountStatusResponse) : this() {
this.isInSandbox = x.isInSandbox
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.sns.model.GetSmsSandboxAccountStatusResponse = GetSmsSandboxAccountStatusResponse(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy