// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetTransaction`](crate::operation::get_transaction::builders::GetTransactionFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`transaction_hash(impl Into<String>)`](crate::operation::get_transaction::builders::GetTransactionFluentBuilder::transaction_hash) / [`set_transaction_hash(Option<String>)`](crate::operation::get_transaction::builders::GetTransactionFluentBuilder::set_transaction_hash):<br>required: **true**<br><p>The hash of the transaction. It is generated whenever a transaction is verified and added to the blockchain.</p><br>
/// - [`network(QueryNetwork)`](crate::operation::get_transaction::builders::GetTransactionFluentBuilder::network) / [`set_network(Option<QueryNetwork>)`](crate::operation::get_transaction::builders::GetTransactionFluentBuilder::set_network):<br>required: **true**<br><p>The blockchain network where the transaction occurred.</p><br>
/// - On success, responds with [`GetTransactionOutput`](crate::operation::get_transaction::GetTransactionOutput) with field(s):
/// - [`transaction(Option<Transaction>)`](crate::operation::get_transaction::GetTransactionOutput::transaction): <p>Contains the details of the transaction.</p>
/// - On failure, responds with [`SdkError<GetTransactionError>`](crate::operation::get_transaction::GetTransactionError)
pub fn get_transaction(&self) -> crate::operation::get_transaction::builders::GetTransactionFluentBuilder {
crate::operation::get_transaction::builders::GetTransactionFluentBuilder::new(self.handle.clone())
}
}