AWS SDK for C++  1.9.132
AWS SDK for C++
AddThingsToThingGroupParams.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace IoT
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
47  inline const Aws::Vector<Aws::String>& GetThingGroupNames() const{ return m_thingGroupNames; }
48 
54  inline bool ThingGroupNamesHasBeenSet() const { return m_thingGroupNamesHasBeenSet; }
55 
61  inline void SetThingGroupNames(const Aws::Vector<Aws::String>& value) { m_thingGroupNamesHasBeenSet = true; m_thingGroupNames = value; }
62 
68  inline void SetThingGroupNames(Aws::Vector<Aws::String>&& value) { m_thingGroupNamesHasBeenSet = true; m_thingGroupNames = std::move(value); }
69 
75  inline AddThingsToThingGroupParams& WithThingGroupNames(const Aws::Vector<Aws::String>& value) { SetThingGroupNames(value); return *this;}
76 
82  inline AddThingsToThingGroupParams& WithThingGroupNames(Aws::Vector<Aws::String>&& value) { SetThingGroupNames(std::move(value)); return *this;}
83 
89  inline AddThingsToThingGroupParams& AddThingGroupNames(const Aws::String& value) { m_thingGroupNamesHasBeenSet = true; m_thingGroupNames.push_back(value); return *this; }
90 
96  inline AddThingsToThingGroupParams& AddThingGroupNames(Aws::String&& value) { m_thingGroupNamesHasBeenSet = true; m_thingGroupNames.push_back(std::move(value)); return *this; }
97 
103  inline AddThingsToThingGroupParams& AddThingGroupNames(const char* value) { m_thingGroupNamesHasBeenSet = true; m_thingGroupNames.push_back(value); return *this; }
104 
105 
110  inline bool GetOverrideDynamicGroups() const{ return m_overrideDynamicGroups; }
111 
116  inline bool OverrideDynamicGroupsHasBeenSet() const { return m_overrideDynamicGroupsHasBeenSet; }
117 
122  inline void SetOverrideDynamicGroups(bool value) { m_overrideDynamicGroupsHasBeenSet = true; m_overrideDynamicGroups = value; }
123 
128  inline AddThingsToThingGroupParams& WithOverrideDynamicGroups(bool value) { SetOverrideDynamicGroups(value); return *this;}
129 
130  private:
131 
132  Aws::Vector<Aws::String> m_thingGroupNames;
133  bool m_thingGroupNamesHasBeenSet;
134 
135  bool m_overrideDynamicGroups;
136  bool m_overrideDynamicGroupsHasBeenSet;
137  };
138 
139 } // namespace Model
140 } // namespace IoT
141 } // namespace Aws
Aws::IoT::Model::AddThingsToThingGroupParams::GetOverrideDynamicGroups
bool GetOverrideDynamicGroups() const
Definition: AddThingsToThingGroupParams.h:110
Aws::IoT::Model::AddThingsToThingGroupParams
Definition: AddThingsToThingGroupParams.h:34
Aws::IoT::Model::AddThingsToThingGroupParams::AddThingGroupNames
AddThingsToThingGroupParams & AddThingGroupNames(const char *value)
Definition: AddThingsToThingGroupParams.h:103
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::IoT::Model::AddThingsToThingGroupParams::SetOverrideDynamicGroups
void SetOverrideDynamicGroups(bool value)
Definition: AddThingsToThingGroupParams.h:122
AWSVector.h
Aws::IoT::Model::AddThingsToThingGroupParams::AddThingGroupNames
AddThingsToThingGroupParams & AddThingGroupNames(Aws::String &&value)
Definition: AddThingsToThingGroupParams.h:96
Aws::IoT::Model::AddThingsToThingGroupParams::SetThingGroupNames
void SetThingGroupNames(Aws::Vector< Aws::String > &&value)
Definition: AddThingsToThingGroupParams.h:68
Aws::IoT::Model::AddThingsToThingGroupParams::WithThingGroupNames
AddThingsToThingGroupParams & WithThingGroupNames(Aws::Vector< Aws::String > &&value)
Definition: AddThingsToThingGroupParams.h:82
Aws::IoT::Model::AddThingsToThingGroupParams::AddThingsToThingGroupParams
AddThingsToThingGroupParams(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::IoT::Model::AddThingsToThingGroupParams::GetThingGroupNames
const Aws::Vector< Aws::String > & GetThingGroupNames() const
Definition: AddThingsToThingGroupParams.h:47
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::AddThingsToThingGroupParams::operator=
AddThingsToThingGroupParams & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::AddThingsToThingGroupParams::WithThingGroupNames
AddThingsToThingGroupParams & WithThingGroupNames(const Aws::Vector< Aws::String > &value)
Definition: AddThingsToThingGroupParams.h:75
Aws::IoT::Model::AddThingsToThingGroupParams::SetThingGroupNames
void SetThingGroupNames(const Aws::Vector< Aws::String > &value)
Definition: AddThingsToThingGroupParams.h:61
Aws::IoT::Model::AddThingsToThingGroupParams::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::AddThingsToThingGroupParams::AddThingGroupNames
AddThingsToThingGroupParams & AddThingGroupNames(const Aws::String &value)
Definition: AddThingsToThingGroupParams.h:89
Aws::IoT::Model::AddThingsToThingGroupParams::WithOverrideDynamicGroups
AddThingsToThingGroupParams & WithOverrideDynamicGroups(bool value)
Definition: AddThingsToThingGroupParams.h:128
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::AddThingsToThingGroupParams::OverrideDynamicGroupsHasBeenSet
bool OverrideDynamicGroupsHasBeenSet() const
Definition: AddThingsToThingGroupParams.h:116
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::AddThingsToThingGroupParams::AddThingsToThingGroupParams
AddThingsToThingGroupParams()
Aws::IoT::Model::AddThingsToThingGroupParams::ThingGroupNamesHasBeenSet
bool ThingGroupNamesHasBeenSet() const
Definition: AddThingsToThingGroupParams.h:54
IoT_EXPORTS.h