AWS SDK for C++

AWS SDK for C++ Version 1.11.686

Loading...
Searching...
No Matches
UpdateIndexingConfigurationRequest.h
1
6#pragma once
7#include <aws/iot/IoTRequest.h>
8#include <aws/iot/IoT_EXPORTS.h>
9#include <aws/iot/model/ThingGroupIndexingConfiguration.h>
10#include <aws/iot/model/ThingIndexingConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace IoT {
16namespace Model {
17
21 public:
22 AWS_IOT_API UpdateIndexingConfigurationRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateIndexingConfiguration"; }
29
30 AWS_IOT_API Aws::String SerializePayload() const override;
31
33
36 inline const ThingIndexingConfiguration& GetThingIndexingConfiguration() const { return m_thingIndexingConfiguration; }
37 inline bool ThingIndexingConfigurationHasBeenSet() const { return m_thingIndexingConfigurationHasBeenSet; }
38 template <typename ThingIndexingConfigurationT = ThingIndexingConfiguration>
39 void SetThingIndexingConfiguration(ThingIndexingConfigurationT&& value) {
40 m_thingIndexingConfigurationHasBeenSet = true;
41 m_thingIndexingConfiguration = std::forward<ThingIndexingConfigurationT>(value);
42 }
43 template <typename ThingIndexingConfigurationT = ThingIndexingConfiguration>
45 SetThingIndexingConfiguration(std::forward<ThingIndexingConfigurationT>(value));
46 return *this;
47 }
49
51
54 inline const ThingGroupIndexingConfiguration& GetThingGroupIndexingConfiguration() const { return m_thingGroupIndexingConfiguration; }
55 inline bool ThingGroupIndexingConfigurationHasBeenSet() const { return m_thingGroupIndexingConfigurationHasBeenSet; }
56 template <typename ThingGroupIndexingConfigurationT = ThingGroupIndexingConfiguration>
57 void SetThingGroupIndexingConfiguration(ThingGroupIndexingConfigurationT&& value) {
58 m_thingGroupIndexingConfigurationHasBeenSet = true;
59 m_thingGroupIndexingConfiguration = std::forward<ThingGroupIndexingConfigurationT>(value);
60 }
61 template <typename ThingGroupIndexingConfigurationT = ThingGroupIndexingConfiguration>
63 SetThingGroupIndexingConfiguration(std::forward<ThingGroupIndexingConfigurationT>(value));
64 return *this;
65 }
67 private:
68 ThingIndexingConfiguration m_thingIndexingConfiguration;
69 bool m_thingIndexingConfigurationHasBeenSet = false;
70
71 ThingGroupIndexingConfiguration m_thingGroupIndexingConfiguration;
72 bool m_thingGroupIndexingConfigurationHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace IoT
77} // namespace Aws
void SetThingGroupIndexingConfiguration(ThingGroupIndexingConfigurationT &&value)
const ThingIndexingConfiguration & GetThingIndexingConfiguration() const
AWS_IOT_API Aws::String SerializePayload() const override
void SetThingIndexingConfiguration(ThingIndexingConfigurationT &&value)
const ThingGroupIndexingConfiguration & GetThingGroupIndexingConfiguration() const
UpdateIndexingConfigurationRequest & WithThingGroupIndexingConfiguration(ThingGroupIndexingConfigurationT &&value)
UpdateIndexingConfigurationRequest & WithThingIndexingConfiguration(ThingIndexingConfigurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String