AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
GetInterpolatedAssetPropertyValuesRequest.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/iotsitewise/IoTSiteWiseRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iotsitewise/model/Quality.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace IoTSiteWise
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_IOTSITEWISE_API GetInterpolatedAssetPropertyValuesRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "GetInterpolatedAssetPropertyValues"; }
36
37 AWS_IOTSITEWISE_API Aws::String SerializePayload() const override;
38
39 AWS_IOTSITEWISE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline const Aws::String& GetAssetId() const { return m_assetId; }
47 inline bool AssetIdHasBeenSet() const { return m_assetIdHasBeenSet; }
48 template<typename AssetIdT = Aws::String>
49 void SetAssetId(AssetIdT&& value) { m_assetIdHasBeenSet = true; m_assetId = std::forward<AssetIdT>(value); }
50 template<typename AssetIdT = Aws::String>
51 GetInterpolatedAssetPropertyValuesRequest& WithAssetId(AssetIdT&& value) { SetAssetId(std::forward<AssetIdT>(value)); return *this;}
53
55
58 inline const Aws::String& GetPropertyId() const { return m_propertyId; }
59 inline bool PropertyIdHasBeenSet() const { return m_propertyIdHasBeenSet; }
60 template<typename PropertyIdT = Aws::String>
61 void SetPropertyId(PropertyIdT&& value) { m_propertyIdHasBeenSet = true; m_propertyId = std::forward<PropertyIdT>(value); }
62 template<typename PropertyIdT = Aws::String>
63 GetInterpolatedAssetPropertyValuesRequest& WithPropertyId(PropertyIdT&& value) { SetPropertyId(std::forward<PropertyIdT>(value)); return *this;}
65
67
75 inline const Aws::String& GetPropertyAlias() const { return m_propertyAlias; }
76 inline bool PropertyAliasHasBeenSet() const { return m_propertyAliasHasBeenSet; }
77 template<typename PropertyAliasT = Aws::String>
78 void SetPropertyAlias(PropertyAliasT&& value) { m_propertyAliasHasBeenSet = true; m_propertyAlias = std::forward<PropertyAliasT>(value); }
79 template<typename PropertyAliasT = Aws::String>
80 GetInterpolatedAssetPropertyValuesRequest& WithPropertyAlias(PropertyAliasT&& value) { SetPropertyAlias(std::forward<PropertyAliasT>(value)); return *this;}
82
84
88 inline long long GetStartTimeInSeconds() const { return m_startTimeInSeconds; }
89 inline bool StartTimeInSecondsHasBeenSet() const { return m_startTimeInSecondsHasBeenSet; }
90 inline void SetStartTimeInSeconds(long long value) { m_startTimeInSecondsHasBeenSet = true; m_startTimeInSeconds = value; }
93
95
98 inline int GetStartTimeOffsetInNanos() const { return m_startTimeOffsetInNanos; }
99 inline bool StartTimeOffsetInNanosHasBeenSet() const { return m_startTimeOffsetInNanosHasBeenSet; }
100 inline void SetStartTimeOffsetInNanos(int value) { m_startTimeOffsetInNanosHasBeenSet = true; m_startTimeOffsetInNanos = value; }
103
105
109 inline long long GetEndTimeInSeconds() const { return m_endTimeInSeconds; }
110 inline bool EndTimeInSecondsHasBeenSet() const { return m_endTimeInSecondsHasBeenSet; }
111 inline void SetEndTimeInSeconds(long long value) { m_endTimeInSecondsHasBeenSet = true; m_endTimeInSeconds = value; }
114
116
119 inline int GetEndTimeOffsetInNanos() const { return m_endTimeOffsetInNanos; }
120 inline bool EndTimeOffsetInNanosHasBeenSet() const { return m_endTimeOffsetInNanosHasBeenSet; }
121 inline void SetEndTimeOffsetInNanos(int value) { m_endTimeOffsetInNanosHasBeenSet = true; m_endTimeOffsetInNanos = value; }
124
126
131 inline Quality GetQuality() const { return m_quality; }
132 inline bool QualityHasBeenSet() const { return m_qualityHasBeenSet; }
133 inline void SetQuality(Quality value) { m_qualityHasBeenSet = true; m_quality = value; }
136
138
142 inline long long GetIntervalInSeconds() const { return m_intervalInSeconds; }
143 inline bool IntervalInSecondsHasBeenSet() const { return m_intervalInSecondsHasBeenSet; }
144 inline void SetIntervalInSeconds(long long value) { m_intervalInSecondsHasBeenSet = true; m_intervalInSeconds = value; }
147
149
152 inline const Aws::String& GetNextToken() const { return m_nextToken; }
153 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
154 template<typename NextTokenT = Aws::String>
155 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
156 template<typename NextTokenT = Aws::String>
157 GetInterpolatedAssetPropertyValuesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
159
161
165 inline int GetMaxResults() const { return m_maxResults; }
166 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
167 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
170
172
193 inline const Aws::String& GetType() const { return m_type; }
194 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
195 template<typename TypeT = Aws::String>
196 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
197 template<typename TypeT = Aws::String>
198 GetInterpolatedAssetPropertyValuesRequest& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
200
202
221 inline long long GetIntervalWindowInSeconds() const { return m_intervalWindowInSeconds; }
222 inline bool IntervalWindowInSecondsHasBeenSet() const { return m_intervalWindowInSecondsHasBeenSet; }
223 inline void SetIntervalWindowInSeconds(long long value) { m_intervalWindowInSecondsHasBeenSet = true; m_intervalWindowInSeconds = value; }
226 private:
227
228 Aws::String m_assetId;
229 bool m_assetIdHasBeenSet = false;
230
231 Aws::String m_propertyId;
232 bool m_propertyIdHasBeenSet = false;
233
234 Aws::String m_propertyAlias;
235 bool m_propertyAliasHasBeenSet = false;
236
237 long long m_startTimeInSeconds{0};
238 bool m_startTimeInSecondsHasBeenSet = false;
239
240 int m_startTimeOffsetInNanos{0};
241 bool m_startTimeOffsetInNanosHasBeenSet = false;
242
243 long long m_endTimeInSeconds{0};
244 bool m_endTimeInSecondsHasBeenSet = false;
245
246 int m_endTimeOffsetInNanos{0};
247 bool m_endTimeOffsetInNanosHasBeenSet = false;
248
249 Quality m_quality{Quality::NOT_SET};
250 bool m_qualityHasBeenSet = false;
251
252 long long m_intervalInSeconds{0};
253 bool m_intervalInSecondsHasBeenSet = false;
254
255 Aws::String m_nextToken;
256 bool m_nextTokenHasBeenSet = false;
257
258 int m_maxResults{0};
259 bool m_maxResultsHasBeenSet = false;
260
261 Aws::String m_type;
262 bool m_typeHasBeenSet = false;
263
264 long long m_intervalWindowInSeconds{0};
265 bool m_intervalWindowInSecondsHasBeenSet = false;
266 };
267
268} // namespace Model
269} // namespace IoTSiteWise
270} // namespace Aws
AWS_IOTSITEWISE_API Aws::String SerializePayload() const override
GetInterpolatedAssetPropertyValuesRequest & WithIntervalInSeconds(long long value)
GetInterpolatedAssetPropertyValuesRequest & WithIntervalWindowInSeconds(long long value)
AWS_IOTSITEWISE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetInterpolatedAssetPropertyValuesRequest & WithNextToken(NextTokenT &&value)
GetInterpolatedAssetPropertyValuesRequest & WithEndTimeInSeconds(long long value)
GetInterpolatedAssetPropertyValuesRequest & WithAssetId(AssetIdT &&value)
GetInterpolatedAssetPropertyValuesRequest & WithPropertyId(PropertyIdT &&value)
GetInterpolatedAssetPropertyValuesRequest & WithStartTimeInSeconds(long long value)
GetInterpolatedAssetPropertyValuesRequest & WithPropertyAlias(PropertyAliasT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String