Struct aws_sdk_connect::types::ControlPlaneTagFilter
source · #[non_exhaustive]pub struct ControlPlaneTagFilter {
pub or_conditions: Option<Vec<Vec<TagCondition>>>,
pub and_conditions: Option<Vec<TagCondition>>,
pub tag_condition: Option<TagCondition>,
}
Expand description
An object that can be used to specify Tag conditions inside the SearchFilter
. This accepts an OR
of AND
(List of List) input where:
-
Top level list specifies conditions that need to be applied with
OR
operator -
Inner list specifies conditions that need to be applied with
AND
operator.
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.or_conditions: Option<Vec<Vec<TagCondition>>>
A list of conditions which would be applied together with an OR
condition.
and_conditions: Option<Vec<TagCondition>>
A list of conditions which would be applied together with an AND
condition.
tag_condition: Option<TagCondition>
A leaf node condition which can be used to specify a tag condition.
Implementations§
source§impl ControlPlaneTagFilter
impl ControlPlaneTagFilter
sourcepub fn or_conditions(&self) -> &[Vec<TagCondition>]
pub fn or_conditions(&self) -> &[Vec<TagCondition>]
A list of conditions which would be applied together with an OR
condition.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .or_conditions.is_none()
.
sourcepub fn and_conditions(&self) -> &[TagCondition]
pub fn and_conditions(&self) -> &[TagCondition]
A list of conditions which would be applied together with an AND
condition.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .and_conditions.is_none()
.
sourcepub fn tag_condition(&self) -> Option<&TagCondition>
pub fn tag_condition(&self) -> Option<&TagCondition>
A leaf node condition which can be used to specify a tag condition.
source§impl ControlPlaneTagFilter
impl ControlPlaneTagFilter
sourcepub fn builder() -> ControlPlaneTagFilterBuilder
pub fn builder() -> ControlPlaneTagFilterBuilder
Creates a new builder-style object to manufacture ControlPlaneTagFilter
.
Trait Implementations§
source§impl Clone for ControlPlaneTagFilter
impl Clone for ControlPlaneTagFilter
source§fn clone(&self) -> ControlPlaneTagFilter
fn clone(&self) -> ControlPlaneTagFilter
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ControlPlaneTagFilter
impl Debug for ControlPlaneTagFilter
source§impl PartialEq for ControlPlaneTagFilter
impl PartialEq for ControlPlaneTagFilter
source§fn eq(&self, other: &ControlPlaneTagFilter) -> bool
fn eq(&self, other: &ControlPlaneTagFilter) -> bool
self
and other
values to be equal, and is used
by ==
.