// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`RejectTimeOff`](crate::operation::reject_time_off::builders::RejectTimeOffFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`instance_id(impl Into<String>)`](crate::operation::reject_time_off::builders::RejectTimeOffFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::reject_time_off::builders::RejectTimeOffFluentBuilder::set_instance_id):<br>required: **true**<br><p>The identifier of the Connect Customer instance. This can be the ID or the ARN of the instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p><br>
/// - [`user_id(impl Into<String>)`](crate::operation::reject_time_off::builders::RejectTimeOffFluentBuilder::user_id) / [`set_user_id(Option<String>)`](crate::operation::reject_time_off::builders::RejectTimeOffFluentBuilder::set_user_id):<br>required: **true**<br><p>The identifier of the user who the time off request belongs to. This can be the ID or the ARN of the user.</p><br>
/// - [`time_off_id(impl Into<String>)`](crate::operation::reject_time_off::builders::RejectTimeOffFluentBuilder::time_off_id) / [`set_time_off_id(Option<String>)`](crate::operation::reject_time_off::builders::RejectTimeOffFluentBuilder::set_time_off_id):<br>required: **true**<br><p>The unique identifier of the time off request to reject. If the time off request doesn't belong to <code>UserId</code>, the operation returns <code>ResourceNotFoundException</code>.</p><br>
/// - [`description(impl Into<String>)`](crate::operation::reject_time_off::builders::RejectTimeOffFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::reject_time_off::builders::RejectTimeOffFluentBuilder::set_description):<br>required: **false**<br><p>A description recorded with the rejection, such as the reason. <code>GetTimeOff</code> doesn't return it.</p><br>
/// - On success, responds with [`RejectTimeOffOutput`](crate::operation::reject_time_off::RejectTimeOffOutput)
/// - On failure, responds with [`SdkError<RejectTimeOffError>`](crate::operation::reject_time_off::RejectTimeOffError)
pub fn reject_time_off(&self) -> crate::operation::reject_time_off::builders::RejectTimeOffFluentBuilder {
crate::operation::reject_time_off::builders::RejectTimeOffFluentBuilder::new(self.handle.clone())
}
}