Struct aws_sdk_chime::operation::associate_phone_numbers_with_voice_connector_group::AssociatePhoneNumbersWithVoiceConnectorGroupInput
source · #[non_exhaustive]pub struct AssociatePhoneNumbersWithVoiceConnectorGroupInput {
pub voice_connector_group_id: Option<String>,
pub e164_phone_numbers: Option<Vec<String>>,
pub force_associate: Option<bool>,
}
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.voice_connector_group_id: Option<String>
The Amazon Chime Voice Connector group ID.
e164_phone_numbers: Option<Vec<String>>
List of phone numbers, in E.164 format.
force_associate: Option<bool>
If true, associates the provided phone numbers with the provided Amazon Chime Voice Connector Group and removes any previously existing associations. If false, does not associate any phone numbers that have previously existing associations.
Implementations§
source§impl AssociatePhoneNumbersWithVoiceConnectorGroupInput
impl AssociatePhoneNumbersWithVoiceConnectorGroupInput
sourcepub fn voice_connector_group_id(&self) -> Option<&str>
pub fn voice_connector_group_id(&self) -> Option<&str>
The Amazon Chime Voice Connector group ID.
sourcepub fn e164_phone_numbers(&self) -> &[String]
pub fn e164_phone_numbers(&self) -> &[String]
List of phone numbers, in E.164 format.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .e164_phone_numbers.is_none()
.
sourcepub fn force_associate(&self) -> Option<bool>
pub fn force_associate(&self) -> Option<bool>
If true, associates the provided phone numbers with the provided Amazon Chime Voice Connector Group and removes any previously existing associations. If false, does not associate any phone numbers that have previously existing associations.
source§impl AssociatePhoneNumbersWithVoiceConnectorGroupInput
impl AssociatePhoneNumbersWithVoiceConnectorGroupInput
sourcepub fn builder() -> AssociatePhoneNumbersWithVoiceConnectorGroupInputBuilder
pub fn builder() -> AssociatePhoneNumbersWithVoiceConnectorGroupInputBuilder
Creates a new builder-style object to manufacture AssociatePhoneNumbersWithVoiceConnectorGroupInput
.
Trait Implementations§
source§impl Clone for AssociatePhoneNumbersWithVoiceConnectorGroupInput
impl Clone for AssociatePhoneNumbersWithVoiceConnectorGroupInput
source§fn clone(&self) -> AssociatePhoneNumbersWithVoiceConnectorGroupInput
fn clone(&self) -> AssociatePhoneNumbersWithVoiceConnectorGroupInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AssociatePhoneNumbersWithVoiceConnectorGroupInput
impl PartialEq for AssociatePhoneNumbersWithVoiceConnectorGroupInput
source§fn eq(&self, other: &AssociatePhoneNumbersWithVoiceConnectorGroupInput) -> bool
fn eq(&self, other: &AssociatePhoneNumbersWithVoiceConnectorGroupInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AssociatePhoneNumbersWithVoiceConnectorGroupInput
Auto Trait Implementations§
impl Freeze for AssociatePhoneNumbersWithVoiceConnectorGroupInput
impl RefUnwindSafe for AssociatePhoneNumbersWithVoiceConnectorGroupInput
impl Send for AssociatePhoneNumbersWithVoiceConnectorGroupInput
impl Sync for AssociatePhoneNumbersWithVoiceConnectorGroupInput
impl Unpin for AssociatePhoneNumbersWithVoiceConnectorGroupInput
impl UnwindSafe for AssociatePhoneNumbersWithVoiceConnectorGroupInput
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> 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