// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetResourcePaymentToken`](crate::operation::get_resource_payment_token::builders::GetResourcePaymentTokenFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`workload_identity_token(impl Into<String>)`](crate::operation::get_resource_payment_token::builders::GetResourcePaymentTokenFluentBuilder::workload_identity_token) / [`set_workload_identity_token(Option<String>)`](crate::operation::get_resource_payment_token::builders::GetResourcePaymentTokenFluentBuilder::set_workload_identity_token):<br>required: **true**<br><p>Workload access token for authorization.</p><br>
/// - [`resource_credential_provider_name(impl Into<String>)`](crate::operation::get_resource_payment_token::builders::GetResourcePaymentTokenFluentBuilder::resource_credential_provider_name) / [`set_resource_credential_provider_name(Option<String>)`](crate::operation::get_resource_payment_token::builders::GetResourcePaymentTokenFluentBuilder::set_resource_credential_provider_name):<br>required: **true**<br><p>Name of the payment credential provider to use.</p><br>
/// - [`payment_token_request(PaymentTokenRequestInput)`](crate::operation::get_resource_payment_token::builders::GetResourcePaymentTokenFluentBuilder::payment_token_request) / [`set_payment_token_request(Option<PaymentTokenRequestInput>)`](crate::operation::get_resource_payment_token::builders::GetResourcePaymentTokenFluentBuilder::set_payment_token_request):<br>required: **true**<br><p>Vendor-specific token request input. Contains all request parameters in a type-safe, vendor-specific structure.</p><br>
/// - On success, responds with [`GetResourcePaymentTokenOutput`](crate::operation::get_resource_payment_token::GetResourcePaymentTokenOutput) with field(s):
/// - [`payment_token_response(Option<PaymentTokenResponseOutput>)`](crate::operation::get_resource_payment_token::GetResourcePaymentTokenOutput::payment_token_response): <p>Vendor-specific token response output. Contains all response data in a type-safe, vendor-specific structure.</p>
/// - On failure, responds with [`SdkError<GetResourcePaymentTokenError>`](crate::operation::get_resource_payment_token::GetResourcePaymentTokenError)
pub fn get_resource_payment_token(&self) -> crate::operation::get_resource_payment_token::builders::GetResourcePaymentTokenFluentBuilder {
crate::operation::get_resource_payment_token::builders::GetResourcePaymentTokenFluentBuilder::new(self.handle.clone())
}
}