AWS SDK for C++  1.9.129
AWS SDK for C++
UpdateIndexingConfigurationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
8 #include <aws/iot/IoTRequest.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace IoT
16 {
17 namespace Model
18 {
19 
23  {
24  public:
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::String SerializePayload() const override;
34 
35 
39  inline const ThingIndexingConfiguration& GetThingIndexingConfiguration() const{ return m_thingIndexingConfiguration; }
40 
44  inline bool ThingIndexingConfigurationHasBeenSet() const { return m_thingIndexingConfigurationHasBeenSet; }
45 
49  inline void SetThingIndexingConfiguration(const ThingIndexingConfiguration& value) { m_thingIndexingConfigurationHasBeenSet = true; m_thingIndexingConfiguration = value; }
50 
54  inline void SetThingIndexingConfiguration(ThingIndexingConfiguration&& value) { m_thingIndexingConfigurationHasBeenSet = true; m_thingIndexingConfiguration = std::move(value); }
55 
59  inline UpdateIndexingConfigurationRequest& WithThingIndexingConfiguration(const ThingIndexingConfiguration& value) { SetThingIndexingConfiguration(value); return *this;}
60 
64  inline UpdateIndexingConfigurationRequest& WithThingIndexingConfiguration(ThingIndexingConfiguration&& value) { SetThingIndexingConfiguration(std::move(value)); return *this;}
65 
66 
70  inline const ThingGroupIndexingConfiguration& GetThingGroupIndexingConfiguration() const{ return m_thingGroupIndexingConfiguration; }
71 
75  inline bool ThingGroupIndexingConfigurationHasBeenSet() const { return m_thingGroupIndexingConfigurationHasBeenSet; }
76 
80  inline void SetThingGroupIndexingConfiguration(const ThingGroupIndexingConfiguration& value) { m_thingGroupIndexingConfigurationHasBeenSet = true; m_thingGroupIndexingConfiguration = value; }
81 
85  inline void SetThingGroupIndexingConfiguration(ThingGroupIndexingConfiguration&& value) { m_thingGroupIndexingConfigurationHasBeenSet = true; m_thingGroupIndexingConfiguration = std::move(value); }
86 
90  inline UpdateIndexingConfigurationRequest& WithThingGroupIndexingConfiguration(const ThingGroupIndexingConfiguration& value) { SetThingGroupIndexingConfiguration(value); return *this;}
91 
95  inline UpdateIndexingConfigurationRequest& WithThingGroupIndexingConfiguration(ThingGroupIndexingConfiguration&& value) { SetThingGroupIndexingConfiguration(std::move(value)); return *this;}
96 
97  private:
98 
99  ThingIndexingConfiguration m_thingIndexingConfiguration;
100  bool m_thingIndexingConfigurationHasBeenSet;
101 
102  ThingGroupIndexingConfiguration m_thingGroupIndexingConfiguration;
103  bool m_thingGroupIndexingConfigurationHasBeenSet;
104  };
105 
106 } // namespace Model
107 } // namespace IoT
108 } // namespace Aws
Aws::IoT::Model::UpdateIndexingConfigurationRequest::SetThingGroupIndexingConfiguration
void SetThingGroupIndexingConfiguration(ThingGroupIndexingConfiguration &&value)
Definition: UpdateIndexingConfigurationRequest.h:85
Aws::IoT::Model::UpdateIndexingConfigurationRequest::SetThingIndexingConfiguration
void SetThingIndexingConfiguration(ThingIndexingConfiguration &&value)
Definition: UpdateIndexingConfigurationRequest.h:54
Aws::IoT::Model::UpdateIndexingConfigurationRequest::WithThingIndexingConfiguration
UpdateIndexingConfigurationRequest & WithThingIndexingConfiguration(ThingIndexingConfiguration &&value)
Definition: UpdateIndexingConfigurationRequest.h:64
Aws::IoT::Model::UpdateIndexingConfigurationRequest::WithThingGroupIndexingConfiguration
UpdateIndexingConfigurationRequest & WithThingGroupIndexingConfiguration(const ThingGroupIndexingConfiguration &value)
Definition: UpdateIndexingConfigurationRequest.h:90
Aws::IoT::Model::ThingIndexingConfiguration
Definition: ThingIndexingConfiguration.h:37
Aws::IoT::Model::UpdateIndexingConfigurationRequest::GetThingIndexingConfiguration
const ThingIndexingConfiguration & GetThingIndexingConfiguration() const
Definition: UpdateIndexingConfigurationRequest.h:39
Aws::IoT::Model::UpdateIndexingConfigurationRequest::SetThingIndexingConfiguration
void SetThingIndexingConfiguration(const ThingIndexingConfiguration &value)
Definition: UpdateIndexingConfigurationRequest.h:49
Aws::IoT::Model::UpdateIndexingConfigurationRequest::GetThingGroupIndexingConfiguration
const ThingGroupIndexingConfiguration & GetThingGroupIndexingConfiguration() const
Definition: UpdateIndexingConfigurationRequest.h:70
Aws::IoT::Model::UpdateIndexingConfigurationRequest
Definition: UpdateIndexingConfigurationRequest.h:23
Aws::IoT::Model::UpdateIndexingConfigurationRequest::ThingGroupIndexingConfigurationHasBeenSet
bool ThingGroupIndexingConfigurationHasBeenSet() const
Definition: UpdateIndexingConfigurationRequest.h:75
Aws::IoT::Model::ThingGroupIndexingConfiguration
Definition: ThingGroupIndexingConfiguration.h:34
Aws::IoT::Model::UpdateIndexingConfigurationRequest::ThingIndexingConfigurationHasBeenSet
bool ThingIndexingConfigurationHasBeenSet() const
Definition: UpdateIndexingConfigurationRequest.h:44
Aws::IoT::IoTRequest
Definition: IoTRequest.h:17
ThingGroupIndexingConfiguration.h
Aws::IoT::Model::UpdateIndexingConfigurationRequest::UpdateIndexingConfigurationRequest
UpdateIndexingConfigurationRequest()
Aws::IoT::Model::UpdateIndexingConfigurationRequest::SetThingGroupIndexingConfiguration
void SetThingGroupIndexingConfiguration(const ThingGroupIndexingConfiguration &value)
Definition: UpdateIndexingConfigurationRequest.h:80
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::UpdateIndexingConfigurationRequest::WithThingIndexingConfiguration
UpdateIndexingConfigurationRequest & WithThingIndexingConfiguration(const ThingIndexingConfiguration &value)
Definition: UpdateIndexingConfigurationRequest.h:59
ThingIndexingConfiguration.h
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
IoTRequest.h
Aws::IoT::Model::UpdateIndexingConfigurationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateIndexingConfigurationRequest.h:31
Aws::IoT::Model::UpdateIndexingConfigurationRequest::WithThingGroupIndexingConfiguration
UpdateIndexingConfigurationRequest & WithThingGroupIndexingConfiguration(ThingGroupIndexingConfiguration &&value)
Definition: UpdateIndexingConfigurationRequest.h:95
IoT_EXPORTS.h
Aws::IoT::Model::UpdateIndexingConfigurationRequest::SerializePayload
Aws::String SerializePayload() const override