// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetHostReservationPurchasePreview`](crate::operation::get_host_reservation_purchase_preview::builders::GetHostReservationPurchasePreviewFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`host_id_set(impl Into<String>)`](crate::operation::get_host_reservation_purchase_preview::builders::GetHostReservationPurchasePreviewFluentBuilder::host_id_set) / [`set_host_id_set(Option<Vec::<String>>)`](crate::operation::get_host_reservation_purchase_preview::builders::GetHostReservationPurchasePreviewFluentBuilder::set_host_id_set):<br>required: **true**<br><p>The IDs of the Dedicated Hosts with which the reservation is associated.</p><br>
/// - [`offering_id(impl Into<String>)`](crate::operation::get_host_reservation_purchase_preview::builders::GetHostReservationPurchasePreviewFluentBuilder::offering_id) / [`set_offering_id(Option<String>)`](crate::operation::get_host_reservation_purchase_preview::builders::GetHostReservationPurchasePreviewFluentBuilder::set_offering_id):<br>required: **true**<br><p>The offering ID of the reservation.</p><br>
/// - On success, responds with [`GetHostReservationPurchasePreviewOutput`](crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewOutput) with field(s):
/// - [`currency_code(Option<CurrencyCodeValues>)`](crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewOutput::currency_code): <p>The currency in which the <code>totalUpfrontPrice</code> and <code>totalHourlyPrice</code> amounts are specified. At this time, the only supported currency is <code>USD</code>.</p>
/// - [`purchase(Option<Vec::<Purchase>>)`](crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewOutput::purchase): <p>The purchase information of the Dedicated Host reservation and the Dedicated Hosts associated with it.</p>
/// - [`total_hourly_price(Option<String>)`](crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewOutput::total_hourly_price): <p>The potential total hourly price of the reservation per hour.</p>
/// - [`total_upfront_price(Option<String>)`](crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewOutput::total_upfront_price): <p>The potential total upfront price. This is billed immediately.</p>
/// - On failure, responds with [`SdkError<GetHostReservationPurchasePreviewError>`](crate::operation::get_host_reservation_purchase_preview::GetHostReservationPurchasePreviewError)
pub fn get_host_reservation_purchase_preview(
&self,
) -> crate::operation::get_host_reservation_purchase_preview::builders::GetHostReservationPurchasePreviewFluentBuilder {
crate::operation::get_host_reservation_purchase_preview::builders::GetHostReservationPurchasePreviewFluentBuilder::new(self.handle.clone())
}
}