AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateDynamicThingGroupRequest.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iot/model/ThingGroupProperties.h>
11#include <utility>
12
13namespace Aws
14{
15namespace IoT
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_IOT_API UpdateDynamicThingGroupRequest() = 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 "UpdateDynamicThingGroup"; }
32
33 AWS_IOT_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetThingGroupName() const { return m_thingGroupName; }
41 inline bool ThingGroupNameHasBeenSet() const { return m_thingGroupNameHasBeenSet; }
42 template<typename ThingGroupNameT = Aws::String>
43 void SetThingGroupName(ThingGroupNameT&& value) { m_thingGroupNameHasBeenSet = true; m_thingGroupName = std::forward<ThingGroupNameT>(value); }
44 template<typename ThingGroupNameT = Aws::String>
45 UpdateDynamicThingGroupRequest& WithThingGroupName(ThingGroupNameT&& value) { SetThingGroupName(std::forward<ThingGroupNameT>(value)); return *this;}
47
49
52 inline const ThingGroupProperties& GetThingGroupProperties() const { return m_thingGroupProperties; }
53 inline bool ThingGroupPropertiesHasBeenSet() const { return m_thingGroupPropertiesHasBeenSet; }
54 template<typename ThingGroupPropertiesT = ThingGroupProperties>
55 void SetThingGroupProperties(ThingGroupPropertiesT&& value) { m_thingGroupPropertiesHasBeenSet = true; m_thingGroupProperties = std::forward<ThingGroupPropertiesT>(value); }
56 template<typename ThingGroupPropertiesT = ThingGroupProperties>
57 UpdateDynamicThingGroupRequest& WithThingGroupProperties(ThingGroupPropertiesT&& value) { SetThingGroupProperties(std::forward<ThingGroupPropertiesT>(value)); return *this;}
59
61
64 inline long long GetExpectedVersion() const { return m_expectedVersion; }
65 inline bool ExpectedVersionHasBeenSet() const { return m_expectedVersionHasBeenSet; }
66 inline void SetExpectedVersion(long long value) { m_expectedVersionHasBeenSet = true; m_expectedVersion = value; }
67 inline UpdateDynamicThingGroupRequest& WithExpectedVersion(long long value) { SetExpectedVersion(value); return *this;}
69
71
75 inline const Aws::String& GetIndexName() const { return m_indexName; }
76 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
77 template<typename IndexNameT = Aws::String>
78 void SetIndexName(IndexNameT&& value) { m_indexNameHasBeenSet = true; m_indexName = std::forward<IndexNameT>(value); }
79 template<typename IndexNameT = Aws::String>
80 UpdateDynamicThingGroupRequest& WithIndexName(IndexNameT&& value) { SetIndexName(std::forward<IndexNameT>(value)); return *this;}
82
84
87 inline const Aws::String& GetQueryString() const { return m_queryString; }
88 inline bool QueryStringHasBeenSet() const { return m_queryStringHasBeenSet; }
89 template<typename QueryStringT = Aws::String>
90 void SetQueryString(QueryStringT&& value) { m_queryStringHasBeenSet = true; m_queryString = std::forward<QueryStringT>(value); }
91 template<typename QueryStringT = Aws::String>
92 UpdateDynamicThingGroupRequest& WithQueryString(QueryStringT&& value) { SetQueryString(std::forward<QueryStringT>(value)); return *this;}
94
96
101 inline const Aws::String& GetQueryVersion() const { return m_queryVersion; }
102 inline bool QueryVersionHasBeenSet() const { return m_queryVersionHasBeenSet; }
103 template<typename QueryVersionT = Aws::String>
104 void SetQueryVersion(QueryVersionT&& value) { m_queryVersionHasBeenSet = true; m_queryVersion = std::forward<QueryVersionT>(value); }
105 template<typename QueryVersionT = Aws::String>
106 UpdateDynamicThingGroupRequest& WithQueryVersion(QueryVersionT&& value) { SetQueryVersion(std::forward<QueryVersionT>(value)); return *this;}
108 private:
109
110 Aws::String m_thingGroupName;
111 bool m_thingGroupNameHasBeenSet = false;
112
113 ThingGroupProperties m_thingGroupProperties;
114 bool m_thingGroupPropertiesHasBeenSet = false;
115
116 long long m_expectedVersion{0};
117 bool m_expectedVersionHasBeenSet = false;
118
119 Aws::String m_indexName;
120 bool m_indexNameHasBeenSet = false;
121
122 Aws::String m_queryString;
123 bool m_queryStringHasBeenSet = false;
124
125 Aws::String m_queryVersion;
126 bool m_queryVersionHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace IoT
131} // namespace Aws
AWS_IOT_API Aws::String SerializePayload() const override
UpdateDynamicThingGroupRequest & WithThingGroupProperties(ThingGroupPropertiesT &&value)
virtual const char * GetServiceRequestName() const override
UpdateDynamicThingGroupRequest & WithQueryVersion(QueryVersionT &&value)
UpdateDynamicThingGroupRequest & WithIndexName(IndexNameT &&value)
UpdateDynamicThingGroupRequest & WithThingGroupName(ThingGroupNameT &&value)
UpdateDynamicThingGroupRequest & WithQueryString(QueryStringT &&value)
UpdateDynamicThingGroupRequest & WithExpectedVersion(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String