aws_sdk_connectcampaignsv2/client/get_campaign_state_batch.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetCampaignStateBatch`](crate::operation::get_campaign_state_batch::builders::GetCampaignStateBatchFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`campaign_ids(impl Into<String>)`](crate::operation::get_campaign_state_batch::builders::GetCampaignStateBatchFluentBuilder::campaign_ids) / [`set_campaign_ids(Option<Vec::<String>>)`](crate::operation::get_campaign_state_batch::builders::GetCampaignStateBatchFluentBuilder::set_campaign_ids):<br>required: **true**<br>List of CampaignId<br>
/// - On success, responds with [`GetCampaignStateBatchOutput`](crate::operation::get_campaign_state_batch::GetCampaignStateBatchOutput) with field(s):
/// - [`successful_requests(Option<Vec::<SuccessfulCampaignStateResponse>>)`](crate::operation::get_campaign_state_batch::GetCampaignStateBatchOutput::successful_requests): List of successful response of campaign state
/// - [`failed_requests(Option<Vec::<FailedCampaignStateResponse>>)`](crate::operation::get_campaign_state_batch::GetCampaignStateBatchOutput::failed_requests): List of failed requests of campaign state
/// - On failure, responds with [`SdkError<GetCampaignStateBatchError>`](crate::operation::get_campaign_state_batch::GetCampaignStateBatchError)
pub fn get_campaign_state_batch(&self) -> crate::operation::get_campaign_state_batch::builders::GetCampaignStateBatchFluentBuilder {
crate::operation::get_campaign_state_batch::builders::GetCampaignStateBatchFluentBuilder::new(self.handle.clone())
}
}