// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListAgentRecommendations`](crate::operation::list_agent_recommendations::builders::ListAgentRecommendationsFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_agent_recommendations::builders::ListAgentRecommendationsFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`profile_arn(impl Into<String>)`](crate::operation::list_agent_recommendations::builders::ListAgentRecommendationsFluentBuilder::profile_arn) / [`set_profile_arn(Option<String>)`](crate::operation::list_agent_recommendations::builders::ListAgentRecommendationsFluentBuilder::set_profile_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the optimization profile to list recommendations for.</p><br>
/// - [`max_results(i32)`](crate::operation::list_agent_recommendations::builders::ListAgentRecommendationsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_agent_recommendations::builders::ListAgentRecommendationsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of recommendations to return in a single response.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::list_agent_recommendations::builders::ListAgentRecommendationsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_agent_recommendations::builders::ListAgentRecommendationsFluentBuilder::set_next_token):<br>required: **false**<br><p>A pagination token returned from a previous call to continue retrieving results.</p><br>
/// - [`state(RecommendationState)`](crate::operation::list_agent_recommendations::builders::ListAgentRecommendationsFluentBuilder::state) / [`set_state(Option<RecommendationState>)`](crate::operation::list_agent_recommendations::builders::ListAgentRecommendationsFluentBuilder::set_state):<br>required: **false**<br><p>Optional filter to return only recommendations with the specified state (OPEN or CLOSED).</p><br>
/// - [`pillar(Pillar)`](crate::operation::list_agent_recommendations::builders::ListAgentRecommendationsFluentBuilder::pillar) / [`set_pillar(Option<Pillar>)`](crate::operation::list_agent_recommendations::builders::ListAgentRecommendationsFluentBuilder::set_pillar):<br>required: **false**<br><p>Optional filter to return only recommendations for the specified pillar.</p><br>
/// - On success, responds with [`ListAgentRecommendationsOutput`](crate::operation::list_agent_recommendations::ListAgentRecommendationsOutput) with field(s):
/// - [`items(Vec::<AgentRecommendationSummary>)`](crate::operation::list_agent_recommendations::ListAgentRecommendationsOutput::items): <p>A list of recommendation summaries.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_agent_recommendations::ListAgentRecommendationsOutput::next_token): <p>A pagination token to retrieve the next set of results, if available.</p>
/// - On failure, responds with [`SdkError<ListAgentRecommendationsError>`](crate::operation::list_agent_recommendations::ListAgentRecommendationsError)
pub fn list_agent_recommendations(&self) -> crate::operation::list_agent_recommendations::builders::ListAgentRecommendationsFluentBuilder {
crate::operation::list_agent_recommendations::builders::ListAgentRecommendationsFluentBuilder::new(self.handle.clone())
}
}