
commonMain.aws.sdk.kotlin.services.customerprofiles.model.CreateIntegrationWorkflowResponse.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.customerprofiles.model
public class CreateIntegrationWorkflowResponse private constructor(builder: Builder) {
/**
* A message indicating create request was received.
*/
public val message: kotlin.String? = builder.message
/**
* Unique identifier for the workflow.
*/
public val workflowId: kotlin.String? = builder.workflowId
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.customerprofiles.model.CreateIntegrationWorkflowResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("CreateIntegrationWorkflowResponse(")
append("message=$message,")
append("workflowId=$workflowId")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = message?.hashCode() ?: 0
result = 31 * result + (workflowId?.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 CreateIntegrationWorkflowResponse
if (message != other.message) return false
if (workflowId != other.workflowId) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.customerprofiles.model.CreateIntegrationWorkflowResponse = Builder(this).apply(block).build()
public class Builder {
/**
* A message indicating create request was received.
*/
public var message: kotlin.String? = null
/**
* Unique identifier for the workflow.
*/
public var workflowId: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.customerprofiles.model.CreateIntegrationWorkflowResponse) : this() {
this.message = x.message
this.workflowId = x.workflowId
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.customerprofiles.model.CreateIntegrationWorkflowResponse = CreateIntegrationWorkflowResponse(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy