AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
BatchGetAssetPropertyAggregatesEntry.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/iotsitewise/model/TimeOrdering.h>
12#include <aws/iotsitewise/model/AggregateType.h>
13#include <aws/iotsitewise/model/Quality.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace IoTSiteWise
27{
28namespace Model
29{
30
47 {
48 public:
49 AWS_IOTSITEWISE_API BatchGetAssetPropertyAggregatesEntry() = default;
52 AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
53
54
56
59 inline const Aws::String& GetEntryId() const { return m_entryId; }
60 inline bool EntryIdHasBeenSet() const { return m_entryIdHasBeenSet; }
61 template<typename EntryIdT = Aws::String>
62 void SetEntryId(EntryIdT&& value) { m_entryIdHasBeenSet = true; m_entryId = std::forward<EntryIdT>(value); }
63 template<typename EntryIdT = Aws::String>
64 BatchGetAssetPropertyAggregatesEntry& WithEntryId(EntryIdT&& value) { SetEntryId(std::forward<EntryIdT>(value)); return *this;}
66
68
71 inline const Aws::String& GetAssetId() const { return m_assetId; }
72 inline bool AssetIdHasBeenSet() const { return m_assetIdHasBeenSet; }
73 template<typename AssetIdT = Aws::String>
74 void SetAssetId(AssetIdT&& value) { m_assetIdHasBeenSet = true; m_assetId = std::forward<AssetIdT>(value); }
75 template<typename AssetIdT = Aws::String>
76 BatchGetAssetPropertyAggregatesEntry& WithAssetId(AssetIdT&& value) { SetAssetId(std::forward<AssetIdT>(value)); return *this;}
78
80
83 inline const Aws::String& GetPropertyId() const { return m_propertyId; }
84 inline bool PropertyIdHasBeenSet() const { return m_propertyIdHasBeenSet; }
85 template<typename PropertyIdT = Aws::String>
86 void SetPropertyId(PropertyIdT&& value) { m_propertyIdHasBeenSet = true; m_propertyId = std::forward<PropertyIdT>(value); }
87 template<typename PropertyIdT = Aws::String>
88 BatchGetAssetPropertyAggregatesEntry& WithPropertyId(PropertyIdT&& value) { SetPropertyId(std::forward<PropertyIdT>(value)); return *this;}
90
92
100 inline const Aws::String& GetPropertyAlias() const { return m_propertyAlias; }
101 inline bool PropertyAliasHasBeenSet() const { return m_propertyAliasHasBeenSet; }
102 template<typename PropertyAliasT = Aws::String>
103 void SetPropertyAlias(PropertyAliasT&& value) { m_propertyAliasHasBeenSet = true; m_propertyAlias = std::forward<PropertyAliasT>(value); }
104 template<typename PropertyAliasT = Aws::String>
105 BatchGetAssetPropertyAggregatesEntry& WithPropertyAlias(PropertyAliasT&& value) { SetPropertyAlias(std::forward<PropertyAliasT>(value)); return *this;}
107
109
112 inline const Aws::Vector<AggregateType>& GetAggregateTypes() const { return m_aggregateTypes; }
113 inline bool AggregateTypesHasBeenSet() const { return m_aggregateTypesHasBeenSet; }
114 template<typename AggregateTypesT = Aws::Vector<AggregateType>>
115 void SetAggregateTypes(AggregateTypesT&& value) { m_aggregateTypesHasBeenSet = true; m_aggregateTypes = std::forward<AggregateTypesT>(value); }
116 template<typename AggregateTypesT = Aws::Vector<AggregateType>>
117 BatchGetAssetPropertyAggregatesEntry& WithAggregateTypes(AggregateTypesT&& value) { SetAggregateTypes(std::forward<AggregateTypesT>(value)); return *this;}
118 inline BatchGetAssetPropertyAggregatesEntry& AddAggregateTypes(AggregateType value) { m_aggregateTypesHasBeenSet = true; m_aggregateTypes.push_back(value); return *this; }
120
122
125 inline const Aws::String& GetResolution() const { return m_resolution; }
126 inline bool ResolutionHasBeenSet() const { return m_resolutionHasBeenSet; }
127 template<typename ResolutionT = Aws::String>
128 void SetResolution(ResolutionT&& value) { m_resolutionHasBeenSet = true; m_resolution = std::forward<ResolutionT>(value); }
129 template<typename ResolutionT = Aws::String>
130 BatchGetAssetPropertyAggregatesEntry& WithResolution(ResolutionT&& value) { SetResolution(std::forward<ResolutionT>(value)); return *this;}
132
134
138 inline const Aws::Utils::DateTime& GetStartDate() const { return m_startDate; }
139 inline bool StartDateHasBeenSet() const { return m_startDateHasBeenSet; }
140 template<typename StartDateT = Aws::Utils::DateTime>
141 void SetStartDate(StartDateT&& value) { m_startDateHasBeenSet = true; m_startDate = std::forward<StartDateT>(value); }
142 template<typename StartDateT = Aws::Utils::DateTime>
143 BatchGetAssetPropertyAggregatesEntry& WithStartDate(StartDateT&& value) { SetStartDate(std::forward<StartDateT>(value)); return *this;}
145
147
151 inline const Aws::Utils::DateTime& GetEndDate() const { return m_endDate; }
152 inline bool EndDateHasBeenSet() const { return m_endDateHasBeenSet; }
153 template<typename EndDateT = Aws::Utils::DateTime>
154 void SetEndDate(EndDateT&& value) { m_endDateHasBeenSet = true; m_endDate = std::forward<EndDateT>(value); }
155 template<typename EndDateT = Aws::Utils::DateTime>
156 BatchGetAssetPropertyAggregatesEntry& WithEndDate(EndDateT&& value) { SetEndDate(std::forward<EndDateT>(value)); return *this;}
158
160
163 inline const Aws::Vector<Quality>& GetQualities() const { return m_qualities; }
164 inline bool QualitiesHasBeenSet() const { return m_qualitiesHasBeenSet; }
165 template<typename QualitiesT = Aws::Vector<Quality>>
166 void SetQualities(QualitiesT&& value) { m_qualitiesHasBeenSet = true; m_qualities = std::forward<QualitiesT>(value); }
167 template<typename QualitiesT = Aws::Vector<Quality>>
168 BatchGetAssetPropertyAggregatesEntry& WithQualities(QualitiesT&& value) { SetQualities(std::forward<QualitiesT>(value)); return *this;}
169 inline BatchGetAssetPropertyAggregatesEntry& AddQualities(Quality value) { m_qualitiesHasBeenSet = true; m_qualities.push_back(value); return *this; }
171
173
177 inline TimeOrdering GetTimeOrdering() const { return m_timeOrdering; }
178 inline bool TimeOrderingHasBeenSet() const { return m_timeOrderingHasBeenSet; }
179 inline void SetTimeOrdering(TimeOrdering value) { m_timeOrderingHasBeenSet = true; m_timeOrdering = value; }
182 private:
183
184 Aws::String m_entryId;
185 bool m_entryIdHasBeenSet = false;
186
187 Aws::String m_assetId;
188 bool m_assetIdHasBeenSet = false;
189
190 Aws::String m_propertyId;
191 bool m_propertyIdHasBeenSet = false;
192
193 Aws::String m_propertyAlias;
194 bool m_propertyAliasHasBeenSet = false;
195
196 Aws::Vector<AggregateType> m_aggregateTypes;
197 bool m_aggregateTypesHasBeenSet = false;
198
199 Aws::String m_resolution;
200 bool m_resolutionHasBeenSet = false;
201
202 Aws::Utils::DateTime m_startDate{};
203 bool m_startDateHasBeenSet = false;
204
205 Aws::Utils::DateTime m_endDate{};
206 bool m_endDateHasBeenSet = false;
207
208 Aws::Vector<Quality> m_qualities;
209 bool m_qualitiesHasBeenSet = false;
210
211 TimeOrdering m_timeOrdering{TimeOrdering::NOT_SET};
212 bool m_timeOrderingHasBeenSet = false;
213 };
214
215} // namespace Model
216} // namespace IoTSiteWise
217} // namespace Aws
BatchGetAssetPropertyAggregatesEntry & WithPropertyId(PropertyIdT &&value)
void SetEntryId(EntryIdT &&value)
bool AssetIdHasBeenSet() const
bool EntryIdHasBeenSet() const
void SetEndDate(EndDateT &&value)
TimeOrdering GetTimeOrdering() const
bool TimeOrderingHasBeenSet() const
const Aws::String & GetPropertyAlias() const
bool PropertyAliasHasBeenSet() const
const Aws::String & GetAssetId() const
AWS_IOTSITEWISE_API BatchGetAssetPropertyAggregatesEntry(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetResolution() const
void SetAssetId(AssetIdT &&value)
bool EndDateHasBeenSet() const
const Aws::String & GetEntryId() const
BatchGetAssetPropertyAggregatesEntry & AddAggregateTypes(AggregateType value)
BatchGetAssetPropertyAggregatesEntry & WithPropertyAlias(PropertyAliasT &&value)
const Aws::Vector< Quality > & GetQualities() const
void SetTimeOrdering(TimeOrdering value)
bool PropertyIdHasBeenSet() const
BatchGetAssetPropertyAggregatesEntry & WithEndDate(EndDateT &&value)
const Aws::Vector< AggregateType > & GetAggregateTypes() const
bool StartDateHasBeenSet() const
BatchGetAssetPropertyAggregatesEntry & WithAggregateTypes(AggregateTypesT &&value)
const Aws::Utils::DateTime & GetStartDate() const
const Aws::Utils::DateTime & GetEndDate() const
void SetAggregateTypes(AggregateTypesT &&value)
BatchGetAssetPropertyAggregatesEntry & WithEntryId(EntryIdT &&value)
void SetPropertyAlias(PropertyAliasT &&value)
BatchGetAssetPropertyAggregatesEntry & WithResolution(ResolutionT &&value)
AWS_IOTSITEWISE_API BatchGetAssetPropertyAggregatesEntry()=default
void SetResolution(ResolutionT &&value)
BatchGetAssetPropertyAggregatesEntry & WithStartDate(StartDateT &&value)
BatchGetAssetPropertyAggregatesEntry & WithAssetId(AssetIdT &&value)
const Aws::String & GetPropertyId() const
void SetStartDate(StartDateT &&value)
void SetQualities(QualitiesT &&value)
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPropertyId(PropertyIdT &&value)
bool AggregateTypesHasBeenSet() const
bool ResolutionHasBeenSet() const
bool QualitiesHasBeenSet() const
BatchGetAssetPropertyAggregatesEntry & WithQualities(QualitiesT &&value)
BatchGetAssetPropertyAggregatesEntry & WithTimeOrdering(TimeOrdering value)
AWS_IOTSITEWISE_API BatchGetAssetPropertyAggregatesEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchGetAssetPropertyAggregatesEntry & AddQualities(Quality value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue