// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetEntitlement`](crate::operation::get_entitlement::builders::GetEntitlementFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`application_arn(impl Into<String>)`](crate::operation::get_entitlement::builders::GetEntitlementFluentBuilder::application_arn) / [`set_application_arn(Option<String>)`](crate::operation::get_entitlement::builders::GetEntitlementFluentBuilder::set_application_arn):<br>required: **true**<br><p>Specifies the ARN of the application that the entitlement belongs to.</p><br>
/// - [`entitlement_id(impl Into<String>)`](crate::operation::get_entitlement::builders::GetEntitlementFluentBuilder::entitlement_id) / [`set_entitlement_id(Option<String>)`](crate::operation::get_entitlement::builders::GetEntitlementFluentBuilder::set_entitlement_id):<br>required: **true**<br><p>Specifies the unique identifier of the entitlement to retrieve.</p><br>
/// - On success, responds with [`GetEntitlementOutput`](crate::operation::get_entitlement::GetEntitlementOutput) with field(s):
/// - [`application_arn(String)`](crate::operation::get_entitlement::GetEntitlementOutput::application_arn): <p>The ARN of the application that the entitlement belongs to.</p>
/// - [`entitlement_id(String)`](crate::operation::get_entitlement::GetEntitlementOutput::entitlement_id): <p>The unique identifier of the entitlement.</p>
/// - [`entitlement(Option<EntitlementDetails>)`](crate::operation::get_entitlement::GetEntitlementOutput::entitlement): <p>The entitlement details, including the principal, IAM role, and target account.</p>
/// - [`created_at(DateTime)`](crate::operation::get_entitlement::GetEntitlementOutput::created_at): <p>The date and time when the entitlement was created.</p>
/// - On failure, responds with [`SdkError<GetEntitlementError>`](crate::operation::get_entitlement::GetEntitlementError)
pub fn get_entitlement(&self) -> crate::operation::get_entitlement::builders::GetEntitlementFluentBuilder {
crate::operation::get_entitlement::builders::GetEntitlementFluentBuilder::new(self.handle.clone())
}
}