AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ThingGroupIndexingConfiguration.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/model/ThingGroupIndexingMode.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/iot/model/Field.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IoT
24{
25namespace Model
26{
27
34 {
35 public:
40
41
43
46 inline const ThingGroupIndexingMode& GetThingGroupIndexingMode() const{ return m_thingGroupIndexingMode; }
47 inline bool ThingGroupIndexingModeHasBeenSet() const { return m_thingGroupIndexingModeHasBeenSet; }
48 inline void SetThingGroupIndexingMode(const ThingGroupIndexingMode& value) { m_thingGroupIndexingModeHasBeenSet = true; m_thingGroupIndexingMode = value; }
49 inline void SetThingGroupIndexingMode(ThingGroupIndexingMode&& value) { m_thingGroupIndexingModeHasBeenSet = true; m_thingGroupIndexingMode = std::move(value); }
53
55
63 inline const Aws::Vector<Field>& GetManagedFields() const{ return m_managedFields; }
64 inline bool ManagedFieldsHasBeenSet() const { return m_managedFieldsHasBeenSet; }
65 inline void SetManagedFields(const Aws::Vector<Field>& value) { m_managedFieldsHasBeenSet = true; m_managedFields = value; }
66 inline void SetManagedFields(Aws::Vector<Field>&& value) { m_managedFieldsHasBeenSet = true; m_managedFields = std::move(value); }
68 inline ThingGroupIndexingConfiguration& WithManagedFields(Aws::Vector<Field>&& value) { SetManagedFields(std::move(value)); return *this;}
69 inline ThingGroupIndexingConfiguration& AddManagedFields(const Field& value) { m_managedFieldsHasBeenSet = true; m_managedFields.push_back(value); return *this; }
70 inline ThingGroupIndexingConfiguration& AddManagedFields(Field&& value) { m_managedFieldsHasBeenSet = true; m_managedFields.push_back(std::move(value)); return *this; }
72
74
79 inline const Aws::Vector<Field>& GetCustomFields() const{ return m_customFields; }
80 inline bool CustomFieldsHasBeenSet() const { return m_customFieldsHasBeenSet; }
81 inline void SetCustomFields(const Aws::Vector<Field>& value) { m_customFieldsHasBeenSet = true; m_customFields = value; }
82 inline void SetCustomFields(Aws::Vector<Field>&& value) { m_customFieldsHasBeenSet = true; m_customFields = std::move(value); }
84 inline ThingGroupIndexingConfiguration& WithCustomFields(Aws::Vector<Field>&& value) { SetCustomFields(std::move(value)); return *this;}
85 inline ThingGroupIndexingConfiguration& AddCustomFields(const Field& value) { m_customFieldsHasBeenSet = true; m_customFields.push_back(value); return *this; }
86 inline ThingGroupIndexingConfiguration& AddCustomFields(Field&& value) { m_customFieldsHasBeenSet = true; m_customFields.push_back(std::move(value)); return *this; }
88 private:
89
90 ThingGroupIndexingMode m_thingGroupIndexingMode;
91 bool m_thingGroupIndexingModeHasBeenSet = false;
92
93 Aws::Vector<Field> m_managedFields;
94 bool m_managedFieldsHasBeenSet = false;
95
96 Aws::Vector<Field> m_customFields;
97 bool m_customFieldsHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace IoT
102} // namespace Aws
ThingGroupIndexingConfiguration & AddManagedFields(Field &&value)
ThingGroupIndexingConfiguration & AddManagedFields(const Field &value)
ThingGroupIndexingConfiguration & WithCustomFields(Aws::Vector< Field > &&value)
AWS_IOT_API ThingGroupIndexingConfiguration(Aws::Utils::Json::JsonView jsonValue)
ThingGroupIndexingConfiguration & WithThingGroupIndexingMode(ThingGroupIndexingMode &&value)
void SetThingGroupIndexingMode(const ThingGroupIndexingMode &value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
ThingGroupIndexingConfiguration & WithManagedFields(Aws::Vector< Field > &&value)
ThingGroupIndexingConfiguration & WithThingGroupIndexingMode(const ThingGroupIndexingMode &value)
ThingGroupIndexingConfiguration & WithCustomFields(const Aws::Vector< Field > &value)
ThingGroupIndexingConfiguration & AddCustomFields(const Field &value)
const ThingGroupIndexingMode & GetThingGroupIndexingMode() const
ThingGroupIndexingConfiguration & WithManagedFields(const Aws::Vector< Field > &value)
ThingGroupIndexingConfiguration & AddCustomFields(Field &&value)
AWS_IOT_API ThingGroupIndexingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue