Struct aws_sdk_workmail::operation::associate_member_to_group::builders::AssociateMemberToGroupInputBuilder
source · #[non_exhaustive]pub struct AssociateMemberToGroupInputBuilder { /* private fields */ }
Expand description
A builder for AssociateMemberToGroupInput
.
Implementations§
source§impl AssociateMemberToGroupInputBuilder
impl AssociateMemberToGroupInputBuilder
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.
sourcepub fn build(self) -> Result<AssociateMemberToGroupInput, BuildError>
pub fn build(self) -> Result<AssociateMemberToGroupInput, BuildError>
Consumes the builder and constructs a AssociateMemberToGroupInput
.
source§impl AssociateMemberToGroupInputBuilder
impl AssociateMemberToGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<AssociateMemberToGroupOutput, SdkError<AssociateMemberToGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<AssociateMemberToGroupOutput, SdkError<AssociateMemberToGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AssociateMemberToGroupInputBuilder
impl Clone for AssociateMemberToGroupInputBuilder
source§fn clone(&self) -> AssociateMemberToGroupInputBuilder
fn clone(&self) -> AssociateMemberToGroupInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for AssociateMemberToGroupInputBuilder
impl Default for AssociateMemberToGroupInputBuilder
source§fn default() -> AssociateMemberToGroupInputBuilder
fn default() -> AssociateMemberToGroupInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<AssociateMemberToGroupInputBuilder> for AssociateMemberToGroupInputBuilder
impl PartialEq<AssociateMemberToGroupInputBuilder> for AssociateMemberToGroupInputBuilder
source§fn eq(&self, other: &AssociateMemberToGroupInputBuilder) -> bool
fn eq(&self, other: &AssociateMemberToGroupInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AssociateMemberToGroupInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AssociateMemberToGroupInputBuilder
impl Send for AssociateMemberToGroupInputBuilder
impl Sync for AssociateMemberToGroupInputBuilder
impl Unpin for AssociateMemberToGroupInputBuilder
impl UnwindSafe for AssociateMemberToGroupInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more