Struct aws_sdk_quicksight::operation::create_role_membership::builders::CreateRoleMembershipFluentBuilder
source · pub struct CreateRoleMembershipFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to CreateRoleMembership.
Use CreateRoleMembership to add an existing Amazon QuickSight group to an existing role.
Implementations§
source§impl CreateRoleMembershipFluentBuilder
impl CreateRoleMembershipFluentBuilder
sourcepub fn as_input(&self) -> &CreateRoleMembershipInputBuilder
pub fn as_input(&self) -> &CreateRoleMembershipInputBuilder
Access the CreateRoleMembership as a reference.
sourcepub async fn send(
self
) -> Result<CreateRoleMembershipOutput, SdkError<CreateRoleMembershipError, HttpResponse>>
pub async fn send( self ) -> Result<CreateRoleMembershipOutput, SdkError<CreateRoleMembershipError, 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 fn customize(
self
) -> CustomizableOperation<CreateRoleMembershipOutput, CreateRoleMembershipError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateRoleMembershipOutput, CreateRoleMembershipError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 that you want to add to the role.
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 that you want to add to the role.
sourcepub fn get_member_name(&self) -> &Option<String>
pub fn get_member_name(&self) -> &Option<String>
The name of the group that you want to add to the role.
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.
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 the role belongs to.
sourcepub fn set_namespace(self, input: Option<String>) -> Self
pub fn set_namespace(self, input: Option<String>) -> Self
The namespace that the role belongs to.
sourcepub fn get_namespace(&self) -> &Option<String>
pub fn get_namespace(&self) -> &Option<String>
The namespace that the role belongs to.
Trait Implementations§
source§impl Clone for CreateRoleMembershipFluentBuilder
impl Clone for CreateRoleMembershipFluentBuilder
source§fn clone(&self) -> CreateRoleMembershipFluentBuilder
fn clone(&self) -> CreateRoleMembershipFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more