1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
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/core/utils/memory/stl/AWSVector.h>
11 #include <aws/core/utils/DateTime.h>
12 #include <aws/iotsitewise/model/TimeOrdering.h>
13 #include <aws/iotsitewise/model/AggregateType.h>
14 #include <aws/iotsitewise/model/Quality.h>
15 #include <utility>
16 
17 namespace Aws
18 {
19 namespace Http
20 {
21     class URI;
22 } //namespace Http
23 namespace IoTSiteWise
24 {
25 namespace Model
26 {
27 
28   /**
29    */
30   class AWS_IOTSITEWISE_API GetAssetPropertyAggregatesRequest : public IoTSiteWiseRequest
31   {
32   public:
33     GetAssetPropertyAggregatesRequest();
34 
35     // Service request name is the Operation name which will send this request out,
36     // each operation should has unique request name, so that we can get operation's name from this request.
37     // Note: this is not true for response, multiple operations may have the same response name,
38     // so we can not get operation's name from response.
GetServiceRequestName()39     inline virtual const char* GetServiceRequestName() const override { return "GetAssetPropertyAggregates"; }
40 
41     Aws::String SerializePayload() const override;
42 
43     void AddQueryStringParameters(Aws::Http::URI& uri) const override;
44 
45 
46     /**
47      * <p>The ID of the asset.</p>
48      */
GetAssetId()49     inline const Aws::String& GetAssetId() const{ return m_assetId; }
50 
51     /**
52      * <p>The ID of the asset.</p>
53      */
AssetIdHasBeenSet()54     inline bool AssetIdHasBeenSet() const { return m_assetIdHasBeenSet; }
55 
56     /**
57      * <p>The ID of the asset.</p>
58      */
SetAssetId(const Aws::String & value)59     inline void SetAssetId(const Aws::String& value) { m_assetIdHasBeenSet = true; m_assetId = value; }
60 
61     /**
62      * <p>The ID of the asset.</p>
63      */
SetAssetId(Aws::String && value)64     inline void SetAssetId(Aws::String&& value) { m_assetIdHasBeenSet = true; m_assetId = std::move(value); }
65 
66     /**
67      * <p>The ID of the asset.</p>
68      */
SetAssetId(const char * value)69     inline void SetAssetId(const char* value) { m_assetIdHasBeenSet = true; m_assetId.assign(value); }
70 
71     /**
72      * <p>The ID of the asset.</p>
73      */
WithAssetId(const Aws::String & value)74     inline GetAssetPropertyAggregatesRequest& WithAssetId(const Aws::String& value) { SetAssetId(value); return *this;}
75 
76     /**
77      * <p>The ID of the asset.</p>
78      */
WithAssetId(Aws::String && value)79     inline GetAssetPropertyAggregatesRequest& WithAssetId(Aws::String&& value) { SetAssetId(std::move(value)); return *this;}
80 
81     /**
82      * <p>The ID of the asset.</p>
83      */
WithAssetId(const char * value)84     inline GetAssetPropertyAggregatesRequest& WithAssetId(const char* value) { SetAssetId(value); return *this;}
85 
86 
87     /**
88      * <p>The ID of the asset property.</p>
89      */
GetPropertyId()90     inline const Aws::String& GetPropertyId() const{ return m_propertyId; }
91 
92     /**
93      * <p>The ID of the asset property.</p>
94      */
PropertyIdHasBeenSet()95     inline bool PropertyIdHasBeenSet() const { return m_propertyIdHasBeenSet; }
96 
97     /**
98      * <p>The ID of the asset property.</p>
99      */
SetPropertyId(const Aws::String & value)100     inline void SetPropertyId(const Aws::String& value) { m_propertyIdHasBeenSet = true; m_propertyId = value; }
101 
102     /**
103      * <p>The ID of the asset property.</p>
104      */
SetPropertyId(Aws::String && value)105     inline void SetPropertyId(Aws::String&& value) { m_propertyIdHasBeenSet = true; m_propertyId = std::move(value); }
106 
107     /**
108      * <p>The ID of the asset property.</p>
109      */
SetPropertyId(const char * value)110     inline void SetPropertyId(const char* value) { m_propertyIdHasBeenSet = true; m_propertyId.assign(value); }
111 
112     /**
113      * <p>The ID of the asset property.</p>
114      */
WithPropertyId(const Aws::String & value)115     inline GetAssetPropertyAggregatesRequest& WithPropertyId(const Aws::String& value) { SetPropertyId(value); return *this;}
116 
117     /**
118      * <p>The ID of the asset property.</p>
119      */
WithPropertyId(Aws::String && value)120     inline GetAssetPropertyAggregatesRequest& WithPropertyId(Aws::String&& value) { SetPropertyId(std::move(value)); return *this;}
121 
122     /**
123      * <p>The ID of the asset property.</p>
124      */
WithPropertyId(const char * value)125     inline GetAssetPropertyAggregatesRequest& WithPropertyId(const char* value) { SetPropertyId(value); return *this;}
126 
127 
128     /**
129      * <p>The alias that identifies the property, such as an OPC-UA server data stream
130      * path (for example, <code>/company/windfarm/3/turbine/7/temperature</code>). For
131      * more information, see <a
132      * href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/connect-data-streams.html">Mapping
133      * industrial data streams to asset properties</a> in the <i>IoT SiteWise User
134      * Guide</i>.</p>
135      */
GetPropertyAlias()136     inline const Aws::String& GetPropertyAlias() const{ return m_propertyAlias; }
137 
138     /**
139      * <p>The alias that identifies the property, such as an OPC-UA server data stream
140      * path (for example, <code>/company/windfarm/3/turbine/7/temperature</code>). For
141      * more information, see <a
142      * href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/connect-data-streams.html">Mapping
143      * industrial data streams to asset properties</a> in the <i>IoT SiteWise User
144      * Guide</i>.</p>
145      */
PropertyAliasHasBeenSet()146     inline bool PropertyAliasHasBeenSet() const { return m_propertyAliasHasBeenSet; }
147 
148     /**
149      * <p>The alias that identifies the property, such as an OPC-UA server data stream
150      * path (for example, <code>/company/windfarm/3/turbine/7/temperature</code>). For
151      * more information, see <a
152      * href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/connect-data-streams.html">Mapping
153      * industrial data streams to asset properties</a> in the <i>IoT SiteWise User
154      * Guide</i>.</p>
155      */
SetPropertyAlias(const Aws::String & value)156     inline void SetPropertyAlias(const Aws::String& value) { m_propertyAliasHasBeenSet = true; m_propertyAlias = value; }
157 
158     /**
159      * <p>The alias that identifies the property, such as an OPC-UA server data stream
160      * path (for example, <code>/company/windfarm/3/turbine/7/temperature</code>). For
161      * more information, see <a
162      * href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/connect-data-streams.html">Mapping
163      * industrial data streams to asset properties</a> in the <i>IoT SiteWise User
164      * Guide</i>.</p>
165      */
SetPropertyAlias(Aws::String && value)166     inline void SetPropertyAlias(Aws::String&& value) { m_propertyAliasHasBeenSet = true; m_propertyAlias = std::move(value); }
167 
168     /**
169      * <p>The alias that identifies the property, such as an OPC-UA server data stream
170      * path (for example, <code>/company/windfarm/3/turbine/7/temperature</code>). For
171      * more information, see <a
172      * href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/connect-data-streams.html">Mapping
173      * industrial data streams to asset properties</a> in the <i>IoT SiteWise User
174      * Guide</i>.</p>
175      */
SetPropertyAlias(const char * value)176     inline void SetPropertyAlias(const char* value) { m_propertyAliasHasBeenSet = true; m_propertyAlias.assign(value); }
177 
178     /**
179      * <p>The alias that identifies the property, such as an OPC-UA server data stream
180      * path (for example, <code>/company/windfarm/3/turbine/7/temperature</code>). For
181      * more information, see <a
182      * href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/connect-data-streams.html">Mapping
183      * industrial data streams to asset properties</a> in the <i>IoT SiteWise User
184      * Guide</i>.</p>
185      */
WithPropertyAlias(const Aws::String & value)186     inline GetAssetPropertyAggregatesRequest& WithPropertyAlias(const Aws::String& value) { SetPropertyAlias(value); return *this;}
187 
188     /**
189      * <p>The alias that identifies the property, such as an OPC-UA server data stream
190      * path (for example, <code>/company/windfarm/3/turbine/7/temperature</code>). For
191      * more information, see <a
192      * href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/connect-data-streams.html">Mapping
193      * industrial data streams to asset properties</a> in the <i>IoT SiteWise User
194      * Guide</i>.</p>
195      */
WithPropertyAlias(Aws::String && value)196     inline GetAssetPropertyAggregatesRequest& WithPropertyAlias(Aws::String&& value) { SetPropertyAlias(std::move(value)); return *this;}
197 
198     /**
199      * <p>The alias that identifies the property, such as an OPC-UA server data stream
200      * path (for example, <code>/company/windfarm/3/turbine/7/temperature</code>). For
201      * more information, see <a
202      * href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/connect-data-streams.html">Mapping
203      * industrial data streams to asset properties</a> in the <i>IoT SiteWise User
204      * Guide</i>.</p>
205      */
WithPropertyAlias(const char * value)206     inline GetAssetPropertyAggregatesRequest& WithPropertyAlias(const char* value) { SetPropertyAlias(value); return *this;}
207 
208 
209     /**
210      * <p>The data aggregating function.</p>
211      */
GetAggregateTypes()212     inline const Aws::Vector<AggregateType>& GetAggregateTypes() const{ return m_aggregateTypes; }
213 
214     /**
215      * <p>The data aggregating function.</p>
216      */
AggregateTypesHasBeenSet()217     inline bool AggregateTypesHasBeenSet() const { return m_aggregateTypesHasBeenSet; }
218 
219     /**
220      * <p>The data aggregating function.</p>
221      */
SetAggregateTypes(const Aws::Vector<AggregateType> & value)222     inline void SetAggregateTypes(const Aws::Vector<AggregateType>& value) { m_aggregateTypesHasBeenSet = true; m_aggregateTypes = value; }
223 
224     /**
225      * <p>The data aggregating function.</p>
226      */
SetAggregateTypes(Aws::Vector<AggregateType> && value)227     inline void SetAggregateTypes(Aws::Vector<AggregateType>&& value) { m_aggregateTypesHasBeenSet = true; m_aggregateTypes = std::move(value); }
228 
229     /**
230      * <p>The data aggregating function.</p>
231      */
WithAggregateTypes(const Aws::Vector<AggregateType> & value)232     inline GetAssetPropertyAggregatesRequest& WithAggregateTypes(const Aws::Vector<AggregateType>& value) { SetAggregateTypes(value); return *this;}
233 
234     /**
235      * <p>The data aggregating function.</p>
236      */
WithAggregateTypes(Aws::Vector<AggregateType> && value)237     inline GetAssetPropertyAggregatesRequest& WithAggregateTypes(Aws::Vector<AggregateType>&& value) { SetAggregateTypes(std::move(value)); return *this;}
238 
239     /**
240      * <p>The data aggregating function.</p>
241      */
AddAggregateTypes(const AggregateType & value)242     inline GetAssetPropertyAggregatesRequest& AddAggregateTypes(const AggregateType& value) { m_aggregateTypesHasBeenSet = true; m_aggregateTypes.push_back(value); return *this; }
243 
244     /**
245      * <p>The data aggregating function.</p>
246      */
AddAggregateTypes(AggregateType && value)247     inline GetAssetPropertyAggregatesRequest& AddAggregateTypes(AggregateType&& value) { m_aggregateTypesHasBeenSet = true; m_aggregateTypes.push_back(std::move(value)); return *this; }
248 
249 
250     /**
251      * <p>The time interval over which to aggregate data.</p>
252      */
GetResolution()253     inline const Aws::String& GetResolution() const{ return m_resolution; }
254 
255     /**
256      * <p>The time interval over which to aggregate data.</p>
257      */
ResolutionHasBeenSet()258     inline bool ResolutionHasBeenSet() const { return m_resolutionHasBeenSet; }
259 
260     /**
261      * <p>The time interval over which to aggregate data.</p>
262      */
SetResolution(const Aws::String & value)263     inline void SetResolution(const Aws::String& value) { m_resolutionHasBeenSet = true; m_resolution = value; }
264 
265     /**
266      * <p>The time interval over which to aggregate data.</p>
267      */
SetResolution(Aws::String && value)268     inline void SetResolution(Aws::String&& value) { m_resolutionHasBeenSet = true; m_resolution = std::move(value); }
269 
270     /**
271      * <p>The time interval over which to aggregate data.</p>
272      */
SetResolution(const char * value)273     inline void SetResolution(const char* value) { m_resolutionHasBeenSet = true; m_resolution.assign(value); }
274 
275     /**
276      * <p>The time interval over which to aggregate data.</p>
277      */
WithResolution(const Aws::String & value)278     inline GetAssetPropertyAggregatesRequest& WithResolution(const Aws::String& value) { SetResolution(value); return *this;}
279 
280     /**
281      * <p>The time interval over which to aggregate data.</p>
282      */
WithResolution(Aws::String && value)283     inline GetAssetPropertyAggregatesRequest& WithResolution(Aws::String&& value) { SetResolution(std::move(value)); return *this;}
284 
285     /**
286      * <p>The time interval over which to aggregate data.</p>
287      */
WithResolution(const char * value)288     inline GetAssetPropertyAggregatesRequest& WithResolution(const char* value) { SetResolution(value); return *this;}
289 
290 
291     /**
292      * <p>The quality by which to filter asset data.</p>
293      */
GetQualities()294     inline const Aws::Vector<Quality>& GetQualities() const{ return m_qualities; }
295 
296     /**
297      * <p>The quality by which to filter asset data.</p>
298      */
QualitiesHasBeenSet()299     inline bool QualitiesHasBeenSet() const { return m_qualitiesHasBeenSet; }
300 
301     /**
302      * <p>The quality by which to filter asset data.</p>
303      */
SetQualities(const Aws::Vector<Quality> & value)304     inline void SetQualities(const Aws::Vector<Quality>& value) { m_qualitiesHasBeenSet = true; m_qualities = value; }
305 
306     /**
307      * <p>The quality by which to filter asset data.</p>
308      */
SetQualities(Aws::Vector<Quality> && value)309     inline void SetQualities(Aws::Vector<Quality>&& value) { m_qualitiesHasBeenSet = true; m_qualities = std::move(value); }
310 
311     /**
312      * <p>The quality by which to filter asset data.</p>
313      */
WithQualities(const Aws::Vector<Quality> & value)314     inline GetAssetPropertyAggregatesRequest& WithQualities(const Aws::Vector<Quality>& value) { SetQualities(value); return *this;}
315 
316     /**
317      * <p>The quality by which to filter asset data.</p>
318      */
WithQualities(Aws::Vector<Quality> && value)319     inline GetAssetPropertyAggregatesRequest& WithQualities(Aws::Vector<Quality>&& value) { SetQualities(std::move(value)); return *this;}
320 
321     /**
322      * <p>The quality by which to filter asset data.</p>
323      */
AddQualities(const Quality & value)324     inline GetAssetPropertyAggregatesRequest& AddQualities(const Quality& value) { m_qualitiesHasBeenSet = true; m_qualities.push_back(value); return *this; }
325 
326     /**
327      * <p>The quality by which to filter asset data.</p>
328      */
AddQualities(Quality && value)329     inline GetAssetPropertyAggregatesRequest& AddQualities(Quality&& value) { m_qualitiesHasBeenSet = true; m_qualities.push_back(std::move(value)); return *this; }
330 
331 
332     /**
333      * <p>The exclusive start of the range from which to query historical data,
334      * expressed in seconds in Unix epoch time.</p>
335      */
GetStartDate()336     inline const Aws::Utils::DateTime& GetStartDate() const{ return m_startDate; }
337 
338     /**
339      * <p>The exclusive start of the range from which to query historical data,
340      * expressed in seconds in Unix epoch time.</p>
341      */
StartDateHasBeenSet()342     inline bool StartDateHasBeenSet() const { return m_startDateHasBeenSet; }
343 
344     /**
345      * <p>The exclusive start of the range from which to query historical data,
346      * expressed in seconds in Unix epoch time.</p>
347      */
SetStartDate(const Aws::Utils::DateTime & value)348     inline void SetStartDate(const Aws::Utils::DateTime& value) { m_startDateHasBeenSet = true; m_startDate = value; }
349 
350     /**
351      * <p>The exclusive start of the range from which to query historical data,
352      * expressed in seconds in Unix epoch time.</p>
353      */
SetStartDate(Aws::Utils::DateTime && value)354     inline void SetStartDate(Aws::Utils::DateTime&& value) { m_startDateHasBeenSet = true; m_startDate = std::move(value); }
355 
356     /**
357      * <p>The exclusive start of the range from which to query historical data,
358      * expressed in seconds in Unix epoch time.</p>
359      */
WithStartDate(const Aws::Utils::DateTime & value)360     inline GetAssetPropertyAggregatesRequest& WithStartDate(const Aws::Utils::DateTime& value) { SetStartDate(value); return *this;}
361 
362     /**
363      * <p>The exclusive start of the range from which to query historical data,
364      * expressed in seconds in Unix epoch time.</p>
365      */
WithStartDate(Aws::Utils::DateTime && value)366     inline GetAssetPropertyAggregatesRequest& WithStartDate(Aws::Utils::DateTime&& value) { SetStartDate(std::move(value)); return *this;}
367 
368 
369     /**
370      * <p>The inclusive end of the range from which to query historical data, expressed
371      * in seconds in Unix epoch time.</p>
372      */
GetEndDate()373     inline const Aws::Utils::DateTime& GetEndDate() const{ return m_endDate; }
374 
375     /**
376      * <p>The inclusive end of the range from which to query historical data, expressed
377      * in seconds in Unix epoch time.</p>
378      */
EndDateHasBeenSet()379     inline bool EndDateHasBeenSet() const { return m_endDateHasBeenSet; }
380 
381     /**
382      * <p>The inclusive end of the range from which to query historical data, expressed
383      * in seconds in Unix epoch time.</p>
384      */
SetEndDate(const Aws::Utils::DateTime & value)385     inline void SetEndDate(const Aws::Utils::DateTime& value) { m_endDateHasBeenSet = true; m_endDate = value; }
386 
387     /**
388      * <p>The inclusive end of the range from which to query historical data, expressed
389      * in seconds in Unix epoch time.</p>
390      */
SetEndDate(Aws::Utils::DateTime && value)391     inline void SetEndDate(Aws::Utils::DateTime&& value) { m_endDateHasBeenSet = true; m_endDate = std::move(value); }
392 
393     /**
394      * <p>The inclusive end of the range from which to query historical data, expressed
395      * in seconds in Unix epoch time.</p>
396      */
WithEndDate(const Aws::Utils::DateTime & value)397     inline GetAssetPropertyAggregatesRequest& WithEndDate(const Aws::Utils::DateTime& value) { SetEndDate(value); return *this;}
398 
399     /**
400      * <p>The inclusive end of the range from which to query historical data, expressed
401      * in seconds in Unix epoch time.</p>
402      */
WithEndDate(Aws::Utils::DateTime && value)403     inline GetAssetPropertyAggregatesRequest& WithEndDate(Aws::Utils::DateTime&& value) { SetEndDate(std::move(value)); return *this;}
404 
405 
406     /**
407      * <p>The chronological sorting order of the requested information.</p> <p>Default:
408      * <code>ASCENDING</code> </p>
409      */
GetTimeOrdering()410     inline const TimeOrdering& GetTimeOrdering() const{ return m_timeOrdering; }
411 
412     /**
413      * <p>The chronological sorting order of the requested information.</p> <p>Default:
414      * <code>ASCENDING</code> </p>
415      */
TimeOrderingHasBeenSet()416     inline bool TimeOrderingHasBeenSet() const { return m_timeOrderingHasBeenSet; }
417 
418     /**
419      * <p>The chronological sorting order of the requested information.</p> <p>Default:
420      * <code>ASCENDING</code> </p>
421      */
SetTimeOrdering(const TimeOrdering & value)422     inline void SetTimeOrdering(const TimeOrdering& value) { m_timeOrderingHasBeenSet = true; m_timeOrdering = value; }
423 
424     /**
425      * <p>The chronological sorting order of the requested information.</p> <p>Default:
426      * <code>ASCENDING</code> </p>
427      */
SetTimeOrdering(TimeOrdering && value)428     inline void SetTimeOrdering(TimeOrdering&& value) { m_timeOrderingHasBeenSet = true; m_timeOrdering = std::move(value); }
429 
430     /**
431      * <p>The chronological sorting order of the requested information.</p> <p>Default:
432      * <code>ASCENDING</code> </p>
433      */
WithTimeOrdering(const TimeOrdering & value)434     inline GetAssetPropertyAggregatesRequest& WithTimeOrdering(const TimeOrdering& value) { SetTimeOrdering(value); return *this;}
435 
436     /**
437      * <p>The chronological sorting order of the requested information.</p> <p>Default:
438      * <code>ASCENDING</code> </p>
439      */
WithTimeOrdering(TimeOrdering && value)440     inline GetAssetPropertyAggregatesRequest& WithTimeOrdering(TimeOrdering&& value) { SetTimeOrdering(std::move(value)); return *this;}
441 
442 
443     /**
444      * <p>The token to be used for the next set of paginated results.</p>
445      */
GetNextToken()446     inline const Aws::String& GetNextToken() const{ return m_nextToken; }
447 
448     /**
449      * <p>The token to be used for the next set of paginated results.</p>
450      */
NextTokenHasBeenSet()451     inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
452 
453     /**
454      * <p>The token to be used for the next set of paginated results.</p>
455      */
SetNextToken(const Aws::String & value)456     inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
457 
458     /**
459      * <p>The token to be used for the next set of paginated results.</p>
460      */
SetNextToken(Aws::String && value)461     inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
462 
463     /**
464      * <p>The token to be used for the next set of paginated results.</p>
465      */
SetNextToken(const char * value)466     inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
467 
468     /**
469      * <p>The token to be used for the next set of paginated results.</p>
470      */
WithNextToken(const Aws::String & value)471     inline GetAssetPropertyAggregatesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
472 
473     /**
474      * <p>The token to be used for the next set of paginated results.</p>
475      */
WithNextToken(Aws::String && value)476     inline GetAssetPropertyAggregatesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
477 
478     /**
479      * <p>The token to be used for the next set of paginated results.</p>
480      */
WithNextToken(const char * value)481     inline GetAssetPropertyAggregatesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
482 
483 
484     /**
485      * <p>The maximum number of results to return for each paginated request.</p>
486      * <p>Default: 100</p>
487      */
GetMaxResults()488     inline int GetMaxResults() const{ return m_maxResults; }
489 
490     /**
491      * <p>The maximum number of results to return for each paginated request.</p>
492      * <p>Default: 100</p>
493      */
MaxResultsHasBeenSet()494     inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
495 
496     /**
497      * <p>The maximum number of results to return for each paginated request.</p>
498      * <p>Default: 100</p>
499      */
SetMaxResults(int value)500     inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
501 
502     /**
503      * <p>The maximum number of results to return for each paginated request.</p>
504      * <p>Default: 100</p>
505      */
WithMaxResults(int value)506     inline GetAssetPropertyAggregatesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
507 
508   private:
509 
510     Aws::String m_assetId;
511     bool m_assetIdHasBeenSet;
512 
513     Aws::String m_propertyId;
514     bool m_propertyIdHasBeenSet;
515 
516     Aws::String m_propertyAlias;
517     bool m_propertyAliasHasBeenSet;
518 
519     Aws::Vector<AggregateType> m_aggregateTypes;
520     bool m_aggregateTypesHasBeenSet;
521 
522     Aws::String m_resolution;
523     bool m_resolutionHasBeenSet;
524 
525     Aws::Vector<Quality> m_qualities;
526     bool m_qualitiesHasBeenSet;
527 
528     Aws::Utils::DateTime m_startDate;
529     bool m_startDateHasBeenSet;
530 
531     Aws::Utils::DateTime m_endDate;
532     bool m_endDateHasBeenSet;
533 
534     TimeOrdering m_timeOrdering;
535     bool m_timeOrderingHasBeenSet;
536 
537     Aws::String m_nextToken;
538     bool m_nextTokenHasBeenSet;
539 
540     int m_maxResults;
541     bool m_maxResultsHasBeenSet;
542   };
543 
544 } // namespace Model
545 } // namespace IoTSiteWise
546 } // namespace Aws
547