Struct aws_sdk_chime::operation::batch_create_channel_membership::BatchCreateChannelMembershipInput
source · #[non_exhaustive]pub struct BatchCreateChannelMembershipInput {
pub channel_arn: Option<String>,
pub type: Option<ChannelMembershipType>,
pub member_arns: Option<Vec<String>>,
pub chime_bearer: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.channel_arn: Option<String>
The ARN of the channel to which you're adding users.
type: Option<ChannelMembershipType>
The membership type of a user, DEFAULT
or HIDDEN
. Default members are always returned as part of ListChannelMemberships
. Hidden members are only returned if the type filter in ListChannelMemberships
equals HIDDEN
. Otherwise hidden members are not returned. This is only supported by moderators.
member_arns: Option<Vec<String>>
The ARNs of the members you want to add to the channel.
chime_bearer: Option<String>
The AppInstanceUserArn
of the user that makes the API call.
Implementations§
source§impl BatchCreateChannelMembershipInput
impl BatchCreateChannelMembershipInput
sourcepub fn channel_arn(&self) -> Option<&str>
pub fn channel_arn(&self) -> Option<&str>
The ARN of the channel to which you're adding users.
sourcepub fn type(&self) -> Option<&ChannelMembershipType>
pub fn type(&self) -> Option<&ChannelMembershipType>
The membership type of a user, DEFAULT
or HIDDEN
. Default members are always returned as part of ListChannelMemberships
. Hidden members are only returned if the type filter in ListChannelMemberships
equals HIDDEN
. Otherwise hidden members are not returned. This is only supported by moderators.
sourcepub fn member_arns(&self) -> &[String]
pub fn member_arns(&self) -> &[String]
The ARNs of the members you want to add to the channel.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .member_arns.is_none()
.
sourcepub fn chime_bearer(&self) -> Option<&str>
pub fn chime_bearer(&self) -> Option<&str>
The AppInstanceUserArn
of the user that makes the API call.
source§impl BatchCreateChannelMembershipInput
impl BatchCreateChannelMembershipInput
sourcepub fn builder() -> BatchCreateChannelMembershipInputBuilder
pub fn builder() -> BatchCreateChannelMembershipInputBuilder
Creates a new builder-style object to manufacture BatchCreateChannelMembershipInput
.
Trait Implementations§
source§impl Clone for BatchCreateChannelMembershipInput
impl Clone for BatchCreateChannelMembershipInput
source§fn clone(&self) -> BatchCreateChannelMembershipInput
fn clone(&self) -> BatchCreateChannelMembershipInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for BatchCreateChannelMembershipInput
impl PartialEq for BatchCreateChannelMembershipInput
source§fn eq(&self, other: &BatchCreateChannelMembershipInput) -> bool
fn eq(&self, other: &BatchCreateChannelMembershipInput) -> bool
self
and other
values to be equal, and is used
by ==
.