// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetAppInfraCostSummary`](crate::operation::get_app_infra_cost_summary::builders::GetAppInfraCostSummaryFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`app_id(impl Into<String>)`](crate::operation::get_app_infra_cost_summary::builders::GetAppInfraCostSummaryFluentBuilder::app_id) / [`set_app_id(Option<String>)`](crate::operation::get_app_infra_cost_summary::builders::GetAppInfraCostSummaryFluentBuilder::set_app_id):<br>required: **true**<br>The ID of the app.<br>
/// - [`started_at(DateTime)`](crate::operation::get_app_infra_cost_summary::builders::GetAppInfraCostSummaryFluentBuilder::started_at) / [`set_started_at(Option<DateTime>)`](crate::operation::get_app_infra_cost_summary::builders::GetAppInfraCostSummaryFluentBuilder::set_started_at):<br>required: **true**<br>Start of the reporting window.<br>
/// - [`ended_at(DateTime)`](crate::operation::get_app_infra_cost_summary::builders::GetAppInfraCostSummaryFluentBuilder::ended_at) / [`set_ended_at(Option<DateTime>)`](crate::operation::get_app_infra_cost_summary::builders::GetAppInfraCostSummaryFluentBuilder::set_ended_at):<br>required: **true**<br>End of the reporting window. Must be after startedAt, at most 720 hours after it, and not in the future.<br>
/// - [`cost_type(CostType)`](crate::operation::get_app_infra_cost_summary::builders::GetAppInfraCostSummaryFluentBuilder::cost_type) / [`set_cost_type(Option<CostType>)`](crate::operation::get_app_infra_cost_summary::builders::GetAppInfraCostSummaryFluentBuilder::set_cost_type):<br>required: **true**<br>Specifies which cost data to return.<br>
/// - [`group_by(InfraCostSummaryDimension)`](crate::operation::get_app_infra_cost_summary::builders::GetAppInfraCostSummaryFluentBuilder::group_by) / [`set_group_by(Option<InfraCostSummaryDimension>)`](crate::operation::get_app_infra_cost_summary::builders::GetAppInfraCostSummaryFluentBuilder::set_group_by):<br>required: **false**<br>The breakdown dimension. Defaults to SERVICE when omitted.<br>
/// - [`filter_by(InfraCostSummaryDimension, Vec::<String>)`](crate::operation::get_app_infra_cost_summary::builders::GetAppInfraCostSummaryFluentBuilder::filter_by) / [`set_filter_by(Option<HashMap::<InfraCostSummaryDimension, Vec::<String>>>)`](crate::operation::get_app_infra_cost_summary::builders::GetAppInfraCostSummaryFluentBuilder::set_filter_by):<br>required: **false**<br>Filter constraints keyed by dimension. A filter dimension may differ from groupBy.<br>
/// - [`scope(RequestScope)`](crate::operation::get_app_infra_cost_summary::builders::GetAppInfraCostSummaryFluentBuilder::scope) / [`set_scope(Option<RequestScope>)`](crate::operation::get_app_infra_cost_summary::builders::GetAppInfraCostSummaryFluentBuilder::set_scope):<br>required: **true**<br>Required. The environment: live or sandbox.<br>
/// - On success, responds with [`GetAppInfraCostSummaryOutput`](crate::operation::get_app_infra_cost_summary::GetAppInfraCostSummaryOutput) with field(s):
/// - [`app_id(String)`](crate::operation::get_app_infra_cost_summary::GetAppInfraCostSummaryOutput::app_id): The ID of the app.
/// - [`cost_type(CostType)`](crate::operation::get_app_infra_cost_summary::GetAppInfraCostSummaryOutput::cost_type): The cost data that this summary reflects (echoes the request).
/// - [`currency(Currency)`](crate::operation::get_app_infra_cost_summary::GetAppInfraCostSummaryOutput::currency): The ISO 4217 currency code of the cost amounts.
/// - [`group_by(InfraCostSummaryDimension)`](crate::operation::get_app_infra_cost_summary::GetAppInfraCostSummaryOutput::group_by): The dimension that the summary is grouped by.
/// - [`total(String)`](crate::operation::get_app_infra_cost_summary::GetAppInfraCostSummaryOutput::total): The total cost for the window.
/// - [`groups(Vec::<CostGroup>)`](crate::operation::get_app_infra_cost_summary::GetAppInfraCostSummaryOutput::groups): One row per value of the groupBy dimension (cost per service, user, or UTC day).
/// - [`started_at(DateTime)`](crate::operation::get_app_infra_cost_summary::GetAppInfraCostSummaryOutput::started_at): Start of the reporting window the summary covers.
/// - [`ended_at(DateTime)`](crate::operation::get_app_infra_cost_summary::GetAppInfraCostSummaryOutput::ended_at): End of the reporting window the summary covers.
/// - [`updated_at(DateTime)`](crate::operation::get_app_infra_cost_summary::GetAppInfraCostSummaryOutput::updated_at): The time the summary was last updated.
/// - On failure, responds with [`SdkError<GetAppInfraCostSummaryError>`](crate::operation::get_app_infra_cost_summary::GetAppInfraCostSummaryError)
pub fn get_app_infra_cost_summary(&self) -> crate::operation::get_app_infra_cost_summary::builders::GetAppInfraCostSummaryFluentBuilder {
crate::operation::get_app_infra_cost_summary::builders::GetAppInfraCostSummaryFluentBuilder::new(self.handle.clone())
}
}