AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
40
41
43
48 inline const Aws::Vector<Aws::String>& GetThingGroupNames() const{ return m_thingGroupNames; }
49 inline bool ThingGroupNamesHasBeenSet() const { return m_thingGroupNamesHasBeenSet; }
50 inline void SetThingGroupNames(const Aws::Vector<Aws::String>& value) { m_thingGroupNamesHasBeenSet = true; m_thingGroupNames = value; }
51 inline void SetThingGroupNames(Aws::Vector<Aws::String>&& value) { m_thingGroupNamesHasBeenSet = true; m_thingGroupNames = std::move(value); }
54 inline AddThingsToThingGroupParams& AddThingGroupNames(const Aws::String& value) { m_thingGroupNamesHasBeenSet = true; m_thingGroupNames.push_back(value); return *this; }
55 inline AddThingsToThingGroupParams& AddThingGroupNames(Aws::String&& value) { m_thingGroupNamesHasBeenSet = true; m_thingGroupNames.push_back(std::move(value)); return *this; }
56 inline AddThingsToThingGroupParams& AddThingGroupNames(const char* value) { m_thingGroupNamesHasBeenSet = true; m_thingGroupNames.push_back(value); return *this; }
58
60
64 inline bool GetOverrideDynamicGroups() const{ return m_overrideDynamicGroups; }
65 inline bool OverrideDynamicGroupsHasBeenSet() const { return m_overrideDynamicGroupsHasBeenSet; }
66 inline void SetOverrideDynamicGroups(bool value) { m_overrideDynamicGroupsHasBeenSet = true; m_overrideDynamicGroups = value; }
69 private:
70
71 Aws::Vector<Aws::String> m_thingGroupNames;
72 bool m_thingGroupNamesHasBeenSet = false;
73
74 bool m_overrideDynamicGroups;
75 bool m_overrideDynamicGroupsHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace IoT
80} // namespace Aws
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)
AddThingsToThingGroupParams & AddThingGroupNames(Aws::String &&value)
void SetThingGroupNames(Aws::Vector< Aws::String > &&value)
AddThingsToThingGroupParams & WithThingGroupNames(const Aws::Vector< Aws::String > &value)
AWS_IOT_API AddThingsToThingGroupParams & operator=(Aws::Utils::Json::JsonView jsonValue)
AddThingsToThingGroupParams & AddThingGroupNames(const Aws::String &value)
AddThingsToThingGroupParams & WithThingGroupNames(Aws::Vector< Aws::String > &&value)
AddThingsToThingGroupParams & WithOverrideDynamicGroups(bool value)
void SetThingGroupNames(const Aws::Vector< Aws::String > &value)
AddThingsToThingGroupParams & AddThingGroupNames(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue