// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateAgentGoal`](crate::operation::update_agent_goal::builders::UpdateAgentGoalFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`client_token(impl Into<String>)`](crate::operation::update_agent_goal::builders::UpdateAgentGoalFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::update_agent_goal::builders::UpdateAgentGoalFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p><br>
/// - [`profile_arn(impl Into<String>)`](crate::operation::update_agent_goal::builders::UpdateAgentGoalFluentBuilder::profile_arn) / [`set_profile_arn(Option<String>)`](crate::operation::update_agent_goal::builders::UpdateAgentGoalFluentBuilder::set_profile_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the profile containing the goal to update.</p><br>
/// - [`id(impl Into<String>)`](crate::operation::update_agent_goal::builders::UpdateAgentGoalFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::update_agent_goal::builders::UpdateAgentGoalFluentBuilder::set_id):<br>required: **true**<br><p>The unique identifier of the goal to update.</p><br>
/// - [`pillars(Pillar)`](crate::operation::update_agent_goal::builders::UpdateAgentGoalFluentBuilder::pillars) / [`set_pillars(Option<Vec::<Pillar>>)`](crate::operation::update_agent_goal::builders::UpdateAgentGoalFluentBuilder::set_pillars):<br>required: **false**<br><p>The updated pillars for the goal. Pillars define the optimization focus areas such as cost, performance, resilience, and operational excellence.</p><br>
/// - [`title(impl Into<String>)`](crate::operation::update_agent_goal::builders::UpdateAgentGoalFluentBuilder::title) / [`set_title(Option<String>)`](crate::operation::update_agent_goal::builders::UpdateAgentGoalFluentBuilder::set_title):<br>required: **false**<br><p>The updated title for the goal. Maximum length of 1000 characters.</p><br>
/// - [`description(impl Into<String>)`](crate::operation::update_agent_goal::builders::UpdateAgentGoalFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_agent_goal::builders::UpdateAgentGoalFluentBuilder::set_description):<br>required: **false**<br><p>A description of the goal.</p><br>
/// - On success, responds with [`UpdateAgentGoalOutput`](crate::operation::update_agent_goal::UpdateAgentGoalOutput) with field(s):
/// - [`goal(Option<GoalSummary>)`](crate::operation::update_agent_goal::UpdateAgentGoalOutput::goal): <p>The updated goal summary.</p>
/// - On failure, responds with [`SdkError<UpdateAgentGoalError>`](crate::operation::update_agent_goal::UpdateAgentGoalError)
pub fn update_agent_goal(&self) -> crate::operation::update_agent_goal::builders::UpdateAgentGoalFluentBuilder {
crate::operation::update_agent_goal::builders::UpdateAgentGoalFluentBuilder::new(self.handle.clone())
}
}