Struct aws_sdk_customerprofiles::operation::get_similar_profiles::builders::GetSimilarProfilesInputBuilder
source · #[non_exhaustive]pub struct GetSimilarProfilesInputBuilder { /* private fields */ }
Expand description
A builder for GetSimilarProfilesInput
.
Implementations§
source§impl GetSimilarProfilesInputBuilder
impl GetSimilarProfilesInputBuilder
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The pagination token from the previous GetSimilarProfiles
API call.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The pagination token from the previous GetSimilarProfiles
API call.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The pagination token from the previous GetSimilarProfiles
API call.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of objects returned per page.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of objects returned per page.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of objects returned per page.
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 match_type(self, input: MatchType) -> Self
pub fn match_type(self, input: MatchType) -> Self
Specify the type of matching to get similar profiles for.
This field is required.sourcepub fn set_match_type(self, input: Option<MatchType>) -> Self
pub fn set_match_type(self, input: Option<MatchType>) -> Self
Specify the type of matching to get similar profiles for.
sourcepub fn get_match_type(&self) -> &Option<MatchType>
pub fn get_match_type(&self) -> &Option<MatchType>
Specify the type of matching to get similar profiles for.
sourcepub fn search_key(self, input: impl Into<String>) -> Self
pub fn search_key(self, input: impl Into<String>) -> Self
The string indicating the search key to be used.
This field is required.sourcepub fn set_search_key(self, input: Option<String>) -> Self
pub fn set_search_key(self, input: Option<String>) -> Self
The string indicating the search key to be used.
sourcepub fn get_search_key(&self) -> &Option<String>
pub fn get_search_key(&self) -> &Option<String>
The string indicating the search key to be used.
sourcepub fn search_value(self, input: impl Into<String>) -> Self
pub fn search_value(self, input: impl Into<String>) -> Self
The string based on SearchKey
to be searched for similar profiles.
sourcepub fn set_search_value(self, input: Option<String>) -> Self
pub fn set_search_value(self, input: Option<String>) -> Self
The string based on SearchKey
to be searched for similar profiles.
sourcepub fn get_search_value(&self) -> &Option<String>
pub fn get_search_value(&self) -> &Option<String>
The string based on SearchKey
to be searched for similar profiles.
sourcepub fn build(self) -> Result<GetSimilarProfilesInput, BuildError>
pub fn build(self) -> Result<GetSimilarProfilesInput, BuildError>
Consumes the builder and constructs a GetSimilarProfilesInput
.
source§impl GetSimilarProfilesInputBuilder
impl GetSimilarProfilesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetSimilarProfilesOutput, SdkError<GetSimilarProfilesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetSimilarProfilesOutput, SdkError<GetSimilarProfilesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetSimilarProfilesInputBuilder
impl Clone for GetSimilarProfilesInputBuilder
source§fn clone(&self) -> GetSimilarProfilesInputBuilder
fn clone(&self) -> GetSimilarProfilesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetSimilarProfilesInputBuilder
impl Default for GetSimilarProfilesInputBuilder
source§fn default() -> GetSimilarProfilesInputBuilder
fn default() -> GetSimilarProfilesInputBuilder
source§impl PartialEq for GetSimilarProfilesInputBuilder
impl PartialEq for GetSimilarProfilesInputBuilder
source§fn eq(&self, other: &GetSimilarProfilesInputBuilder) -> bool
fn eq(&self, other: &GetSimilarProfilesInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetSimilarProfilesInputBuilder
Auto Trait Implementations§
impl Freeze for GetSimilarProfilesInputBuilder
impl RefUnwindSafe for GetSimilarProfilesInputBuilder
impl Send for GetSimilarProfilesInputBuilder
impl Sync for GetSimilarProfilesInputBuilder
impl Unpin for GetSimilarProfilesInputBuilder
impl UnwindSafe for GetSimilarProfilesInputBuilder
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