aws_sdk_customerprofiles/client/create_segment_estimate.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateSegmentEstimate`](crate::operation::create_segment_estimate::builders::CreateSegmentEstimateFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`domain_name(impl Into<String>)`](crate::operation::create_segment_estimate::builders::CreateSegmentEstimateFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::create_segment_estimate::builders::CreateSegmentEstimateFluentBuilder::set_domain_name):<br>required: **true**<br><p>The unique name of the domain.</p><br>
/// - [`segment_query(SegmentGroupStructure)`](crate::operation::create_segment_estimate::builders::CreateSegmentEstimateFluentBuilder::segment_query) / [`set_segment_query(Option<SegmentGroupStructure>)`](crate::operation::create_segment_estimate::builders::CreateSegmentEstimateFluentBuilder::set_segment_query):<br>required: **true**<br><p>The segment query for calculating a segment estimate.</p><br>
/// - On success, responds with [`CreateSegmentEstimateOutput`](crate::operation::create_segment_estimate::CreateSegmentEstimateOutput) with field(s):
/// - [`domain_name(Option<String>)`](crate::operation::create_segment_estimate::CreateSegmentEstimateOutput::domain_name): <p>The unique name of the domain.</p>
/// - [`estimate_id(Option<String>)`](crate::operation::create_segment_estimate::CreateSegmentEstimateOutput::estimate_id): <p>A unique identifier for the resource. The value can be passed to <code>GetSegmentEstimate</code> to retrieve the result of segment estimate status.</p>
/// - [`status_code(i32)`](crate::operation::create_segment_estimate::CreateSegmentEstimateOutput::status_code): <p>The status code for the response.</p>
/// - On failure, responds with [`SdkError<CreateSegmentEstimateError>`](crate::operation::create_segment_estimate::CreateSegmentEstimateError)
pub fn create_segment_estimate(&self) -> crate::operation::create_segment_estimate::builders::CreateSegmentEstimateFluentBuilder {
crate::operation::create_segment_estimate::builders::CreateSegmentEstimateFluentBuilder::new(self.handle.clone())
}
}