Struct aws_sdk_chime::operation::associate_phone_numbers_with_voice_connector::AssociatePhoneNumbersWithVoiceConnectorInput
source · #[non_exhaustive]pub struct AssociatePhoneNumbersWithVoiceConnectorInput {
pub voice_connector_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_id: Option<String>
The Amazon Chime Voice Connector 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 and removes any previously existing associations. If false, does not associate any phone numbers that have previously existing associations.
Implementations§
source§impl AssociatePhoneNumbersWithVoiceConnectorInput
impl AssociatePhoneNumbersWithVoiceConnectorInput
sourcepub fn voice_connector_id(&self) -> Option<&str>
pub fn voice_connector_id(&self) -> Option<&str>
The Amazon Chime Voice Connector 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 and removes any previously existing associations. If false, does not associate any phone numbers that have previously existing associations.
source§impl AssociatePhoneNumbersWithVoiceConnectorInput
impl AssociatePhoneNumbersWithVoiceConnectorInput
sourcepub fn builder() -> AssociatePhoneNumbersWithVoiceConnectorInputBuilder
pub fn builder() -> AssociatePhoneNumbersWithVoiceConnectorInputBuilder
Creates a new builder-style object to manufacture AssociatePhoneNumbersWithVoiceConnectorInput
.
Trait Implementations§
source§impl Clone for AssociatePhoneNumbersWithVoiceConnectorInput
impl Clone for AssociatePhoneNumbersWithVoiceConnectorInput
source§fn clone(&self) -> AssociatePhoneNumbersWithVoiceConnectorInput
fn clone(&self) -> AssociatePhoneNumbersWithVoiceConnectorInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AssociatePhoneNumbersWithVoiceConnectorInput
impl PartialEq for AssociatePhoneNumbersWithVoiceConnectorInput
source§fn eq(&self, other: &AssociatePhoneNumbersWithVoiceConnectorInput) -> bool
fn eq(&self, other: &AssociatePhoneNumbersWithVoiceConnectorInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AssociatePhoneNumbersWithVoiceConnectorInput
Auto Trait Implementations§
impl Freeze for AssociatePhoneNumbersWithVoiceConnectorInput
impl RefUnwindSafe for AssociatePhoneNumbersWithVoiceConnectorInput
impl Send for AssociatePhoneNumbersWithVoiceConnectorInput
impl Sync for AssociatePhoneNumbersWithVoiceConnectorInput
impl Unpin for AssociatePhoneNumbersWithVoiceConnectorInput
impl UnwindSafe for AssociatePhoneNumbersWithVoiceConnectorInput
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