
commonMain.aws.sdk.kotlin.services.configservice.model.DescribePendingAggregationRequestsResponse.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.configservice.model
class DescribePendingAggregationRequestsResponse private constructor(builder: Builder) {
/**
* The `nextToken` string returned on a previous page that you use to get the next page of results in a paginated response.
*/
val nextToken: kotlin.String? = builder.nextToken
/**
* Returns a PendingAggregationRequests object.
*/
val pendingAggregationRequests: List? = builder.pendingAggregationRequests
companion object {
operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.configservice.model.DescribePendingAggregationRequestsResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DescribePendingAggregationRequestsResponse(")
append("nextToken=$nextToken,")
append("pendingAggregationRequests=$pendingAggregationRequests)")
}
override fun hashCode(): kotlin.Int {
var result = nextToken?.hashCode() ?: 0
result = 31 * result + (pendingAggregationRequests?.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 DescribePendingAggregationRequestsResponse
if (nextToken != other.nextToken) return false
if (pendingAggregationRequests != other.pendingAggregationRequests) return false
return true
}
inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.configservice.model.DescribePendingAggregationRequestsResponse = Builder(this).apply(block).build()
class Builder {
/**
* The `nextToken` string returned on a previous page that you use to get the next page of results in a paginated response.
*/
var nextToken: kotlin.String? = null
/**
* Returns a PendingAggregationRequests object.
*/
var pendingAggregationRequests: List? = null
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.configservice.model.DescribePendingAggregationRequestsResponse) : this() {
this.nextToken = x.nextToken
this.pendingAggregationRequests = x.pendingAggregationRequests
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.configservice.model.DescribePendingAggregationRequestsResponse = DescribePendingAggregationRequestsResponse(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy