// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetPaymentSession`](crate::operation::get_payment_session::builders::GetPaymentSessionFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`user_id(impl Into<String>)`](crate::operation::get_payment_session::builders::GetPaymentSessionFluentBuilder::user_id) / [`set_user_id(Option<String>)`](crate::operation::get_payment_session::builders::GetPaymentSessionFluentBuilder::set_user_id):<br>required: **false**<br><p>The user ID associated with this payment session.</p><br>
/// - [`agent_name(impl Into<String>)`](crate::operation::get_payment_session::builders::GetPaymentSessionFluentBuilder::agent_name) / [`set_agent_name(Option<String>)`](crate::operation::get_payment_session::builders::GetPaymentSessionFluentBuilder::set_agent_name):<br>required: **false**<br><p>The agent name associated with this request, used for observability.</p><br>
/// - [`payment_manager_arn(impl Into<String>)`](crate::operation::get_payment_session::builders::GetPaymentSessionFluentBuilder::payment_manager_arn) / [`set_payment_manager_arn(Option<String>)`](crate::operation::get_payment_session::builders::GetPaymentSessionFluentBuilder::set_payment_manager_arn):<br>required: **true**<br><p>The ARN of the payment manager that owns this session.</p><br>
/// - [`payment_session_id(impl Into<String>)`](crate::operation::get_payment_session::builders::GetPaymentSessionFluentBuilder::payment_session_id) / [`set_payment_session_id(Option<String>)`](crate::operation::get_payment_session::builders::GetPaymentSessionFluentBuilder::set_payment_session_id):<br>required: **true**<br><p>The ID of the payment session to retrieve.</p><br>
/// - On success, responds with [`GetPaymentSessionOutput`](crate::operation::get_payment_session::GetPaymentSessionOutput) with field(s):
/// - [`payment_session(Option<PaymentSession>)`](crate::operation::get_payment_session::GetPaymentSessionOutput::payment_session): <p>The payment session details.</p>
/// - On failure, responds with [`SdkError<GetPaymentSessionError>`](crate::operation::get_payment_session::GetPaymentSessionError)
pub fn get_payment_session(&self) -> crate::operation::get_payment_session::builders::GetPaymentSessionFluentBuilder {
crate::operation::get_payment_session::builders::GetPaymentSessionFluentBuilder::new(self.handle.clone())
}
}