Struct aws_sdk_customerprofiles::operation::add_profile_key::builders::AddProfileKeyInputBuilder
source · #[non_exhaustive]pub struct AddProfileKeyInputBuilder { /* private fields */ }
Expand description
A builder for AddProfileKeyInput
.
Implementations§
source§impl AddProfileKeyInputBuilder
impl AddProfileKeyInputBuilder
sourcepub fn profile_id(self, input: impl Into<String>) -> Self
pub fn profile_id(self, input: impl Into<String>) -> Self
The unique identifier of a customer profile.
This field is required.sourcepub fn set_profile_id(self, input: Option<String>) -> Self
pub fn set_profile_id(self, input: Option<String>) -> Self
The unique identifier of a customer profile.
sourcepub fn get_profile_id(&self) -> &Option<String>
pub fn get_profile_id(&self) -> &Option<String>
The unique identifier of a customer profile.
sourcepub fn key_name(self, input: impl Into<String>) -> Self
pub fn key_name(self, input: impl Into<String>) -> Self
A searchable identifier of a customer profile. The predefined keys you can use include: _account, _profileId, _assetId, _caseId, _orderId, _fullName, _phone, _email, _ctrContactId, _marketoLeadId, _salesforceAccountId, _salesforceContactId, _salesforceAssetId, _zendeskUserId, _zendeskExternalId, _zendeskTicketId, _serviceNowSystemId, _serviceNowIncidentId, _segmentUserId, _shopifyCustomerId, _shopifyOrderId.
This field is required.sourcepub fn set_key_name(self, input: Option<String>) -> Self
pub fn set_key_name(self, input: Option<String>) -> Self
A searchable identifier of a customer profile. The predefined keys you can use include: _account, _profileId, _assetId, _caseId, _orderId, _fullName, _phone, _email, _ctrContactId, _marketoLeadId, _salesforceAccountId, _salesforceContactId, _salesforceAssetId, _zendeskUserId, _zendeskExternalId, _zendeskTicketId, _serviceNowSystemId, _serviceNowIncidentId, _segmentUserId, _shopifyCustomerId, _shopifyOrderId.
sourcepub fn get_key_name(&self) -> &Option<String>
pub fn get_key_name(&self) -> &Option<String>
A searchable identifier of a customer profile. The predefined keys you can use include: _account, _profileId, _assetId, _caseId, _orderId, _fullName, _phone, _email, _ctrContactId, _marketoLeadId, _salesforceAccountId, _salesforceContactId, _salesforceAssetId, _zendeskUserId, _zendeskExternalId, _zendeskTicketId, _serviceNowSystemId, _serviceNowIncidentId, _segmentUserId, _shopifyCustomerId, _shopifyOrderId.
sourcepub fn values(self, input: impl Into<String>) -> Self
pub fn values(self, input: impl Into<String>) -> Self
Appends an item to values
.
To override the contents of this collection use set_values
.
A list of key values.
sourcepub fn set_values(self, input: Option<Vec<String>>) -> Self
pub fn set_values(self, input: Option<Vec<String>>) -> Self
A list of key values.
sourcepub fn get_values(&self) -> &Option<Vec<String>>
pub fn get_values(&self) -> &Option<Vec<String>>
A list of key values.
sourcepub fn domain_name(self, input: impl Into<String>) -> Self
pub fn domain_name(self, input: impl Into<String>) -> Self
The unique name of the domain.
This field is required.sourcepub fn set_domain_name(self, input: Option<String>) -> Self
pub fn set_domain_name(self, input: Option<String>) -> Self
The unique name of the domain.
sourcepub fn get_domain_name(&self) -> &Option<String>
pub fn get_domain_name(&self) -> &Option<String>
The unique name of the domain.
sourcepub fn build(self) -> Result<AddProfileKeyInput, BuildError>
pub fn build(self) -> Result<AddProfileKeyInput, BuildError>
Consumes the builder and constructs a AddProfileKeyInput
.
source§impl AddProfileKeyInputBuilder
impl AddProfileKeyInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<AddProfileKeyOutput, SdkError<AddProfileKeyError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<AddProfileKeyOutput, SdkError<AddProfileKeyError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AddProfileKeyInputBuilder
impl Clone for AddProfileKeyInputBuilder
source§fn clone(&self) -> AddProfileKeyInputBuilder
fn clone(&self) -> AddProfileKeyInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AddProfileKeyInputBuilder
impl Debug for AddProfileKeyInputBuilder
source§impl Default for AddProfileKeyInputBuilder
impl Default for AddProfileKeyInputBuilder
source§fn default() -> AddProfileKeyInputBuilder
fn default() -> AddProfileKeyInputBuilder
source§impl PartialEq for AddProfileKeyInputBuilder
impl PartialEq for AddProfileKeyInputBuilder
source§fn eq(&self, other: &AddProfileKeyInputBuilder) -> bool
fn eq(&self, other: &AddProfileKeyInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AddProfileKeyInputBuilder
Auto Trait Implementations§
impl Freeze for AddProfileKeyInputBuilder
impl RefUnwindSafe for AddProfileKeyInputBuilder
impl Send for AddProfileKeyInputBuilder
impl Sync for AddProfileKeyInputBuilder
impl Unpin for AddProfileKeyInputBuilder
impl UnwindSafe for AddProfileKeyInputBuilder
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