AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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