AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename WorkspaceIdT = Aws::String>
46 void SetWorkspaceId(WorkspaceIdT&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::forward<WorkspaceIdT>(value); }
47 template<typename WorkspaceIdT = Aws::String>
48 GetPropertyValueHistoryRequest& WithWorkspaceId(WorkspaceIdT&& value) { SetWorkspaceId(std::forward<WorkspaceIdT>(value)); return *this;}
50
52
55 inline const Aws::String& GetEntityId() const { return m_entityId; }
56 inline bool EntityIdHasBeenSet() const { return m_entityIdHasBeenSet; }
57 template<typename EntityIdT = Aws::String>
58 void SetEntityId(EntityIdT&& value) { m_entityIdHasBeenSet = true; m_entityId = std::forward<EntityIdT>(value); }
59 template<typename EntityIdT = Aws::String>
60 GetPropertyValueHistoryRequest& WithEntityId(EntityIdT&& value) { SetEntityId(std::forward<EntityIdT>(value)); return *this;}
62
64
67 inline const Aws::String& GetComponentName() const { return m_componentName; }
68 inline bool ComponentNameHasBeenSet() const { return m_componentNameHasBeenSet; }
69 template<typename ComponentNameT = Aws::String>
70 void SetComponentName(ComponentNameT&& value) { m_componentNameHasBeenSet = true; m_componentName = std::forward<ComponentNameT>(value); }
71 template<typename ComponentNameT = Aws::String>
72 GetPropertyValueHistoryRequest& WithComponentName(ComponentNameT&& value) { SetComponentName(std::forward<ComponentNameT>(value)); return *this;}
74
76
80 inline const Aws::String& GetComponentPath() const { return m_componentPath; }
81 inline bool ComponentPathHasBeenSet() const { return m_componentPathHasBeenSet; }
82 template<typename ComponentPathT = Aws::String>
83 void SetComponentPath(ComponentPathT&& value) { m_componentPathHasBeenSet = true; m_componentPath = std::forward<ComponentPathT>(value); }
84 template<typename ComponentPathT = Aws::String>
85 GetPropertyValueHistoryRequest& WithComponentPath(ComponentPathT&& value) { SetComponentPath(std::forward<ComponentPathT>(value)); return *this;}
87
89
92 inline const Aws::String& GetComponentTypeId() const { return m_componentTypeId; }
93 inline bool ComponentTypeIdHasBeenSet() const { return m_componentTypeIdHasBeenSet; }
94 template<typename ComponentTypeIdT = Aws::String>
95 void SetComponentTypeId(ComponentTypeIdT&& value) { m_componentTypeIdHasBeenSet = true; m_componentTypeId = std::forward<ComponentTypeIdT>(value); }
96 template<typename ComponentTypeIdT = Aws::String>
97 GetPropertyValueHistoryRequest& WithComponentTypeId(ComponentTypeIdT&& value) { SetComponentTypeId(std::forward<ComponentTypeIdT>(value)); return *this;}
99
101
104 inline const Aws::Vector<Aws::String>& GetSelectedProperties() const { return m_selectedProperties; }
105 inline bool SelectedPropertiesHasBeenSet() const { return m_selectedPropertiesHasBeenSet; }
106 template<typename SelectedPropertiesT = Aws::Vector<Aws::String>>
107 void SetSelectedProperties(SelectedPropertiesT&& value) { m_selectedPropertiesHasBeenSet = true; m_selectedProperties = std::forward<SelectedPropertiesT>(value); }
108 template<typename SelectedPropertiesT = Aws::Vector<Aws::String>>
109 GetPropertyValueHistoryRequest& WithSelectedProperties(SelectedPropertiesT&& value) { SetSelectedProperties(std::forward<SelectedPropertiesT>(value)); return *this;}
110 template<typename SelectedPropertiesT = Aws::String>
111 GetPropertyValueHistoryRequest& AddSelectedProperties(SelectedPropertiesT&& value) { m_selectedPropertiesHasBeenSet = true; m_selectedProperties.emplace_back(std::forward<SelectedPropertiesT>(value)); return *this; }
113
115
118 inline const Aws::Vector<PropertyFilter>& GetPropertyFilters() const { return m_propertyFilters; }
119 inline bool PropertyFiltersHasBeenSet() const { return m_propertyFiltersHasBeenSet; }
120 template<typename PropertyFiltersT = Aws::Vector<PropertyFilter>>
121 void SetPropertyFilters(PropertyFiltersT&& value) { m_propertyFiltersHasBeenSet = true; m_propertyFilters = std::forward<PropertyFiltersT>(value); }
122 template<typename PropertyFiltersT = Aws::Vector<PropertyFilter>>
123 GetPropertyValueHistoryRequest& WithPropertyFilters(PropertyFiltersT&& value) { SetPropertyFilters(std::forward<PropertyFiltersT>(value)); return *this;}
124 template<typename PropertyFiltersT = PropertyFilter>
125 GetPropertyValueHistoryRequest& AddPropertyFilters(PropertyFiltersT&& value) { m_propertyFiltersHasBeenSet = true; m_propertyFilters.emplace_back(std::forward<PropertyFiltersT>(value)); return *this; }
127
129
133 inline const InterpolationParameters& GetInterpolation() const { return m_interpolation; }
134 inline bool InterpolationHasBeenSet() const { return m_interpolationHasBeenSet; }
135 template<typename InterpolationT = InterpolationParameters>
136 void SetInterpolation(InterpolationT&& value) { m_interpolationHasBeenSet = true; m_interpolation = std::forward<InterpolationT>(value); }
137 template<typename InterpolationT = InterpolationParameters>
138 GetPropertyValueHistoryRequest& WithInterpolation(InterpolationT&& value) { SetInterpolation(std::forward<InterpolationT>(value)); return *this;}
140
142
145 inline const Aws::String& GetNextToken() const { return m_nextToken; }
146 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
147 template<typename NextTokenT = Aws::String>
148 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
149 template<typename NextTokenT = Aws::String>
150 GetPropertyValueHistoryRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
152
154
158 inline int GetMaxResults() const { return m_maxResults; }
159 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
160 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
161 inline GetPropertyValueHistoryRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
163
165
168 inline OrderByTime GetOrderByTime() const { return m_orderByTime; }
169 inline bool OrderByTimeHasBeenSet() const { return m_orderByTimeHasBeenSet; }
170 inline void SetOrderByTime(OrderByTime value) { m_orderByTimeHasBeenSet = true; m_orderByTime = value; }
173
175
180 inline const Aws::String& GetStartTime() const { return m_startTime; }
181 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
182 template<typename StartTimeT = Aws::String>
183 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
184 template<typename StartTimeT = Aws::String>
185 GetPropertyValueHistoryRequest& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
187
189
194 inline const Aws::String& GetEndTime() const { return m_endTime; }
195 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
196 template<typename EndTimeT = Aws::String>
197 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
198 template<typename EndTimeT = Aws::String>
199 GetPropertyValueHistoryRequest& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
201 private:
202
203 Aws::String m_workspaceId;
204 bool m_workspaceIdHasBeenSet = false;
205
206 Aws::String m_entityId;
207 bool m_entityIdHasBeenSet = false;
208
209 Aws::String m_componentName;
210 bool m_componentNameHasBeenSet = false;
211
212 Aws::String m_componentPath;
213 bool m_componentPathHasBeenSet = false;
214
215 Aws::String m_componentTypeId;
216 bool m_componentTypeIdHasBeenSet = false;
217
218 Aws::Vector<Aws::String> m_selectedProperties;
219 bool m_selectedPropertiesHasBeenSet = false;
220
221 Aws::Vector<PropertyFilter> m_propertyFilters;
222 bool m_propertyFiltersHasBeenSet = false;
223
224 InterpolationParameters m_interpolation;
225 bool m_interpolationHasBeenSet = false;
226
227 Aws::String m_nextToken;
228 bool m_nextTokenHasBeenSet = false;
229
230 int m_maxResults{0};
231 bool m_maxResultsHasBeenSet = false;
232
233 OrderByTime m_orderByTime{OrderByTime::NOT_SET};
234 bool m_orderByTimeHasBeenSet = false;
235
236 Aws::String m_startTime;
237 bool m_startTimeHasBeenSet = false;
238
239 Aws::String m_endTime;
240 bool m_endTimeHasBeenSet = false;
241 };
242
243} // namespace Model
244} // namespace IoTTwinMaker
245} // namespace Aws
GetPropertyValueHistoryRequest & AddSelectedProperties(SelectedPropertiesT &&value)
GetPropertyValueHistoryRequest & WithPropertyFilters(PropertyFiltersT &&value)
GetPropertyValueHistoryRequest & WithInterpolation(InterpolationT &&value)
const Aws::Vector< PropertyFilter > & GetPropertyFilters() const
GetPropertyValueHistoryRequest & WithWorkspaceId(WorkspaceIdT &&value)
GetPropertyValueHistoryRequest & AddPropertyFilters(PropertyFiltersT &&value)
GetPropertyValueHistoryRequest & WithComponentTypeId(ComponentTypeIdT &&value)
GetPropertyValueHistoryRequest & WithNextToken(NextTokenT &&value)
GetPropertyValueHistoryRequest & WithOrderByTime(OrderByTime value)
GetPropertyValueHistoryRequest & WithComponentName(ComponentNameT &&value)
GetPropertyValueHistoryRequest & WithStartTime(StartTimeT &&value)
GetPropertyValueHistoryRequest & WithEntityId(EntityIdT &&value)
AWS_IOTTWINMAKER_API GetPropertyValueHistoryRequest()=default
GetPropertyValueHistoryRequest & WithComponentPath(ComponentPathT &&value)
GetPropertyValueHistoryRequest & WithEndTime(EndTimeT &&value)
AWS_IOTTWINMAKER_API Aws::String SerializePayload() const override
GetPropertyValueHistoryRequest & WithSelectedProperties(SelectedPropertiesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector