// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetWhatsAppFlowPreview`](crate::operation::get_whats_app_flow_preview::builders::GetWhatsAppFlowPreviewFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`id(impl Into<String>)`](crate::operation::get_whats_app_flow_preview::builders::GetWhatsAppFlowPreviewFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::get_whats_app_flow_preview::builders::GetWhatsAppFlowPreviewFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the WhatsApp Business Account associated with this Flow.</p><br>
/// - [`flow_id(impl Into<String>)`](crate::operation::get_whats_app_flow_preview::builders::GetWhatsAppFlowPreviewFluentBuilder::flow_id) / [`set_flow_id(Option<String>)`](crate::operation::get_whats_app_flow_preview::builders::GetWhatsAppFlowPreviewFluentBuilder::set_flow_id):<br>required: **true**<br><p>The unique identifier of the Flow to preview.</p><br>
/// - [`invalidate(bool)`](crate::operation::get_whats_app_flow_preview::builders::GetWhatsAppFlowPreviewFluentBuilder::invalidate) / [`set_invalidate(Option<bool>)`](crate::operation::get_whats_app_flow_preview::builders::GetWhatsAppFlowPreviewFluentBuilder::set_invalidate):<br>required: **false**<br><p>Set to <code>true</code> to force generation of a new preview URL. Use this if the previous URL has been compromised or you want a fresh expiration period.</p><br>
/// - On success, responds with [`GetWhatsAppFlowPreviewOutput`](crate::operation::get_whats_app_flow_preview::GetWhatsAppFlowPreviewOutput) with field(s):
/// - [`flow_id(String)`](crate::operation::get_whats_app_flow_preview::GetWhatsAppFlowPreviewOutput::flow_id): <p>The unique identifier of the Flow.</p>
/// - [`preview(Option<MetaFlowPreviewInfo>)`](crate::operation::get_whats_app_flow_preview::GetWhatsAppFlowPreviewOutput::preview): <p>The preview URL and its expiration timestamp.</p>
/// - On failure, responds with [`SdkError<GetWhatsAppFlowPreviewError>`](crate::operation::get_whats_app_flow_preview::GetWhatsAppFlowPreviewError)
pub fn get_whats_app_flow_preview(&self) -> crate::operation::get_whats_app_flow_preview::builders::GetWhatsAppFlowPreviewFluentBuilder {
crate::operation::get_whats_app_flow_preview::builders::GetWhatsAppFlowPreviewFluentBuilder::new(self.handle.clone())
}
}