Struct aws_sdk_workmail::operation::associate_member_to_group::builders::AssociateMemberToGroupFluentBuilder
source · pub struct AssociateMemberToGroupFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to AssociateMemberToGroup
.
Adds a member (user or group) to the group's set.
Implementations§
source§impl AssociateMemberToGroupFluentBuilder
impl AssociateMemberToGroupFluentBuilder
sourcepub fn as_input(&self) -> &AssociateMemberToGroupInputBuilder
pub fn as_input(&self) -> &AssociateMemberToGroupInputBuilder
Access the AssociateMemberToGroup as a reference.
sourcepub async fn send(
self
) -> Result<AssociateMemberToGroupOutput, SdkError<AssociateMemberToGroupError, HttpResponse>>
pub async fn send( self ) -> Result<AssociateMemberToGroupOutput, SdkError<AssociateMemberToGroupError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<AssociateMemberToGroupOutput, AssociateMemberToGroupError>, SdkError<AssociateMemberToGroupError>>
pub async fn customize( self ) -> Result<CustomizableOperation<AssociateMemberToGroupOutput, AssociateMemberToGroupError>, SdkError<AssociateMemberToGroupError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn organization_id(self, input: impl Into<String>) -> Self
pub fn organization_id(self, input: impl Into<String>) -> Self
The organization under which the group exists.
sourcepub fn set_organization_id(self, input: Option<String>) -> Self
pub fn set_organization_id(self, input: Option<String>) -> Self
The organization under which the group exists.
sourcepub fn get_organization_id(&self) -> &Option<String>
pub fn get_organization_id(&self) -> &Option<String>
The organization under which the group exists.
sourcepub fn group_id(self, input: impl Into<String>) -> Self
pub fn group_id(self, input: impl Into<String>) -> Self
The group to which the member (user or group) is associated.
sourcepub fn set_group_id(self, input: Option<String>) -> Self
pub fn set_group_id(self, input: Option<String>) -> Self
The group to which the member (user or group) is associated.
sourcepub fn get_group_id(&self) -> &Option<String>
pub fn get_group_id(&self) -> &Option<String>
The group to which the member (user or group) is associated.
sourcepub fn member_id(self, input: impl Into<String>) -> Self
pub fn member_id(self, input: impl Into<String>) -> Self
The member (user or group) to associate to the group.
sourcepub fn set_member_id(self, input: Option<String>) -> Self
pub fn set_member_id(self, input: Option<String>) -> Self
The member (user or group) to associate to the group.
sourcepub fn get_member_id(&self) -> &Option<String>
pub fn get_member_id(&self) -> &Option<String>
The member (user or group) to associate to the group.
Trait Implementations§
source§impl Clone for AssociateMemberToGroupFluentBuilder
impl Clone for AssociateMemberToGroupFluentBuilder
source§fn clone(&self) -> AssociateMemberToGroupFluentBuilder
fn clone(&self) -> AssociateMemberToGroupFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more