7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/iot/IoT_EXPORTS.h>
9#include <aws/iot/model/DeviceDefenderIndexingMode.h>
10#include <aws/iot/model/Field.h>
11#include <aws/iot/model/IndexingFilter.h>
12#include <aws/iot/model/NamedShadowIndexingMode.h>
13#include <aws/iot/model/ThingConnectivityIndexingMode.h>
14#include <aws/iot/model/ThingIndexingMode.h>
52 m_thingIndexingModeHasBeenSet =
true;
53 m_thingIndexingMode = value;
71 m_thingConnectivityIndexingModeHasBeenSet =
true;
72 m_thingConnectivityIndexingMode = value;
93 m_deviceDefenderIndexingModeHasBeenSet =
true;
94 m_deviceDefenderIndexingMode = value;
115 m_namedShadowIndexingModeHasBeenSet =
true;
116 m_namedShadowIndexingMode = value;
135 template <
typename ManagedFieldsT = Aws::Vector<Field>>
137 m_managedFieldsHasBeenSet =
true;
138 m_managedFields = std::forward<ManagedFieldsT>(value);
140 template <
typename ManagedFieldsT = Aws::Vector<Field>>
145 template <
typename ManagedFieldsT = Field>
147 m_managedFieldsHasBeenSet =
true;
148 m_managedFields.emplace_back(std::forward<ManagedFieldsT>(value));
159 template <
typename CustomFieldsT = Aws::Vector<Field>>
161 m_customFieldsHasBeenSet =
true;
162 m_customFields = std::forward<CustomFieldsT>(value);
164 template <
typename CustomFieldsT = Aws::Vector<Field>>
169 template <
typename CustomFieldsT = Field>
171 m_customFieldsHasBeenSet =
true;
172 m_customFields.emplace_back(std::forward<CustomFieldsT>(value));
196 template <
typename FilterT = IndexingFilter>
198 m_filterHasBeenSet =
true;
199 m_filter = std::forward<FilterT>(value);
201 template <
typename FilterT = IndexingFilter>
220 IndexingFilter m_filter;
221 bool m_thingIndexingModeHasBeenSet =
false;
222 bool m_thingConnectivityIndexingModeHasBeenSet =
false;
223 bool m_deviceDefenderIndexingModeHasBeenSet =
false;
224 bool m_namedShadowIndexingModeHasBeenSet =
false;
225 bool m_managedFieldsHasBeenSet =
false;
226 bool m_customFieldsHasBeenSet =
false;
227 bool m_filterHasBeenSet =
false;
ThingIndexingMode GetThingIndexingMode() const
const IndexingFilter & GetFilter() const
void SetDeviceDefenderIndexingMode(DeviceDefenderIndexingMode value)
const Aws::Vector< Field > & GetCustomFields() const
ThingIndexingConfiguration & WithManagedFields(ManagedFieldsT &&value)
ThingConnectivityIndexingMode GetThingConnectivityIndexingMode() const
ThingIndexingConfiguration & WithNamedShadowIndexingMode(NamedShadowIndexingMode value)
DeviceDefenderIndexingMode GetDeviceDefenderIndexingMode() const
ThingIndexingConfiguration & WithThingIndexingMode(ThingIndexingMode value)
void SetCustomFields(CustomFieldsT &&value)
ThingIndexingConfiguration & WithThingConnectivityIndexingMode(ThingConnectivityIndexingMode value)
void SetThingIndexingMode(ThingIndexingMode value)
const Aws::Vector< Field > & GetManagedFields() const
void SetManagedFields(ManagedFieldsT &&value)
bool ThingConnectivityIndexingModeHasBeenSet() const
bool FilterHasBeenSet() const
ThingIndexingConfiguration & WithCustomFields(CustomFieldsT &&value)
AWS_IOT_API ThingIndexingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ThingIndexingConfiguration & AddCustomFields(CustomFieldsT &&value)
bool NamedShadowIndexingModeHasBeenSet() const
void SetNamedShadowIndexingMode(NamedShadowIndexingMode value)
bool CustomFieldsHasBeenSet() const
NamedShadowIndexingMode GetNamedShadowIndexingMode() const
ThingIndexingConfiguration & WithFilter(FilterT &&value)
ThingIndexingConfiguration & WithDeviceDefenderIndexingMode(DeviceDefenderIndexingMode value)
bool ManagedFieldsHasBeenSet() const
bool ThingIndexingModeHasBeenSet() const
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
ThingIndexingConfiguration & AddManagedFields(ManagedFieldsT &&value)
void SetThingConnectivityIndexingMode(ThingConnectivityIndexingMode value)
void SetFilter(FilterT &&value)
bool DeviceDefenderIndexingModeHasBeenSet() const
AWS_IOT_API ThingIndexingConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API ThingIndexingConfiguration()=default
ThingConnectivityIndexingMode
DeviceDefenderIndexingMode
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue