aws_sdk_deadline/client/associate_member_to_job.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`AssociateMemberToJob`](crate::operation::associate_member_to_job::builders::AssociateMemberToJobFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`farm_id(impl Into<String>)`](crate::operation::associate_member_to_job::builders::AssociateMemberToJobFluentBuilder::farm_id) / [`set_farm_id(Option<String>)`](crate::operation::associate_member_to_job::builders::AssociateMemberToJobFluentBuilder::set_farm_id):<br>required: **true**<br><p>The farm ID of the job to associate with the member.</p><br>
/// - [`queue_id(impl Into<String>)`](crate::operation::associate_member_to_job::builders::AssociateMemberToJobFluentBuilder::queue_id) / [`set_queue_id(Option<String>)`](crate::operation::associate_member_to_job::builders::AssociateMemberToJobFluentBuilder::set_queue_id):<br>required: **true**<br><p>The queue ID to associate to the member.</p><br>
/// - [`job_id(impl Into<String>)`](crate::operation::associate_member_to_job::builders::AssociateMemberToJobFluentBuilder::job_id) / [`set_job_id(Option<String>)`](crate::operation::associate_member_to_job::builders::AssociateMemberToJobFluentBuilder::set_job_id):<br>required: **true**<br><p>The job ID to associate with the member.</p><br>
/// - [`principal_id(impl Into<String>)`](crate::operation::associate_member_to_job::builders::AssociateMemberToJobFluentBuilder::principal_id) / [`set_principal_id(Option<String>)`](crate::operation::associate_member_to_job::builders::AssociateMemberToJobFluentBuilder::set_principal_id):<br>required: **true**<br><p>The member's principal ID to associate with the job.</p><br>
/// - [`principal_type(DeadlinePrincipalType)`](crate::operation::associate_member_to_job::builders::AssociateMemberToJobFluentBuilder::principal_type) / [`set_principal_type(Option<DeadlinePrincipalType>)`](crate::operation::associate_member_to_job::builders::AssociateMemberToJobFluentBuilder::set_principal_type):<br>required: **true**<br><p>The member's principal type to associate with the job.</p><br>
/// - [`identity_store_id(impl Into<String>)`](crate::operation::associate_member_to_job::builders::AssociateMemberToJobFluentBuilder::identity_store_id) / [`set_identity_store_id(Option<String>)`](crate::operation::associate_member_to_job::builders::AssociateMemberToJobFluentBuilder::set_identity_store_id):<br>required: **true**<br><p>The member's identity store ID to associate with the job.</p><br>
/// - [`membership_level(MembershipLevel)`](crate::operation::associate_member_to_job::builders::AssociateMemberToJobFluentBuilder::membership_level) / [`set_membership_level(Option<MembershipLevel>)`](crate::operation::associate_member_to_job::builders::AssociateMemberToJobFluentBuilder::set_membership_level):<br>required: **true**<br><p>The principal's membership level for the associated job.</p><br>
/// - On success, responds with [`AssociateMemberToJobOutput`](crate::operation::associate_member_to_job::AssociateMemberToJobOutput)
/// - On failure, responds with [`SdkError<AssociateMemberToJobError>`](crate::operation::associate_member_to_job::AssociateMemberToJobError)
pub fn associate_member_to_job(&self) -> crate::operation::associate_member_to_job::builders::AssociateMemberToJobFluentBuilder {
crate::operation::associate_member_to_job::builders::AssociateMemberToJobFluentBuilder::new(self.handle.clone())
}
}