// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetAgentGoal`](crate::operation::get_agent_goal::builders::GetAgentGoalFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`profile_arn(impl Into<String>)`](crate::operation::get_agent_goal::builders::GetAgentGoalFluentBuilder::profile_arn) / [`set_profile_arn(Option<String>)`](crate::operation::get_agent_goal::builders::GetAgentGoalFluentBuilder::set_profile_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the profile containing the goal.</p><br>
/// - [`id(impl Into<String>)`](crate::operation::get_agent_goal::builders::GetAgentGoalFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::get_agent_goal::builders::GetAgentGoalFluentBuilder::set_id):<br>required: **true**<br><p>The unique identifier of the goal to retrieve.</p><br>
/// - On success, responds with [`GetAgentGoalOutput`](crate::operation::get_agent_goal::GetAgentGoalOutput) with field(s):
/// - [`goal(Option<GoalSummary>)`](crate::operation::get_agent_goal::GetAgentGoalOutput::goal): <p>The retrieved goal summary.</p>
/// - On failure, responds with [`SdkError<GetAgentGoalError>`](crate::operation::get_agent_goal::GetAgentGoalError)
pub fn get_agent_goal(&self) -> crate::operation::get_agent_goal::builders::GetAgentGoalFluentBuilder {
crate::operation::get_agent_goal::builders::GetAgentGoalFluentBuilder::new(self.handle.clone())
}
}