AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetPropertyValueHistoryRequest.h
1
6#pragma once
7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/iottwinmaker/IoTTwinMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/iottwinmaker/model/InterpolationParameters.h>
12#include <aws/iottwinmaker/model/OrderByTime.h>
13#include <aws/iottwinmaker/model/PropertyFilter.h>
14#include <utility>
15
16namespace Aws
17{
18namespace IoTTwinMaker
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_IOTTWINMAKER_API GetPropertyValueHistoryRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "GetPropertyValueHistory"; }
35
36 AWS_IOTTWINMAKER_API Aws::String SerializePayload() const override;
37
38
40
43 inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; }
44 inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; }
45 inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; }
46 inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); }
47 inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); }
48 inline GetPropertyValueHistoryRequest& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;}
49 inline GetPropertyValueHistoryRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;}
50 inline GetPropertyValueHistoryRequest& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;}
52
54
57 inline const Aws::String& GetEntityId() const{ return m_entityId; }
58 inline bool EntityIdHasBeenSet() const { return m_entityIdHasBeenSet; }
59 inline void SetEntityId(const Aws::String& value) { m_entityIdHasBeenSet = true; m_entityId = value; }
60 inline void SetEntityId(Aws::String&& value) { m_entityIdHasBeenSet = true; m_entityId = std::move(value); }
61 inline void SetEntityId(const char* value) { m_entityIdHasBeenSet = true; m_entityId.assign(value); }
62 inline GetPropertyValueHistoryRequest& WithEntityId(const Aws::String& value) { SetEntityId(value); return *this;}
63 inline GetPropertyValueHistoryRequest& WithEntityId(Aws::String&& value) { SetEntityId(std::move(value)); return *this;}
64 inline GetPropertyValueHistoryRequest& WithEntityId(const char* value) { SetEntityId(value); return *this;}
66
68
71 inline const Aws::String& GetComponentName() const{ return m_componentName; }
72 inline bool ComponentNameHasBeenSet() const { return m_componentNameHasBeenSet; }
73 inline void SetComponentName(const Aws::String& value) { m_componentNameHasBeenSet = true; m_componentName = value; }
74 inline void SetComponentName(Aws::String&& value) { m_componentNameHasBeenSet = true; m_componentName = std::move(value); }
75 inline void SetComponentName(const char* value) { m_componentNameHasBeenSet = true; m_componentName.assign(value); }
77 inline GetPropertyValueHistoryRequest& WithComponentName(Aws::String&& value) { SetComponentName(std::move(value)); return *this;}
78 inline GetPropertyValueHistoryRequest& WithComponentName(const char* value) { SetComponentName(value); return *this;}
80
82
86 inline const Aws::String& GetComponentPath() const{ return m_componentPath; }
87 inline bool ComponentPathHasBeenSet() const { return m_componentPathHasBeenSet; }
88 inline void SetComponentPath(const Aws::String& value) { m_componentPathHasBeenSet = true; m_componentPath = value; }
89 inline void SetComponentPath(Aws::String&& value) { m_componentPathHasBeenSet = true; m_componentPath = std::move(value); }
90 inline void SetComponentPath(const char* value) { m_componentPathHasBeenSet = true; m_componentPath.assign(value); }
92 inline GetPropertyValueHistoryRequest& WithComponentPath(Aws::String&& value) { SetComponentPath(std::move(value)); return *this;}
93 inline GetPropertyValueHistoryRequest& WithComponentPath(const char* value) { SetComponentPath(value); return *this;}
95
97
100 inline const Aws::String& GetComponentTypeId() const{ return m_componentTypeId; }
101 inline bool ComponentTypeIdHasBeenSet() const { return m_componentTypeIdHasBeenSet; }
102 inline void SetComponentTypeId(const Aws::String& value) { m_componentTypeIdHasBeenSet = true; m_componentTypeId = value; }
103 inline void SetComponentTypeId(Aws::String&& value) { m_componentTypeIdHasBeenSet = true; m_componentTypeId = std::move(value); }
104 inline void SetComponentTypeId(const char* value) { m_componentTypeIdHasBeenSet = true; m_componentTypeId.assign(value); }
106 inline GetPropertyValueHistoryRequest& WithComponentTypeId(Aws::String&& value) { SetComponentTypeId(std::move(value)); return *this;}
107 inline GetPropertyValueHistoryRequest& WithComponentTypeId(const char* value) { SetComponentTypeId(value); return *this;}
109
111
114 inline const Aws::Vector<Aws::String>& GetSelectedProperties() const{ return m_selectedProperties; }
115 inline bool SelectedPropertiesHasBeenSet() const { return m_selectedPropertiesHasBeenSet; }
116 inline void SetSelectedProperties(const Aws::Vector<Aws::String>& value) { m_selectedPropertiesHasBeenSet = true; m_selectedProperties = value; }
117 inline void SetSelectedProperties(Aws::Vector<Aws::String>&& value) { m_selectedPropertiesHasBeenSet = true; m_selectedProperties = std::move(value); }
120 inline GetPropertyValueHistoryRequest& AddSelectedProperties(const Aws::String& value) { m_selectedPropertiesHasBeenSet = true; m_selectedProperties.push_back(value); return *this; }
121 inline GetPropertyValueHistoryRequest& AddSelectedProperties(Aws::String&& value) { m_selectedPropertiesHasBeenSet = true; m_selectedProperties.push_back(std::move(value)); return *this; }
122 inline GetPropertyValueHistoryRequest& AddSelectedProperties(const char* value) { m_selectedPropertiesHasBeenSet = true; m_selectedProperties.push_back(value); return *this; }
124
126
129 inline const Aws::Vector<PropertyFilter>& GetPropertyFilters() const{ return m_propertyFilters; }
130 inline bool PropertyFiltersHasBeenSet() const { return m_propertyFiltersHasBeenSet; }
131 inline void SetPropertyFilters(const Aws::Vector<PropertyFilter>& value) { m_propertyFiltersHasBeenSet = true; m_propertyFilters = value; }
132 inline void SetPropertyFilters(Aws::Vector<PropertyFilter>&& value) { m_propertyFiltersHasBeenSet = true; m_propertyFilters = std::move(value); }
135 inline GetPropertyValueHistoryRequest& AddPropertyFilters(const PropertyFilter& value) { m_propertyFiltersHasBeenSet = true; m_propertyFilters.push_back(value); return *this; }
136 inline GetPropertyValueHistoryRequest& AddPropertyFilters(PropertyFilter&& value) { m_propertyFiltersHasBeenSet = true; m_propertyFilters.push_back(std::move(value)); return *this; }
138
140
144 inline const InterpolationParameters& GetInterpolation() const{ return m_interpolation; }
145 inline bool InterpolationHasBeenSet() const { return m_interpolationHasBeenSet; }
146 inline void SetInterpolation(const InterpolationParameters& value) { m_interpolationHasBeenSet = true; m_interpolation = value; }
147 inline void SetInterpolation(InterpolationParameters&& value) { m_interpolationHasBeenSet = true; m_interpolation = std::move(value); }
151
153
156 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
157 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
158 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
159 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
160 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
161 inline GetPropertyValueHistoryRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
162 inline GetPropertyValueHistoryRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
163 inline GetPropertyValueHistoryRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
165
167
171 inline int GetMaxResults() const{ return m_maxResults; }
172 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
173 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
174 inline GetPropertyValueHistoryRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
176
178
181 inline const OrderByTime& GetOrderByTime() const{ return m_orderByTime; }
182 inline bool OrderByTimeHasBeenSet() const { return m_orderByTimeHasBeenSet; }
183 inline void SetOrderByTime(const OrderByTime& value) { m_orderByTimeHasBeenSet = true; m_orderByTime = value; }
184 inline void SetOrderByTime(OrderByTime&& value) { m_orderByTimeHasBeenSet = true; m_orderByTime = std::move(value); }
185 inline GetPropertyValueHistoryRequest& WithOrderByTime(const OrderByTime& value) { SetOrderByTime(value); return *this;}
186 inline GetPropertyValueHistoryRequest& WithOrderByTime(OrderByTime&& value) { SetOrderByTime(std::move(value)); return *this;}
188
190
195 inline const Aws::String& GetStartTime() const{ return m_startTime; }
196 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
197 inline void SetStartTime(const Aws::String& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
198 inline void SetStartTime(Aws::String&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
199 inline void SetStartTime(const char* value) { m_startTimeHasBeenSet = true; m_startTime.assign(value); }
200 inline GetPropertyValueHistoryRequest& WithStartTime(const Aws::String& value) { SetStartTime(value); return *this;}
201 inline GetPropertyValueHistoryRequest& WithStartTime(Aws::String&& value) { SetStartTime(std::move(value)); return *this;}
202 inline GetPropertyValueHistoryRequest& WithStartTime(const char* value) { SetStartTime(value); return *this;}
204
206
211 inline const Aws::String& GetEndTime() const{ return m_endTime; }
212 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
213 inline void SetEndTime(const Aws::String& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
214 inline void SetEndTime(Aws::String&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
215 inline void SetEndTime(const char* value) { m_endTimeHasBeenSet = true; m_endTime.assign(value); }
216 inline GetPropertyValueHistoryRequest& WithEndTime(const Aws::String& value) { SetEndTime(value); return *this;}
217 inline GetPropertyValueHistoryRequest& WithEndTime(Aws::String&& value) { SetEndTime(std::move(value)); return *this;}
218 inline GetPropertyValueHistoryRequest& WithEndTime(const char* value) { SetEndTime(value); return *this;}
220 private:
221
222 Aws::String m_workspaceId;
223 bool m_workspaceIdHasBeenSet = false;
224
225 Aws::String m_entityId;
226 bool m_entityIdHasBeenSet = false;
227
228 Aws::String m_componentName;
229 bool m_componentNameHasBeenSet = false;
230
231 Aws::String m_componentPath;
232 bool m_componentPathHasBeenSet = false;
233
234 Aws::String m_componentTypeId;
235 bool m_componentTypeIdHasBeenSet = false;
236
237 Aws::Vector<Aws::String> m_selectedProperties;
238 bool m_selectedPropertiesHasBeenSet = false;
239
240 Aws::Vector<PropertyFilter> m_propertyFilters;
241 bool m_propertyFiltersHasBeenSet = false;
242
243 InterpolationParameters m_interpolation;
244 bool m_interpolationHasBeenSet = false;
245
246 Aws::String m_nextToken;
247 bool m_nextTokenHasBeenSet = false;
248
249 int m_maxResults;
250 bool m_maxResultsHasBeenSet = false;
251
252 OrderByTime m_orderByTime;
253 bool m_orderByTimeHasBeenSet = false;
254
255 Aws::String m_startTime;
256 bool m_startTimeHasBeenSet = false;
257
258 Aws::String m_endTime;
259 bool m_endTimeHasBeenSet = false;
260 };
261
262} // namespace Model
263} // namespace IoTTwinMaker
264} // namespace Aws
GetPropertyValueHistoryRequest & WithNextToken(const char *value)
GetPropertyValueHistoryRequest & WithWorkspaceId(const Aws::String &value)
GetPropertyValueHistoryRequest & AddSelectedProperties(const char *value)
GetPropertyValueHistoryRequest & WithNextToken(const Aws::String &value)
GetPropertyValueHistoryRequest & AddPropertyFilters(const PropertyFilter &value)
GetPropertyValueHistoryRequest & WithStartTime(const char *value)
GetPropertyValueHistoryRequest & AddPropertyFilters(PropertyFilter &&value)
GetPropertyValueHistoryRequest & WithInterpolation(InterpolationParameters &&value)
GetPropertyValueHistoryRequest & WithEntityId(Aws::String &&value)
GetPropertyValueHistoryRequest & WithEntityId(const Aws::String &value)
GetPropertyValueHistoryRequest & WithOrderByTime(const OrderByTime &value)
GetPropertyValueHistoryRequest & WithComponentName(const Aws::String &value)
GetPropertyValueHistoryRequest & WithEndTime(Aws::String &&value)
const Aws::Vector< PropertyFilter > & GetPropertyFilters() const
GetPropertyValueHistoryRequest & WithEndTime(const char *value)
GetPropertyValueHistoryRequest & WithComponentTypeId(const Aws::String &value)
GetPropertyValueHistoryRequest & WithPropertyFilters(const Aws::Vector< PropertyFilter > &value)
GetPropertyValueHistoryRequest & WithComponentName(Aws::String &&value)
GetPropertyValueHistoryRequest & WithComponentPath(const char *value)
void SetSelectedProperties(const Aws::Vector< Aws::String > &value)
GetPropertyValueHistoryRequest & AddSelectedProperties(Aws::String &&value)
GetPropertyValueHistoryRequest & WithComponentTypeId(Aws::String &&value)
GetPropertyValueHistoryRequest & WithStartTime(Aws::String &&value)
GetPropertyValueHistoryRequest & WithComponentPath(Aws::String &&value)
GetPropertyValueHistoryRequest & WithSelectedProperties(Aws::Vector< Aws::String > &&value)
GetPropertyValueHistoryRequest & WithStartTime(const Aws::String &value)
GetPropertyValueHistoryRequest & WithInterpolation(const InterpolationParameters &value)
GetPropertyValueHistoryRequest & WithEndTime(const Aws::String &value)
GetPropertyValueHistoryRequest & WithOrderByTime(OrderByTime &&value)
GetPropertyValueHistoryRequest & WithWorkspaceId(Aws::String &&value)
GetPropertyValueHistoryRequest & WithEntityId(const char *value)
GetPropertyValueHistoryRequest & WithWorkspaceId(const char *value)
GetPropertyValueHistoryRequest & WithComponentPath(const Aws::String &value)
GetPropertyValueHistoryRequest & WithSelectedProperties(const Aws::Vector< Aws::String > &value)
GetPropertyValueHistoryRequest & WithPropertyFilters(Aws::Vector< PropertyFilter > &&value)
void SetPropertyFilters(const Aws::Vector< PropertyFilter > &value)
GetPropertyValueHistoryRequest & WithComponentTypeId(const char *value)
GetPropertyValueHistoryRequest & WithNextToken(Aws::String &&value)
GetPropertyValueHistoryRequest & AddSelectedProperties(const Aws::String &value)
GetPropertyValueHistoryRequest & WithComponentName(const char *value)
AWS_IOTTWINMAKER_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector