Struct aws_sdk_quicksight::operation::delete_role_membership::builders::DeleteRoleMembershipInputBuilder
source · #[non_exhaustive]pub struct DeleteRoleMembershipInputBuilder { /* private fields */ }Expand description
A builder for DeleteRoleMembershipInput.
Implementations§
source§impl DeleteRoleMembershipInputBuilder
impl DeleteRoleMembershipInputBuilder
sourcepub fn member_name(self, input: impl Into<String>) -> Self
pub fn member_name(self, input: impl Into<String>) -> Self
The name of the group.
This field is required.sourcepub fn set_member_name(self, input: Option<String>) -> Self
pub fn set_member_name(self, input: Option<String>) -> Self
The name of the group.
sourcepub fn get_member_name(&self) -> &Option<String>
pub fn get_member_name(&self) -> &Option<String>
The name of the group.
sourcepub fn role(self, input: Role) -> Self
pub fn role(self, input: Role) -> Self
The role that you want to remove permissions from.
This field is required.sourcepub fn set_role(self, input: Option<Role>) -> Self
pub fn set_role(self, input: Option<Role>) -> Self
The role that you want to remove permissions from.
sourcepub fn aws_account_id(self, input: impl Into<String>) -> Self
pub fn aws_account_id(self, input: impl Into<String>) -> Self
The ID for the Amazon Web Services account that you want to create a group in. The Amazon Web Services account ID that you provide must be the same Amazon Web Services account that contains your Amazon QuickSight account.
This field is required.sourcepub fn set_aws_account_id(self, input: Option<String>) -> Self
pub fn set_aws_account_id(self, input: Option<String>) -> Self
The ID for the Amazon Web Services account that you want to create a group in. The Amazon Web Services account ID that you provide must be the same Amazon Web Services account that contains your Amazon QuickSight account.
sourcepub fn get_aws_account_id(&self) -> &Option<String>
pub fn get_aws_account_id(&self) -> &Option<String>
The ID for the Amazon Web Services account that you want to create a group in. The Amazon Web Services account ID that you provide must be the same Amazon Web Services account that contains your Amazon QuickSight account.
sourcepub fn namespace(self, input: impl Into<String>) -> Self
pub fn namespace(self, input: impl Into<String>) -> Self
The namespace that contains the role.
This field is required.sourcepub fn set_namespace(self, input: Option<String>) -> Self
pub fn set_namespace(self, input: Option<String>) -> Self
The namespace that contains the role.
sourcepub fn get_namespace(&self) -> &Option<String>
pub fn get_namespace(&self) -> &Option<String>
The namespace that contains the role.
sourcepub fn build(self) -> Result<DeleteRoleMembershipInput, BuildError>
pub fn build(self) -> Result<DeleteRoleMembershipInput, BuildError>
Consumes the builder and constructs a DeleteRoleMembershipInput.
source§impl DeleteRoleMembershipInputBuilder
impl DeleteRoleMembershipInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<DeleteRoleMembershipOutput, SdkError<DeleteRoleMembershipError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<DeleteRoleMembershipOutput, SdkError<DeleteRoleMembershipError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteRoleMembershipInputBuilder
impl Clone for DeleteRoleMembershipInputBuilder
source§fn clone(&self) -> DeleteRoleMembershipInputBuilder
fn clone(&self) -> DeleteRoleMembershipInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DeleteRoleMembershipInputBuilder
impl Default for DeleteRoleMembershipInputBuilder
source§fn default() -> DeleteRoleMembershipInputBuilder
fn default() -> DeleteRoleMembershipInputBuilder
source§impl PartialEq for DeleteRoleMembershipInputBuilder
impl PartialEq for DeleteRoleMembershipInputBuilder
source§fn eq(&self, other: &DeleteRoleMembershipInputBuilder) -> bool
fn eq(&self, other: &DeleteRoleMembershipInputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeleteRoleMembershipInputBuilder
Auto Trait Implementations§
impl Freeze for DeleteRoleMembershipInputBuilder
impl RefUnwindSafe for DeleteRoleMembershipInputBuilder
impl Send for DeleteRoleMembershipInputBuilder
impl Sync for DeleteRoleMembershipInputBuilder
impl Unpin for DeleteRoleMembershipInputBuilder
impl UnwindSafe for DeleteRoleMembershipInputBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more