// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListAgentGoals`](crate::operation::list_agent_goals::builders::ListAgentGoalsFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_agent_goals::builders::ListAgentGoalsFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`profile_arn(impl Into<String>)`](crate::operation::list_agent_goals::builders::ListAgentGoalsFluentBuilder::profile_arn) / [`set_profile_arn(Option<String>)`](crate::operation::list_agent_goals::builders::ListAgentGoalsFluentBuilder::set_profile_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the optimization profile to list goals for.</p><br>
/// - [`max_results(i32)`](crate::operation::list_agent_goals::builders::ListAgentGoalsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_agent_goals::builders::ListAgentGoalsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of goals to return in a single response.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::list_agent_goals::builders::ListAgentGoalsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_agent_goals::builders::ListAgentGoalsFluentBuilder::set_next_token):<br>required: **false**<br><p>A pagination token returned from a previous call to continue retrieving results.</p><br>
/// - On success, responds with [`ListAgentGoalsOutput`](crate::operation::list_agent_goals::ListAgentGoalsOutput) with field(s):
/// - [`items(Vec::<GoalSummary>)`](crate::operation::list_agent_goals::ListAgentGoalsOutput::items): <p>A list of goal summaries associated with the profile.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_agent_goals::ListAgentGoalsOutput::next_token): <p>A pagination token to retrieve the next set of results, if available.</p>
/// - On failure, responds with [`SdkError<ListAgentGoalsError>`](crate::operation::list_agent_goals::ListAgentGoalsError)
pub fn list_agent_goals(&self) -> crate::operation::list_agent_goals::builders::ListAgentGoalsFluentBuilder {
crate::operation::list_agent_goals::builders::ListAgentGoalsFluentBuilder::new(self.handle.clone())
}
}