AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ThingIndexingConfiguration.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/model/ThingIndexingMode.h>
9#include <aws/iot/model/ThingConnectivityIndexingMode.h>
10#include <aws/iot/model/DeviceDefenderIndexingMode.h>
11#include <aws/iot/model/NamedShadowIndexingMode.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/iot/model/IndexingFilter.h>
14#include <aws/iot/model/Field.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace IoT
28{
29namespace Model
30{
31
40 {
41 public:
46
47
49
55 inline const ThingIndexingMode& GetThingIndexingMode() const{ return m_thingIndexingMode; }
56 inline bool ThingIndexingModeHasBeenSet() const { return m_thingIndexingModeHasBeenSet; }
57 inline void SetThingIndexingMode(const ThingIndexingMode& value) { m_thingIndexingModeHasBeenSet = true; m_thingIndexingMode = value; }
58 inline void SetThingIndexingMode(ThingIndexingMode&& value) { m_thingIndexingModeHasBeenSet = true; m_thingIndexingMode = std::move(value); }
62
64
70 inline const ThingConnectivityIndexingMode& GetThingConnectivityIndexingMode() const{ return m_thingConnectivityIndexingMode; }
71 inline bool ThingConnectivityIndexingModeHasBeenSet() const { return m_thingConnectivityIndexingModeHasBeenSet; }
72 inline void SetThingConnectivityIndexingMode(const ThingConnectivityIndexingMode& value) { m_thingConnectivityIndexingModeHasBeenSet = true; m_thingConnectivityIndexingMode = value; }
73 inline void SetThingConnectivityIndexingMode(ThingConnectivityIndexingMode&& value) { m_thingConnectivityIndexingModeHasBeenSet = true; m_thingConnectivityIndexingMode = std::move(value); }
77
79
88 inline const DeviceDefenderIndexingMode& GetDeviceDefenderIndexingMode() const{ return m_deviceDefenderIndexingMode; }
89 inline bool DeviceDefenderIndexingModeHasBeenSet() const { return m_deviceDefenderIndexingModeHasBeenSet; }
90 inline void SetDeviceDefenderIndexingMode(const DeviceDefenderIndexingMode& value) { m_deviceDefenderIndexingModeHasBeenSet = true; m_deviceDefenderIndexingMode = value; }
91 inline void SetDeviceDefenderIndexingMode(DeviceDefenderIndexingMode&& value) { m_deviceDefenderIndexingModeHasBeenSet = true; m_deviceDefenderIndexingMode = std::move(value); }
95
97
106 inline const NamedShadowIndexingMode& GetNamedShadowIndexingMode() const{ return m_namedShadowIndexingMode; }
107 inline bool NamedShadowIndexingModeHasBeenSet() const { return m_namedShadowIndexingModeHasBeenSet; }
108 inline void SetNamedShadowIndexingMode(const NamedShadowIndexingMode& value) { m_namedShadowIndexingModeHasBeenSet = true; m_namedShadowIndexingMode = value; }
109 inline void SetNamedShadowIndexingMode(NamedShadowIndexingMode&& value) { m_namedShadowIndexingModeHasBeenSet = true; m_namedShadowIndexingMode = std::move(value); }
113
115
123 inline const Aws::Vector<Field>& GetManagedFields() const{ return m_managedFields; }
124 inline bool ManagedFieldsHasBeenSet() const { return m_managedFieldsHasBeenSet; }
125 inline void SetManagedFields(const Aws::Vector<Field>& value) { m_managedFieldsHasBeenSet = true; m_managedFields = value; }
126 inline void SetManagedFields(Aws::Vector<Field>&& value) { m_managedFieldsHasBeenSet = true; m_managedFields = std::move(value); }
128 inline ThingIndexingConfiguration& WithManagedFields(Aws::Vector<Field>&& value) { SetManagedFields(std::move(value)); return *this;}
129 inline ThingIndexingConfiguration& AddManagedFields(const Field& value) { m_managedFieldsHasBeenSet = true; m_managedFields.push_back(value); return *this; }
130 inline ThingIndexingConfiguration& AddManagedFields(Field&& value) { m_managedFieldsHasBeenSet = true; m_managedFields.push_back(std::move(value)); return *this; }
132
134
137 inline const Aws::Vector<Field>& GetCustomFields() const{ return m_customFields; }
138 inline bool CustomFieldsHasBeenSet() const { return m_customFieldsHasBeenSet; }
139 inline void SetCustomFields(const Aws::Vector<Field>& value) { m_customFieldsHasBeenSet = true; m_customFields = value; }
140 inline void SetCustomFields(Aws::Vector<Field>&& value) { m_customFieldsHasBeenSet = true; m_customFields = std::move(value); }
142 inline ThingIndexingConfiguration& WithCustomFields(Aws::Vector<Field>&& value) { SetCustomFields(std::move(value)); return *this;}
143 inline ThingIndexingConfiguration& AddCustomFields(const Field& value) { m_customFieldsHasBeenSet = true; m_customFields.push_back(value); return *this; }
144 inline ThingIndexingConfiguration& AddCustomFields(Field&& value) { m_customFieldsHasBeenSet = true; m_customFields.push_back(std::move(value)); return *this; }
146
148
164 inline const IndexingFilter& GetFilter() const{ return m_filter; }
165 inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
166 inline void SetFilter(const IndexingFilter& value) { m_filterHasBeenSet = true; m_filter = value; }
167 inline void SetFilter(IndexingFilter&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); }
168 inline ThingIndexingConfiguration& WithFilter(const IndexingFilter& value) { SetFilter(value); return *this;}
169 inline ThingIndexingConfiguration& WithFilter(IndexingFilter&& value) { SetFilter(std::move(value)); return *this;}
171 private:
172
173 ThingIndexingMode m_thingIndexingMode;
174 bool m_thingIndexingModeHasBeenSet = false;
175
176 ThingConnectivityIndexingMode m_thingConnectivityIndexingMode;
177 bool m_thingConnectivityIndexingModeHasBeenSet = false;
178
179 DeviceDefenderIndexingMode m_deviceDefenderIndexingMode;
180 bool m_deviceDefenderIndexingModeHasBeenSet = false;
181
182 NamedShadowIndexingMode m_namedShadowIndexingMode;
183 bool m_namedShadowIndexingModeHasBeenSet = false;
184
185 Aws::Vector<Field> m_managedFields;
186 bool m_managedFieldsHasBeenSet = false;
187
188 Aws::Vector<Field> m_customFields;
189 bool m_customFieldsHasBeenSet = false;
190
191 IndexingFilter m_filter;
192 bool m_filterHasBeenSet = false;
193 };
194
195} // namespace Model
196} // namespace IoT
197} // namespace Aws
void SetThingIndexingMode(const ThingIndexingMode &value)
void SetNamedShadowIndexingMode(const NamedShadowIndexingMode &value)
ThingIndexingConfiguration & WithCustomFields(Aws::Vector< Field > &&value)
const Aws::Vector< Field > & GetCustomFields() const
ThingIndexingConfiguration & WithThingConnectivityIndexingMode(ThingConnectivityIndexingMode &&value)
ThingIndexingConfiguration & WithThingConnectivityIndexingMode(const ThingConnectivityIndexingMode &value)
ThingIndexingConfiguration & WithDeviceDefenderIndexingMode(DeviceDefenderIndexingMode &&value)
ThingIndexingConfiguration & WithManagedFields(Aws::Vector< Field > &&value)
ThingIndexingConfiguration & WithNamedShadowIndexingMode(const NamedShadowIndexingMode &value)
ThingIndexingConfiguration & AddManagedFields(const Field &value)
ThingIndexingConfiguration & WithFilter(const IndexingFilter &value)
ThingIndexingConfiguration & WithThingIndexingMode(const ThingIndexingMode &value)
void SetManagedFields(const Aws::Vector< Field > &value)
ThingIndexingConfiguration & WithManagedFields(const Aws::Vector< Field > &value)
const Aws::Vector< Field > & GetManagedFields() const
void SetManagedFields(Aws::Vector< Field > &&value)
ThingIndexingConfiguration & AddCustomFields(Field &&value)
ThingIndexingConfiguration & WithNamedShadowIndexingMode(NamedShadowIndexingMode &&value)
ThingIndexingConfiguration & WithFilter(IndexingFilter &&value)
const DeviceDefenderIndexingMode & GetDeviceDefenderIndexingMode() const
void SetDeviceDefenderIndexingMode(const DeviceDefenderIndexingMode &value)
AWS_IOT_API ThingIndexingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetNamedShadowIndexingMode(NamedShadowIndexingMode &&value)
void SetCustomFields(const Aws::Vector< Field > &value)
ThingIndexingConfiguration & WithThingIndexingMode(ThingIndexingMode &&value)
const ThingConnectivityIndexingMode & GetThingConnectivityIndexingMode() const
ThingIndexingConfiguration & AddCustomFields(const Field &value)
ThingIndexingConfiguration & WithDeviceDefenderIndexingMode(const DeviceDefenderIndexingMode &value)
void SetDeviceDefenderIndexingMode(DeviceDefenderIndexingMode &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
ThingIndexingConfiguration & AddManagedFields(Field &&value)
void SetThingConnectivityIndexingMode(const ThingConnectivityIndexingMode &value)
const ThingIndexingMode & GetThingIndexingMode() const
AWS_IOT_API ThingIndexingConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetThingConnectivityIndexingMode(ThingConnectivityIndexingMode &&value)
const NamedShadowIndexingMode & GetNamedShadowIndexingMode() const
ThingIndexingConfiguration & WithCustomFields(const Aws::Vector< Field > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue