aws_sdk_connectcampaignsv2/client/get_campaign_state.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetCampaignState`](crate::operation::get_campaign_state::builders::GetCampaignStateFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`id(impl Into<String>)`](crate::operation::get_campaign_state::builders::GetCampaignStateFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::get_campaign_state::builders::GetCampaignStateFluentBuilder::set_id):<br>required: **true**<br>Identifier representing a Campaign<br>
/// - On success, responds with [`GetCampaignStateOutput`](crate::operation::get_campaign_state::GetCampaignStateOutput) with field(s):
/// - [`state(Option<CampaignState>)`](crate::operation::get_campaign_state::GetCampaignStateOutput::state): State of a campaign
/// - On failure, responds with [`SdkError<GetCampaignStateError>`](crate::operation::get_campaign_state::GetCampaignStateError)
pub fn get_campaign_state(&self) -> crate::operation::get_campaign_state::builders::GetCampaignStateFluentBuilder {
crate::operation::get_campaign_state::builders::GetCampaignStateFluentBuilder::new(self.handle.clone())
}
}