Struct aws_sdk_iot::types::AddThingsToThingGroupParams
source · #[non_exhaustive]pub struct AddThingsToThingGroupParams {
pub thing_group_names: Vec<String>,
pub override_dynamic_groups: Option<bool>,
}
Expand description
Parameters used when defining a mitigation action that move a set of things to a thing group.
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.thing_group_names: Vec<String>
The list of groups to which you want to add the things that triggered the mitigation action. You can add a thing to a maximum of 10 groups, but you can't add a thing to more than one group in the same hierarchy.
override_dynamic_groups: Option<bool>
Specifies if this mitigation action can move the things that triggered the mitigation action even if they are part of one or more dynamic thing groups.
Implementations§
source§impl AddThingsToThingGroupParams
impl AddThingsToThingGroupParams
sourcepub fn thing_group_names(&self) -> &[String]
pub fn thing_group_names(&self) -> &[String]
The list of groups to which you want to add the things that triggered the mitigation action. You can add a thing to a maximum of 10 groups, but you can't add a thing to more than one group in the same hierarchy.
sourcepub fn override_dynamic_groups(&self) -> Option<bool>
pub fn override_dynamic_groups(&self) -> Option<bool>
Specifies if this mitigation action can move the things that triggered the mitigation action even if they are part of one or more dynamic thing groups.
source§impl AddThingsToThingGroupParams
impl AddThingsToThingGroupParams
sourcepub fn builder() -> AddThingsToThingGroupParamsBuilder
pub fn builder() -> AddThingsToThingGroupParamsBuilder
Creates a new builder-style object to manufacture AddThingsToThingGroupParams
.
Trait Implementations§
source§impl Clone for AddThingsToThingGroupParams
impl Clone for AddThingsToThingGroupParams
source§fn clone(&self) -> AddThingsToThingGroupParams
fn clone(&self) -> AddThingsToThingGroupParams
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AddThingsToThingGroupParams
impl Debug for AddThingsToThingGroupParams
source§impl PartialEq for AddThingsToThingGroupParams
impl PartialEq for AddThingsToThingGroupParams
source§fn eq(&self, other: &AddThingsToThingGroupParams) -> bool
fn eq(&self, other: &AddThingsToThingGroupParams) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AddThingsToThingGroupParams
Auto Trait Implementations§
impl Freeze for AddThingsToThingGroupParams
impl RefUnwindSafe for AddThingsToThingGroupParams
impl Send for AddThingsToThingGroupParams
impl Sync for AddThingsToThingGroupParams
impl Unpin for AddThingsToThingGroupParams
impl UnwindSafe for AddThingsToThingGroupParams
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