Struct aws_sdk_iot::operation::update_thing_groups_for_thing::UpdateThingGroupsForThingInput
source · #[non_exhaustive]pub struct UpdateThingGroupsForThingInput {
pub thing_name: Option<String>,
pub thing_groups_to_add: Option<Vec<String>>,
pub thing_groups_to_remove: Option<Vec<String>>,
pub override_dynamic_groups: Option<bool>,
}
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_name: Option<String>
The thing whose group memberships will be updated.
thing_groups_to_add: Option<Vec<String>>
The groups to which the thing will be added.
thing_groups_to_remove: Option<Vec<String>>
The groups from which the thing will be removed.
override_dynamic_groups: Option<bool>
Override dynamic thing groups with static thing groups when 10-group limit is reached. If a thing belongs to 10 thing groups, and one or more of those groups are dynamic thing groups, adding a thing to a static group removes the thing from the last dynamic group.
Implementations§
source§impl UpdateThingGroupsForThingInput
impl UpdateThingGroupsForThingInput
sourcepub fn thing_name(&self) -> Option<&str>
pub fn thing_name(&self) -> Option<&str>
The thing whose group memberships will be updated.
sourcepub fn thing_groups_to_add(&self) -> &[String]
pub fn thing_groups_to_add(&self) -> &[String]
The groups to which the thing will be added.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .thing_groups_to_add.is_none()
.
sourcepub fn thing_groups_to_remove(&self) -> &[String]
pub fn thing_groups_to_remove(&self) -> &[String]
The groups from which the thing will be removed.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .thing_groups_to_remove.is_none()
.
sourcepub fn override_dynamic_groups(&self) -> Option<bool>
pub fn override_dynamic_groups(&self) -> Option<bool>
Override dynamic thing groups with static thing groups when 10-group limit is reached. If a thing belongs to 10 thing groups, and one or more of those groups are dynamic thing groups, adding a thing to a static group removes the thing from the last dynamic group.
source§impl UpdateThingGroupsForThingInput
impl UpdateThingGroupsForThingInput
sourcepub fn builder() -> UpdateThingGroupsForThingInputBuilder
pub fn builder() -> UpdateThingGroupsForThingInputBuilder
Creates a new builder-style object to manufacture UpdateThingGroupsForThingInput
.
Trait Implementations§
source§impl Clone for UpdateThingGroupsForThingInput
impl Clone for UpdateThingGroupsForThingInput
source§fn clone(&self) -> UpdateThingGroupsForThingInput
fn clone(&self) -> UpdateThingGroupsForThingInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for UpdateThingGroupsForThingInput
impl PartialEq for UpdateThingGroupsForThingInput
source§fn eq(&self, other: &UpdateThingGroupsForThingInput) -> bool
fn eq(&self, other: &UpdateThingGroupsForThingInput) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UpdateThingGroupsForThingInput
Auto Trait Implementations§
impl Freeze for UpdateThingGroupsForThingInput
impl RefUnwindSafe for UpdateThingGroupsForThingInput
impl Send for UpdateThingGroupsForThingInput
impl Sync for UpdateThingGroupsForThingInput
impl Unpin for UpdateThingGroupsForThingInput
impl UnwindSafe for UpdateThingGroupsForThingInput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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