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>
117 template<
typename ManagedFieldsT = Aws::Vector<Field>>
118 void SetManagedFields(ManagedFieldsT&& value) { m_managedFieldsHasBeenSet =
true; m_managedFields = std::forward<ManagedFieldsT>(value); }
119 template<
typename ManagedFieldsT = Aws::Vector<Field>>
121 template<
typename ManagedFieldsT = Field>
131 template<
typename CustomFieldsT = Aws::Vector<Field>>
132 void SetCustomFields(CustomFieldsT&& value) { m_customFieldsHasBeenSet =
true; m_customFields = std::forward<CustomFieldsT>(value); }
133 template<
typename CustomFieldsT = Aws::Vector<Field>>
135 template<
typename CustomFieldsT = Field>
158 template<
typename FilterT = IndexingFilter>
159 void SetFilter(FilterT&& value) { m_filterHasBeenSet =
true; m_filter = std::forward<FilterT>(value); }
160 template<
typename FilterT = IndexingFilter>
166 bool m_thingIndexingModeHasBeenSet =
false;
169 bool m_thingConnectivityIndexingModeHasBeenSet =
false;
172 bool m_deviceDefenderIndexingModeHasBeenSet =
false;
175 bool m_namedShadowIndexingModeHasBeenSet =
false;
178 bool m_managedFieldsHasBeenSet =
false;
181 bool m_customFieldsHasBeenSet =
false;
183 IndexingFilter m_filter;
184 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