/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Parameters used when defining a mitigation action that move a set of things
* to a thing group.See Also:
AWS
* API Reference
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.
*/ inline const Aws::VectorThe 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.
*/ inline bool ThingGroupNamesHasBeenSet() const { return m_thingGroupNamesHasBeenSet; } /** *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.
*/ inline void SetThingGroupNames(const Aws::VectorThe 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.
*/ inline void SetThingGroupNames(Aws::VectorThe 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.
*/ inline AddThingsToThingGroupParams& WithThingGroupNames(const Aws::VectorThe 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.
*/ inline AddThingsToThingGroupParams& WithThingGroupNames(Aws::VectorThe 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.
*/ inline AddThingsToThingGroupParams& AddThingGroupNames(const Aws::String& value) { m_thingGroupNamesHasBeenSet = true; m_thingGroupNames.push_back(value); return *this; } /** *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.
*/ inline AddThingsToThingGroupParams& AddThingGroupNames(Aws::String&& value) { m_thingGroupNamesHasBeenSet = true; m_thingGroupNames.push_back(std::move(value)); return *this; } /** *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.
*/ inline AddThingsToThingGroupParams& AddThingGroupNames(const char* value) { m_thingGroupNamesHasBeenSet = true; m_thingGroupNames.push_back(value); return *this; } /** *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.
*/ inline bool GetOverrideDynamicGroups() const{ return m_overrideDynamicGroups; } /** *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.
*/ inline bool OverrideDynamicGroupsHasBeenSet() const { return m_overrideDynamicGroupsHasBeenSet; } /** *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.
*/ inline void SetOverrideDynamicGroups(bool value) { m_overrideDynamicGroupsHasBeenSet = true; m_overrideDynamicGroups = value; } /** *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.
*/ inline AddThingsToThingGroupParams& WithOverrideDynamicGroups(bool value) { SetOverrideDynamicGroups(value); return *this;} private: Aws::Vector