AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
AddThingsToThingGroupParams.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IoT
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IOT_API AddThingsToThingGroupParams() = default;
40
41
43
48 inline const Aws::Vector<Aws::String>& GetThingGroupNames() const { return m_thingGroupNames; }
49 inline bool ThingGroupNamesHasBeenSet() const { return m_thingGroupNamesHasBeenSet; }
50 template<typename ThingGroupNamesT = Aws::Vector<Aws::String>>
51 void SetThingGroupNames(ThingGroupNamesT&& value) { m_thingGroupNamesHasBeenSet = true; m_thingGroupNames = std::forward<ThingGroupNamesT>(value); }
52 template<typename ThingGroupNamesT = Aws::Vector<Aws::String>>
53 AddThingsToThingGroupParams& WithThingGroupNames(ThingGroupNamesT&& value) { SetThingGroupNames(std::forward<ThingGroupNamesT>(value)); return *this;}
54 template<typename ThingGroupNamesT = Aws::String>
55 AddThingsToThingGroupParams& AddThingGroupNames(ThingGroupNamesT&& value) { m_thingGroupNamesHasBeenSet = true; m_thingGroupNames.emplace_back(std::forward<ThingGroupNamesT>(value)); return *this; }
57
59
63 inline bool GetOverrideDynamicGroups() const { return m_overrideDynamicGroups; }
64 inline bool OverrideDynamicGroupsHasBeenSet() const { return m_overrideDynamicGroupsHasBeenSet; }
65 inline void SetOverrideDynamicGroups(bool value) { m_overrideDynamicGroupsHasBeenSet = true; m_overrideDynamicGroups = value; }
68 private:
69
70 Aws::Vector<Aws::String> m_thingGroupNames;
71 bool m_thingGroupNamesHasBeenSet = false;
72
73 bool m_overrideDynamicGroups{false};
74 bool m_overrideDynamicGroupsHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace IoT
79} // namespace Aws
AddThingsToThingGroupParams & WithThingGroupNames(ThingGroupNamesT &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetThingGroupNames() const
AWS_IOT_API AddThingsToThingGroupParams(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API AddThingsToThingGroupParams & operator=(Aws::Utils::Json::JsonView jsonValue)
AddThingsToThingGroupParams & AddThingGroupNames(ThingGroupNamesT &&value)
AWS_IOT_API AddThingsToThingGroupParams()=default
AddThingsToThingGroupParams & WithOverrideDynamicGroups(bool value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue