AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAssetPropertyAggregatesRequest.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/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
17namespace Aws
18{
19namespace Http
20{
21 class URI;
22} //namespace Http
23namespace IoTSiteWise
24{
25namespace Model
26{
27
31 {
32 public:
33 AWS_IOTSITEWISE_API 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.
39 inline virtual const char* GetServiceRequestName() const override { return "GetAssetPropertyAggregates"; }
40
41 AWS_IOTSITEWISE_API Aws::String SerializePayload() const override;
42
43 AWS_IOTSITEWISE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
44
45
47
50 inline const Aws::String& GetAssetId() const{ return m_assetId; }
51 inline bool AssetIdHasBeenSet() const { return m_assetIdHasBeenSet; }
52 inline void SetAssetId(const Aws::String& value) { m_assetIdHasBeenSet = true; m_assetId = value; }
53 inline void SetAssetId(Aws::String&& value) { m_assetIdHasBeenSet = true; m_assetId = std::move(value); }
54 inline void SetAssetId(const char* value) { m_assetIdHasBeenSet = true; m_assetId.assign(value); }
55 inline GetAssetPropertyAggregatesRequest& WithAssetId(const Aws::String& value) { SetAssetId(value); return *this;}
56 inline GetAssetPropertyAggregatesRequest& WithAssetId(Aws::String&& value) { SetAssetId(std::move(value)); return *this;}
57 inline GetAssetPropertyAggregatesRequest& WithAssetId(const char* value) { SetAssetId(value); return *this;}
59
61
64 inline const Aws::String& GetPropertyId() const{ return m_propertyId; }
65 inline bool PropertyIdHasBeenSet() const { return m_propertyIdHasBeenSet; }
66 inline void SetPropertyId(const Aws::String& value) { m_propertyIdHasBeenSet = true; m_propertyId = value; }
67 inline void SetPropertyId(Aws::String&& value) { m_propertyIdHasBeenSet = true; m_propertyId = std::move(value); }
68 inline void SetPropertyId(const char* value) { m_propertyIdHasBeenSet = true; m_propertyId.assign(value); }
69 inline GetAssetPropertyAggregatesRequest& WithPropertyId(const Aws::String& value) { SetPropertyId(value); return *this;}
70 inline GetAssetPropertyAggregatesRequest& WithPropertyId(Aws::String&& value) { SetPropertyId(std::move(value)); return *this;}
71 inline GetAssetPropertyAggregatesRequest& WithPropertyId(const char* value) { SetPropertyId(value); return *this;}
73
75
83 inline const Aws::String& GetPropertyAlias() const{ return m_propertyAlias; }
84 inline bool PropertyAliasHasBeenSet() const { return m_propertyAliasHasBeenSet; }
85 inline void SetPropertyAlias(const Aws::String& value) { m_propertyAliasHasBeenSet = true; m_propertyAlias = value; }
86 inline void SetPropertyAlias(Aws::String&& value) { m_propertyAliasHasBeenSet = true; m_propertyAlias = std::move(value); }
87 inline void SetPropertyAlias(const char* value) { m_propertyAliasHasBeenSet = true; m_propertyAlias.assign(value); }
89 inline GetAssetPropertyAggregatesRequest& WithPropertyAlias(Aws::String&& value) { SetPropertyAlias(std::move(value)); return *this;}
90 inline GetAssetPropertyAggregatesRequest& WithPropertyAlias(const char* value) { SetPropertyAlias(value); return *this;}
92
94
97 inline const Aws::Vector<AggregateType>& GetAggregateTypes() const{ return m_aggregateTypes; }
98 inline bool AggregateTypesHasBeenSet() const { return m_aggregateTypesHasBeenSet; }
99 inline void SetAggregateTypes(const Aws::Vector<AggregateType>& value) { m_aggregateTypesHasBeenSet = true; m_aggregateTypes = value; }
100 inline void SetAggregateTypes(Aws::Vector<AggregateType>&& value) { m_aggregateTypesHasBeenSet = true; m_aggregateTypes = std::move(value); }
103 inline GetAssetPropertyAggregatesRequest& AddAggregateTypes(const AggregateType& value) { m_aggregateTypesHasBeenSet = true; m_aggregateTypes.push_back(value); return *this; }
104 inline GetAssetPropertyAggregatesRequest& AddAggregateTypes(AggregateType&& value) { m_aggregateTypesHasBeenSet = true; m_aggregateTypes.push_back(std::move(value)); return *this; }
106
108
111 inline const Aws::String& GetResolution() const{ return m_resolution; }
112 inline bool ResolutionHasBeenSet() const { return m_resolutionHasBeenSet; }
113 inline void SetResolution(const Aws::String& value) { m_resolutionHasBeenSet = true; m_resolution = value; }
114 inline void SetResolution(Aws::String&& value) { m_resolutionHasBeenSet = true; m_resolution = std::move(value); }
115 inline void SetResolution(const char* value) { m_resolutionHasBeenSet = true; m_resolution.assign(value); }
116 inline GetAssetPropertyAggregatesRequest& WithResolution(const Aws::String& value) { SetResolution(value); return *this;}
117 inline GetAssetPropertyAggregatesRequest& WithResolution(Aws::String&& value) { SetResolution(std::move(value)); return *this;}
118 inline GetAssetPropertyAggregatesRequest& WithResolution(const char* value) { SetResolution(value); return *this;}
120
122
125 inline const Aws::Vector<Quality>& GetQualities() const{ return m_qualities; }
126 inline bool QualitiesHasBeenSet() const { return m_qualitiesHasBeenSet; }
127 inline void SetQualities(const Aws::Vector<Quality>& value) { m_qualitiesHasBeenSet = true; m_qualities = value; }
128 inline void SetQualities(Aws::Vector<Quality>&& value) { m_qualitiesHasBeenSet = true; m_qualities = std::move(value); }
130 inline GetAssetPropertyAggregatesRequest& WithQualities(Aws::Vector<Quality>&& value) { SetQualities(std::move(value)); return *this;}
131 inline GetAssetPropertyAggregatesRequest& AddQualities(const Quality& value) { m_qualitiesHasBeenSet = true; m_qualities.push_back(value); return *this; }
132 inline GetAssetPropertyAggregatesRequest& AddQualities(Quality&& value) { m_qualitiesHasBeenSet = true; m_qualities.push_back(std::move(value)); return *this; }
134
136
140 inline const Aws::Utils::DateTime& GetStartDate() const{ return m_startDate; }
141 inline bool StartDateHasBeenSet() const { return m_startDateHasBeenSet; }
142 inline void SetStartDate(const Aws::Utils::DateTime& value) { m_startDateHasBeenSet = true; m_startDate = value; }
143 inline void SetStartDate(Aws::Utils::DateTime&& value) { m_startDateHasBeenSet = true; m_startDate = std::move(value); }
145 inline GetAssetPropertyAggregatesRequest& WithStartDate(Aws::Utils::DateTime&& value) { SetStartDate(std::move(value)); return *this;}
147
149
153 inline const Aws::Utils::DateTime& GetEndDate() const{ return m_endDate; }
154 inline bool EndDateHasBeenSet() const { return m_endDateHasBeenSet; }
155 inline void SetEndDate(const Aws::Utils::DateTime& value) { m_endDateHasBeenSet = true; m_endDate = value; }
156 inline void SetEndDate(Aws::Utils::DateTime&& value) { m_endDateHasBeenSet = true; m_endDate = std::move(value); }
158 inline GetAssetPropertyAggregatesRequest& WithEndDate(Aws::Utils::DateTime&& value) { SetEndDate(std::move(value)); return *this;}
160
162
166 inline const TimeOrdering& GetTimeOrdering() const{ return m_timeOrdering; }
167 inline bool TimeOrderingHasBeenSet() const { return m_timeOrderingHasBeenSet; }
168 inline void SetTimeOrdering(const TimeOrdering& value) { m_timeOrderingHasBeenSet = true; m_timeOrdering = value; }
169 inline void SetTimeOrdering(TimeOrdering&& value) { m_timeOrderingHasBeenSet = true; m_timeOrdering = std::move(value); }
171 inline GetAssetPropertyAggregatesRequest& WithTimeOrdering(TimeOrdering&& value) { SetTimeOrdering(std::move(value)); return *this;}
173
175
178 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
179 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
180 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
181 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
182 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
183 inline GetAssetPropertyAggregatesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
184 inline GetAssetPropertyAggregatesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
185 inline GetAssetPropertyAggregatesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
187
189
196 inline int GetMaxResults() const{ return m_maxResults; }
197 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
198 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
199 inline GetAssetPropertyAggregatesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
201 private:
202
203 Aws::String m_assetId;
204 bool m_assetIdHasBeenSet = false;
205
206 Aws::String m_propertyId;
207 bool m_propertyIdHasBeenSet = false;
208
209 Aws::String m_propertyAlias;
210 bool m_propertyAliasHasBeenSet = false;
211
212 Aws::Vector<AggregateType> m_aggregateTypes;
213 bool m_aggregateTypesHasBeenSet = false;
214
215 Aws::String m_resolution;
216 bool m_resolutionHasBeenSet = false;
217
218 Aws::Vector<Quality> m_qualities;
219 bool m_qualitiesHasBeenSet = false;
220
221 Aws::Utils::DateTime m_startDate;
222 bool m_startDateHasBeenSet = false;
223
224 Aws::Utils::DateTime m_endDate;
225 bool m_endDateHasBeenSet = false;
226
227 TimeOrdering m_timeOrdering;
228 bool m_timeOrderingHasBeenSet = false;
229
230 Aws::String m_nextToken;
231 bool m_nextTokenHasBeenSet = false;
232
233 int m_maxResults;
234 bool m_maxResultsHasBeenSet = false;
235 };
236
237} // namespace Model
238} // namespace IoTSiteWise
239} // namespace Aws
GetAssetPropertyAggregatesRequest & WithNextToken(const char *value)
GetAssetPropertyAggregatesRequest & WithAssetId(Aws::String &&value)
GetAssetPropertyAggregatesRequest & WithAggregateTypes(Aws::Vector< AggregateType > &&value)
GetAssetPropertyAggregatesRequest & WithEndDate(const Aws::Utils::DateTime &value)
GetAssetPropertyAggregatesRequest & WithAssetId(const Aws::String &value)
GetAssetPropertyAggregatesRequest & WithPropertyId(const Aws::String &value)
GetAssetPropertyAggregatesRequest & WithResolution(const char *value)
GetAssetPropertyAggregatesRequest & WithPropertyId(Aws::String &&value)
AWS_IOTSITEWISE_API Aws::String SerializePayload() const override
GetAssetPropertyAggregatesRequest & WithQualities(const Aws::Vector< Quality > &value)
GetAssetPropertyAggregatesRequest & AddAggregateTypes(AggregateType &&value)
GetAssetPropertyAggregatesRequest & WithPropertyAlias(Aws::String &&value)
GetAssetPropertyAggregatesRequest & WithResolution(const Aws::String &value)
GetAssetPropertyAggregatesRequest & WithNextToken(const Aws::String &value)
GetAssetPropertyAggregatesRequest & AddQualities(Quality &&value)
GetAssetPropertyAggregatesRequest & WithAssetId(const char *value)
GetAssetPropertyAggregatesRequest & AddAggregateTypes(const AggregateType &value)
GetAssetPropertyAggregatesRequest & WithPropertyAlias(const Aws::String &value)
GetAssetPropertyAggregatesRequest & AddQualities(const Quality &value)
GetAssetPropertyAggregatesRequest & WithStartDate(const Aws::Utils::DateTime &value)
AWS_IOTSITEWISE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetAssetPropertyAggregatesRequest & WithTimeOrdering(TimeOrdering &&value)
GetAssetPropertyAggregatesRequest & WithTimeOrdering(const TimeOrdering &value)
GetAssetPropertyAggregatesRequest & WithQualities(Aws::Vector< Quality > &&value)
GetAssetPropertyAggregatesRequest & WithAggregateTypes(const Aws::Vector< AggregateType > &value)
GetAssetPropertyAggregatesRequest & WithPropertyAlias(const char *value)
GetAssetPropertyAggregatesRequest & WithPropertyId(const char *value)
GetAssetPropertyAggregatesRequest & WithEndDate(Aws::Utils::DateTime &&value)
GetAssetPropertyAggregatesRequest & WithResolution(Aws::String &&value)
GetAssetPropertyAggregatesRequest & WithNextToken(Aws::String &&value)
GetAssetPropertyAggregatesRequest & WithStartDate(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector