Struct aws_sdk_wisdom::types::GroupingConfiguration
source · #[non_exhaustive]pub struct GroupingConfiguration {
pub criteria: Option<String>,
pub values: Option<Vec<String>>,
}
Expand description
The configuration information of the grouping of Wisdom users.
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.criteria: Option<String>
The criteria used for grouping Wisdom users.
The following is the list of supported criteria values.
-
RoutingProfileArn
: Grouping the users by their Amazon Connect routing profile ARN. User should have SearchRoutingProfile and DescribeRoutingProfile permissions when setting criteria to this value.
values: Option<Vec<String>>
The list of values that define different groups of Wisdom users.
-
When setting
criteria
toRoutingProfileArn
, you need to provide a list of ARNs of Amazon Connect routing profiles as values of this parameter.
Implementations§
source§impl GroupingConfiguration
impl GroupingConfiguration
sourcepub fn criteria(&self) -> Option<&str>
pub fn criteria(&self) -> Option<&str>
The criteria used for grouping Wisdom users.
The following is the list of supported criteria values.
-
RoutingProfileArn
: Grouping the users by their Amazon Connect routing profile ARN. User should have SearchRoutingProfile and DescribeRoutingProfile permissions when setting criteria to this value.
sourcepub fn values(&self) -> &[String]
pub fn values(&self) -> &[String]
The list of values that define different groups of Wisdom users.
-
When setting
criteria
toRoutingProfileArn
, you need to provide a list of ARNs of Amazon Connect routing profiles as values of this parameter.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .values.is_none()
.
source§impl GroupingConfiguration
impl GroupingConfiguration
sourcepub fn builder() -> GroupingConfigurationBuilder
pub fn builder() -> GroupingConfigurationBuilder
Creates a new builder-style object to manufacture GroupingConfiguration
.
Trait Implementations§
source§impl Clone for GroupingConfiguration
impl Clone for GroupingConfiguration
source§fn clone(&self) -> GroupingConfiguration
fn clone(&self) -> GroupingConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GroupingConfiguration
impl Debug for GroupingConfiguration
source§impl PartialEq for GroupingConfiguration
impl PartialEq for GroupingConfiguration
source§fn eq(&self, other: &GroupingConfiguration) -> bool
fn eq(&self, other: &GroupingConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GroupingConfiguration
Auto Trait Implementations§
impl Freeze for GroupingConfiguration
impl RefUnwindSafe for GroupingConfiguration
impl Send for GroupingConfiguration
impl Sync for GroupingConfiguration
impl Unpin for GroupingConfiguration
impl UnwindSafe for GroupingConfiguration
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