Struct aws_sdk_quicksight::operation::create_role_membership::builders::CreateRoleMembershipInputBuilder
source · #[non_exhaustive]pub struct CreateRoleMembershipInputBuilder { /* private fields */ }Expand description
A builder for CreateRoleMembershipInput.
Implementations§
source§impl CreateRoleMembershipInputBuilder
impl CreateRoleMembershipInputBuilder
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.
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 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.
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 the role belongs to.
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 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.
sourcepub fn role(self, input: Role) -> Self
pub fn role(self, input: Role) -> Self
The role that you want to add a group to.
This field is required.sourcepub fn build(self) -> Result<CreateRoleMembershipInput, BuildError>
pub fn build(self) -> Result<CreateRoleMembershipInput, BuildError>
Consumes the builder and constructs a CreateRoleMembershipInput.
source§impl CreateRoleMembershipInputBuilder
impl CreateRoleMembershipInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateRoleMembershipOutput, SdkError<CreateRoleMembershipError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateRoleMembershipOutput, SdkError<CreateRoleMembershipError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateRoleMembershipInputBuilder
impl Clone for CreateRoleMembershipInputBuilder
source§fn clone(&self) -> CreateRoleMembershipInputBuilder
fn clone(&self) -> CreateRoleMembershipInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateRoleMembershipInputBuilder
impl Default for CreateRoleMembershipInputBuilder
source§fn default() -> CreateRoleMembershipInputBuilder
fn default() -> CreateRoleMembershipInputBuilder
source§impl PartialEq for CreateRoleMembershipInputBuilder
impl PartialEq for CreateRoleMembershipInputBuilder
source§fn eq(&self, other: &CreateRoleMembershipInputBuilder) -> bool
fn eq(&self, other: &CreateRoleMembershipInputBuilder) -> bool
self and other values to be equal, and is used
by ==.