#[non_exhaustive]pub struct GetContactOutputBuilder { /* private fields */ }
Expand description
A builder for GetContactOutput
.
Implementations§
source§impl GetContactOutputBuilder
impl GetContactOutputBuilder
sourcepub fn contact_list_name(self, input: impl Into<String>) -> Self
pub fn contact_list_name(self, input: impl Into<String>) -> Self
The name of the contact list to which the contact belongs.
sourcepub fn set_contact_list_name(self, input: Option<String>) -> Self
pub fn set_contact_list_name(self, input: Option<String>) -> Self
The name of the contact list to which the contact belongs.
sourcepub fn get_contact_list_name(&self) -> &Option<String>
pub fn get_contact_list_name(&self) -> &Option<String>
The name of the contact list to which the contact belongs.
sourcepub fn email_address(self, input: impl Into<String>) -> Self
pub fn email_address(self, input: impl Into<String>) -> Self
The contact's email address.
sourcepub fn set_email_address(self, input: Option<String>) -> Self
pub fn set_email_address(self, input: Option<String>) -> Self
The contact's email address.
sourcepub fn get_email_address(&self) -> &Option<String>
pub fn get_email_address(&self) -> &Option<String>
The contact's email address.
sourcepub fn topic_preferences(self, input: TopicPreference) -> Self
pub fn topic_preferences(self, input: TopicPreference) -> Self
Appends an item to topic_preferences
.
To override the contents of this collection use set_topic_preferences
.
The contact's preference for being opted-in to or opted-out of a topic.>
sourcepub fn set_topic_preferences(self, input: Option<Vec<TopicPreference>>) -> Self
pub fn set_topic_preferences(self, input: Option<Vec<TopicPreference>>) -> Self
The contact's preference for being opted-in to or opted-out of a topic.>
sourcepub fn get_topic_preferences(&self) -> &Option<Vec<TopicPreference>>
pub fn get_topic_preferences(&self) -> &Option<Vec<TopicPreference>>
The contact's preference for being opted-in to or opted-out of a topic.>
sourcepub fn topic_default_preferences(self, input: TopicPreference) -> Self
pub fn topic_default_preferences(self, input: TopicPreference) -> Self
Appends an item to topic_default_preferences
.
To override the contents of this collection use set_topic_default_preferences
.
The default topic preferences applied to the contact.
sourcepub fn set_topic_default_preferences(
self,
input: Option<Vec<TopicPreference>>,
) -> Self
pub fn set_topic_default_preferences( self, input: Option<Vec<TopicPreference>>, ) -> Self
The default topic preferences applied to the contact.
sourcepub fn get_topic_default_preferences(&self) -> &Option<Vec<TopicPreference>>
pub fn get_topic_default_preferences(&self) -> &Option<Vec<TopicPreference>>
The default topic preferences applied to the contact.
sourcepub fn unsubscribe_all(self, input: bool) -> Self
pub fn unsubscribe_all(self, input: bool) -> Self
A boolean value status noting if the contact is unsubscribed from all contact list topics.
sourcepub fn set_unsubscribe_all(self, input: Option<bool>) -> Self
pub fn set_unsubscribe_all(self, input: Option<bool>) -> Self
A boolean value status noting if the contact is unsubscribed from all contact list topics.
sourcepub fn get_unsubscribe_all(&self) -> &Option<bool>
pub fn get_unsubscribe_all(&self) -> &Option<bool>
A boolean value status noting if the contact is unsubscribed from all contact list topics.
sourcepub fn attributes_data(self, input: impl Into<String>) -> Self
pub fn attributes_data(self, input: impl Into<String>) -> Self
The attribute data attached to a contact.
sourcepub fn set_attributes_data(self, input: Option<String>) -> Self
pub fn set_attributes_data(self, input: Option<String>) -> Self
The attribute data attached to a contact.
sourcepub fn get_attributes_data(&self) -> &Option<String>
pub fn get_attributes_data(&self) -> &Option<String>
The attribute data attached to a contact.
sourcepub fn created_timestamp(self, input: DateTime) -> Self
pub fn created_timestamp(self, input: DateTime) -> Self
A timestamp noting when the contact was created.
sourcepub fn set_created_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_created_timestamp(self, input: Option<DateTime>) -> Self
A timestamp noting when the contact was created.
sourcepub fn get_created_timestamp(&self) -> &Option<DateTime>
pub fn get_created_timestamp(&self) -> &Option<DateTime>
A timestamp noting when the contact was created.
sourcepub fn last_updated_timestamp(self, input: DateTime) -> Self
pub fn last_updated_timestamp(self, input: DateTime) -> Self
A timestamp noting the last time the contact's information was updated.
sourcepub fn set_last_updated_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_timestamp(self, input: Option<DateTime>) -> Self
A timestamp noting the last time the contact's information was updated.
sourcepub fn get_last_updated_timestamp(&self) -> &Option<DateTime>
pub fn get_last_updated_timestamp(&self) -> &Option<DateTime>
A timestamp noting the last time the contact's information was updated.
sourcepub fn build(self) -> GetContactOutput
pub fn build(self) -> GetContactOutput
Consumes the builder and constructs a GetContactOutput
.
Trait Implementations§
source§impl Clone for GetContactOutputBuilder
impl Clone for GetContactOutputBuilder
source§fn clone(&self) -> GetContactOutputBuilder
fn clone(&self) -> GetContactOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetContactOutputBuilder
impl Debug for GetContactOutputBuilder
source§impl Default for GetContactOutputBuilder
impl Default for GetContactOutputBuilder
source§fn default() -> GetContactOutputBuilder
fn default() -> GetContactOutputBuilder
source§impl PartialEq for GetContactOutputBuilder
impl PartialEq for GetContactOutputBuilder
source§fn eq(&self, other: &GetContactOutputBuilder) -> bool
fn eq(&self, other: &GetContactOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetContactOutputBuilder
Auto Trait Implementations§
impl Freeze for GetContactOutputBuilder
impl RefUnwindSafe for GetContactOutputBuilder
impl Send for GetContactOutputBuilder
impl Sync for GetContactOutputBuilder
impl Unpin for GetContactOutputBuilder
impl UnwindSafe for GetContactOutputBuilder
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