AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
GetPropertyValueRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/iottwinmaker/IoTTwinMakerRequest.h>
10#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
11#include <aws/iottwinmaker/model/TabularConditions.h>
12
13#include <utility>
14
15namespace Aws {
16namespace IoTTwinMaker {
17namespace Model {
18
22 public:
23 AWS_IOTTWINMAKER_API GetPropertyValueRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "GetPropertyValue"; }
30
31 AWS_IOTTWINMAKER_API Aws::String SerializePayload() const override;
32
34
37 inline const Aws::String& GetComponentName() const { return m_componentName; }
38 inline bool ComponentNameHasBeenSet() const { return m_componentNameHasBeenSet; }
39 template <typename ComponentNameT = Aws::String>
40 void SetComponentName(ComponentNameT&& value) {
41 m_componentNameHasBeenSet = true;
42 m_componentName = std::forward<ComponentNameT>(value);
43 }
44 template <typename ComponentNameT = Aws::String>
45 GetPropertyValueRequest& WithComponentName(ComponentNameT&& value) {
46 SetComponentName(std::forward<ComponentNameT>(value));
47 return *this;
48 }
50
52
56 inline const Aws::String& GetComponentPath() const { return m_componentPath; }
57 inline bool ComponentPathHasBeenSet() const { return m_componentPathHasBeenSet; }
58 template <typename ComponentPathT = Aws::String>
59 void SetComponentPath(ComponentPathT&& value) {
60 m_componentPathHasBeenSet = true;
61 m_componentPath = std::forward<ComponentPathT>(value);
62 }
63 template <typename ComponentPathT = Aws::String>
64 GetPropertyValueRequest& WithComponentPath(ComponentPathT&& value) {
65 SetComponentPath(std::forward<ComponentPathT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetComponentTypeId() const { return m_componentTypeId; }
75 inline bool ComponentTypeIdHasBeenSet() const { return m_componentTypeIdHasBeenSet; }
76 template <typename ComponentTypeIdT = Aws::String>
77 void SetComponentTypeId(ComponentTypeIdT&& value) {
78 m_componentTypeIdHasBeenSet = true;
79 m_componentTypeId = std::forward<ComponentTypeIdT>(value);
80 }
81 template <typename ComponentTypeIdT = Aws::String>
82 GetPropertyValueRequest& WithComponentTypeId(ComponentTypeIdT&& value) {
83 SetComponentTypeId(std::forward<ComponentTypeIdT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetEntityId() const { return m_entityId; }
93 inline bool EntityIdHasBeenSet() const { return m_entityIdHasBeenSet; }
94 template <typename EntityIdT = Aws::String>
95 void SetEntityId(EntityIdT&& value) {
96 m_entityIdHasBeenSet = true;
97 m_entityId = std::forward<EntityIdT>(value);
98 }
99 template <typename EntityIdT = Aws::String>
101 SetEntityId(std::forward<EntityIdT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::Vector<Aws::String>& GetSelectedProperties() const { return m_selectedProperties; }
111 inline bool SelectedPropertiesHasBeenSet() const { return m_selectedPropertiesHasBeenSet; }
112 template <typename SelectedPropertiesT = Aws::Vector<Aws::String>>
113 void SetSelectedProperties(SelectedPropertiesT&& value) {
114 m_selectedPropertiesHasBeenSet = true;
115 m_selectedProperties = std::forward<SelectedPropertiesT>(value);
116 }
117 template <typename SelectedPropertiesT = Aws::Vector<Aws::String>>
118 GetPropertyValueRequest& WithSelectedProperties(SelectedPropertiesT&& value) {
119 SetSelectedProperties(std::forward<SelectedPropertiesT>(value));
120 return *this;
121 }
122 template <typename SelectedPropertiesT = Aws::String>
123 GetPropertyValueRequest& AddSelectedProperties(SelectedPropertiesT&& value) {
124 m_selectedPropertiesHasBeenSet = true;
125 m_selectedProperties.emplace_back(std::forward<SelectedPropertiesT>(value));
126 return *this;
127 }
129
131
134 inline const Aws::String& GetWorkspaceId() const { return m_workspaceId; }
135 inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; }
136 template <typename WorkspaceIdT = Aws::String>
137 void SetWorkspaceId(WorkspaceIdT&& value) {
138 m_workspaceIdHasBeenSet = true;
139 m_workspaceId = std::forward<WorkspaceIdT>(value);
140 }
141 template <typename WorkspaceIdT = Aws::String>
143 SetWorkspaceId(std::forward<WorkspaceIdT>(value));
144 return *this;
145 }
147
149
153 inline int GetMaxResults() const { return m_maxResults; }
154 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
155 inline void SetMaxResults(int value) {
156 m_maxResultsHasBeenSet = true;
157 m_maxResults = value;
158 }
160 SetMaxResults(value);
161 return *this;
162 }
164
166
169 inline const Aws::String& GetNextToken() const { return m_nextToken; }
170 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
171 template <typename NextTokenT = Aws::String>
172 void SetNextToken(NextTokenT&& value) {
173 m_nextTokenHasBeenSet = true;
174 m_nextToken = std::forward<NextTokenT>(value);
175 }
176 template <typename NextTokenT = Aws::String>
178 SetNextToken(std::forward<NextTokenT>(value));
179 return *this;
180 }
182
184
187 inline const Aws::String& GetPropertyGroupName() const { return m_propertyGroupName; }
188 inline bool PropertyGroupNameHasBeenSet() const { return m_propertyGroupNameHasBeenSet; }
189 template <typename PropertyGroupNameT = Aws::String>
190 void SetPropertyGroupName(PropertyGroupNameT&& value) {
191 m_propertyGroupNameHasBeenSet = true;
192 m_propertyGroupName = std::forward<PropertyGroupNameT>(value);
193 }
194 template <typename PropertyGroupNameT = Aws::String>
195 GetPropertyValueRequest& WithPropertyGroupName(PropertyGroupNameT&& value) {
196 SetPropertyGroupName(std::forward<PropertyGroupNameT>(value));
197 return *this;
198 }
200
202
205 inline const TabularConditions& GetTabularConditions() const { return m_tabularConditions; }
206 inline bool TabularConditionsHasBeenSet() const { return m_tabularConditionsHasBeenSet; }
207 template <typename TabularConditionsT = TabularConditions>
208 void SetTabularConditions(TabularConditionsT&& value) {
209 m_tabularConditionsHasBeenSet = true;
210 m_tabularConditions = std::forward<TabularConditionsT>(value);
211 }
212 template <typename TabularConditionsT = TabularConditions>
213 GetPropertyValueRequest& WithTabularConditions(TabularConditionsT&& value) {
214 SetTabularConditions(std::forward<TabularConditionsT>(value));
215 return *this;
216 }
218 private:
219 Aws::String m_componentName;
220
221 Aws::String m_componentPath;
222
223 Aws::String m_componentTypeId;
224
225 Aws::String m_entityId;
226
227 Aws::Vector<Aws::String> m_selectedProperties;
228
229 Aws::String m_workspaceId;
230
231 int m_maxResults{0};
232
233 Aws::String m_nextToken;
234
235 Aws::String m_propertyGroupName;
236
237 TabularConditions m_tabularConditions;
238 bool m_componentNameHasBeenSet = false;
239 bool m_componentPathHasBeenSet = false;
240 bool m_componentTypeIdHasBeenSet = false;
241 bool m_entityIdHasBeenSet = false;
242 bool m_selectedPropertiesHasBeenSet = false;
243 bool m_workspaceIdHasBeenSet = false;
244 bool m_maxResultsHasBeenSet = false;
245 bool m_nextTokenHasBeenSet = false;
246 bool m_propertyGroupNameHasBeenSet = false;
247 bool m_tabularConditionsHasBeenSet = false;
248};
249
250} // namespace Model
251} // namespace IoTTwinMaker
252} // namespace Aws
GetPropertyValueRequest & WithNextToken(NextTokenT &&value)
GetPropertyValueRequest & WithComponentName(ComponentNameT &&value)
GetPropertyValueRequest & WithComponentPath(ComponentPathT &&value)
GetPropertyValueRequest & WithEntityId(EntityIdT &&value)
GetPropertyValueRequest & WithSelectedProperties(SelectedPropertiesT &&value)
GetPropertyValueRequest & WithWorkspaceId(WorkspaceIdT &&value)
GetPropertyValueRequest & WithComponentTypeId(ComponentTypeIdT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Aws::String > & GetSelectedProperties() const
GetPropertyValueRequest & WithTabularConditions(TabularConditionsT &&value)
AWS_IOTTWINMAKER_API GetPropertyValueRequest()=default
AWS_IOTTWINMAKER_API Aws::String SerializePayload() const override
GetPropertyValueRequest & AddSelectedProperties(SelectedPropertiesT &&value)
GetPropertyValueRequest & WithPropertyGroupName(PropertyGroupNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector