AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetEntryId(const Aws::String& value) { m_entryIdHasBeenSet = true; m_entryId = value; }
62 inline void SetEntryId(Aws::String&& value) { m_entryIdHasBeenSet = true; m_entryId = std::move(value); }
63 inline void SetEntryId(const char* value) { m_entryIdHasBeenSet = true; m_entryId.assign(value); }
64 inline BatchGetAssetPropertyAggregatesEntry& WithEntryId(const Aws::String& value) { SetEntryId(value); return *this;}
65 inline BatchGetAssetPropertyAggregatesEntry& WithEntryId(Aws::String&& value) { SetEntryId(std::move(value)); return *this;}
66 inline BatchGetAssetPropertyAggregatesEntry& WithEntryId(const char* value) { SetEntryId(value); return *this;}
68
70
73 inline const Aws::String& GetAssetId() const{ return m_assetId; }
74 inline bool AssetIdHasBeenSet() const { return m_assetIdHasBeenSet; }
75 inline void SetAssetId(const Aws::String& value) { m_assetIdHasBeenSet = true; m_assetId = value; }
76 inline void SetAssetId(Aws::String&& value) { m_assetIdHasBeenSet = true; m_assetId = std::move(value); }
77 inline void SetAssetId(const char* value) { m_assetIdHasBeenSet = true; m_assetId.assign(value); }
78 inline BatchGetAssetPropertyAggregatesEntry& WithAssetId(const Aws::String& value) { SetAssetId(value); return *this;}
79 inline BatchGetAssetPropertyAggregatesEntry& WithAssetId(Aws::String&& value) { SetAssetId(std::move(value)); return *this;}
80 inline BatchGetAssetPropertyAggregatesEntry& WithAssetId(const char* value) { SetAssetId(value); return *this;}
82
84
87 inline const Aws::String& GetPropertyId() const{ return m_propertyId; }
88 inline bool PropertyIdHasBeenSet() const { return m_propertyIdHasBeenSet; }
89 inline void SetPropertyId(const Aws::String& value) { m_propertyIdHasBeenSet = true; m_propertyId = value; }
90 inline void SetPropertyId(Aws::String&& value) { m_propertyIdHasBeenSet = true; m_propertyId = std::move(value); }
91 inline void SetPropertyId(const char* value) { m_propertyIdHasBeenSet = true; m_propertyId.assign(value); }
93 inline BatchGetAssetPropertyAggregatesEntry& WithPropertyId(Aws::String&& value) { SetPropertyId(std::move(value)); return *this;}
94 inline BatchGetAssetPropertyAggregatesEntry& WithPropertyId(const char* value) { SetPropertyId(value); return *this;}
96
98
106 inline const Aws::String& GetPropertyAlias() const{ return m_propertyAlias; }
107 inline bool PropertyAliasHasBeenSet() const { return m_propertyAliasHasBeenSet; }
108 inline void SetPropertyAlias(const Aws::String& value) { m_propertyAliasHasBeenSet = true; m_propertyAlias = value; }
109 inline void SetPropertyAlias(Aws::String&& value) { m_propertyAliasHasBeenSet = true; m_propertyAlias = std::move(value); }
110 inline void SetPropertyAlias(const char* value) { m_propertyAliasHasBeenSet = true; m_propertyAlias.assign(value); }
112 inline BatchGetAssetPropertyAggregatesEntry& WithPropertyAlias(Aws::String&& value) { SetPropertyAlias(std::move(value)); return *this;}
113 inline BatchGetAssetPropertyAggregatesEntry& WithPropertyAlias(const char* value) { SetPropertyAlias(value); return *this;}
115
117
120 inline const Aws::Vector<AggregateType>& GetAggregateTypes() const{ return m_aggregateTypes; }
121 inline bool AggregateTypesHasBeenSet() const { return m_aggregateTypesHasBeenSet; }
122 inline void SetAggregateTypes(const Aws::Vector<AggregateType>& value) { m_aggregateTypesHasBeenSet = true; m_aggregateTypes = value; }
123 inline void SetAggregateTypes(Aws::Vector<AggregateType>&& value) { m_aggregateTypesHasBeenSet = true; m_aggregateTypes = std::move(value); }
126 inline BatchGetAssetPropertyAggregatesEntry& AddAggregateTypes(const AggregateType& value) { m_aggregateTypesHasBeenSet = true; m_aggregateTypes.push_back(value); return *this; }
127 inline BatchGetAssetPropertyAggregatesEntry& AddAggregateTypes(AggregateType&& value) { m_aggregateTypesHasBeenSet = true; m_aggregateTypes.push_back(std::move(value)); return *this; }
129
131
134 inline const Aws::String& GetResolution() const{ return m_resolution; }
135 inline bool ResolutionHasBeenSet() const { return m_resolutionHasBeenSet; }
136 inline void SetResolution(const Aws::String& value) { m_resolutionHasBeenSet = true; m_resolution = value; }
137 inline void SetResolution(Aws::String&& value) { m_resolutionHasBeenSet = true; m_resolution = std::move(value); }
138 inline void SetResolution(const char* value) { m_resolutionHasBeenSet = true; m_resolution.assign(value); }
140 inline BatchGetAssetPropertyAggregatesEntry& WithResolution(Aws::String&& value) { SetResolution(std::move(value)); return *this;}
141 inline BatchGetAssetPropertyAggregatesEntry& WithResolution(const char* value) { SetResolution(value); return *this;}
143
145
149 inline const Aws::Utils::DateTime& GetStartDate() const{ return m_startDate; }
150 inline bool StartDateHasBeenSet() const { return m_startDateHasBeenSet; }
151 inline void SetStartDate(const Aws::Utils::DateTime& value) { m_startDateHasBeenSet = true; m_startDate = value; }
152 inline void SetStartDate(Aws::Utils::DateTime&& value) { m_startDateHasBeenSet = true; m_startDate = std::move(value); }
154 inline BatchGetAssetPropertyAggregatesEntry& WithStartDate(Aws::Utils::DateTime&& value) { SetStartDate(std::move(value)); return *this;}
156
158
162 inline const Aws::Utils::DateTime& GetEndDate() const{ return m_endDate; }
163 inline bool EndDateHasBeenSet() const { return m_endDateHasBeenSet; }
164 inline void SetEndDate(const Aws::Utils::DateTime& value) { m_endDateHasBeenSet = true; m_endDate = value; }
165 inline void SetEndDate(Aws::Utils::DateTime&& value) { m_endDateHasBeenSet = true; m_endDate = std::move(value); }
167 inline BatchGetAssetPropertyAggregatesEntry& WithEndDate(Aws::Utils::DateTime&& value) { SetEndDate(std::move(value)); return *this;}
169
171
174 inline const Aws::Vector<Quality>& GetQualities() const{ return m_qualities; }
175 inline bool QualitiesHasBeenSet() const { return m_qualitiesHasBeenSet; }
176 inline void SetQualities(const Aws::Vector<Quality>& value) { m_qualitiesHasBeenSet = true; m_qualities = value; }
177 inline void SetQualities(Aws::Vector<Quality>&& value) { m_qualitiesHasBeenSet = true; m_qualities = std::move(value); }
179 inline BatchGetAssetPropertyAggregatesEntry& WithQualities(Aws::Vector<Quality>&& value) { SetQualities(std::move(value)); return *this;}
180 inline BatchGetAssetPropertyAggregatesEntry& AddQualities(const Quality& value) { m_qualitiesHasBeenSet = true; m_qualities.push_back(value); return *this; }
181 inline BatchGetAssetPropertyAggregatesEntry& AddQualities(Quality&& value) { m_qualitiesHasBeenSet = true; m_qualities.push_back(std::move(value)); return *this; }
183
185
189 inline const TimeOrdering& GetTimeOrdering() const{ return m_timeOrdering; }
190 inline bool TimeOrderingHasBeenSet() const { return m_timeOrderingHasBeenSet; }
191 inline void SetTimeOrdering(const TimeOrdering& value) { m_timeOrderingHasBeenSet = true; m_timeOrdering = value; }
192 inline void SetTimeOrdering(TimeOrdering&& value) { m_timeOrderingHasBeenSet = true; m_timeOrdering = std::move(value); }
194 inline BatchGetAssetPropertyAggregatesEntry& WithTimeOrdering(TimeOrdering&& value) { SetTimeOrdering(std::move(value)); return *this;}
196 private:
197
198 Aws::String m_entryId;
199 bool m_entryIdHasBeenSet = false;
200
201 Aws::String m_assetId;
202 bool m_assetIdHasBeenSet = false;
203
204 Aws::String m_propertyId;
205 bool m_propertyIdHasBeenSet = false;
206
207 Aws::String m_propertyAlias;
208 bool m_propertyAliasHasBeenSet = false;
209
210 Aws::Vector<AggregateType> m_aggregateTypes;
211 bool m_aggregateTypesHasBeenSet = false;
212
213 Aws::String m_resolution;
214 bool m_resolutionHasBeenSet = false;
215
216 Aws::Utils::DateTime m_startDate;
217 bool m_startDateHasBeenSet = false;
218
219 Aws::Utils::DateTime m_endDate;
220 bool m_endDateHasBeenSet = false;
221
222 Aws::Vector<Quality> m_qualities;
223 bool m_qualitiesHasBeenSet = false;
224
225 TimeOrdering m_timeOrdering;
226 bool m_timeOrderingHasBeenSet = false;
227 };
228
229} // namespace Model
230} // namespace IoTSiteWise
231} // namespace Aws
void SetAggregateTypes(const Aws::Vector< AggregateType > &value)
BatchGetAssetPropertyAggregatesEntry & WithStartDate(Aws::Utils::DateTime &&value)
void SetResolution(const Aws::String &value)
BatchGetAssetPropertyAggregatesEntry & AddQualities(const Quality &value)
bool AssetIdHasBeenSet() const
bool EntryIdHasBeenSet() const
void SetResolution(Aws::String &&value)
bool TimeOrderingHasBeenSet() const
const Aws::String & GetPropertyAlias() const
bool PropertyAliasHasBeenSet() const
BatchGetAssetPropertyAggregatesEntry & WithPropertyAlias(const char *value)
const Aws::String & GetAssetId() const
BatchGetAssetPropertyAggregatesEntry & WithEndDate(const Aws::Utils::DateTime &value)
AWS_IOTSITEWISE_API BatchGetAssetPropertyAggregatesEntry(Aws::Utils::Json::JsonView jsonValue)
BatchGetAssetPropertyAggregatesEntry & WithEntryId(Aws::String &&value)
BatchGetAssetPropertyAggregatesEntry & WithEntryId(const Aws::String &value)
const Aws::String & GetResolution() const
void SetPropertyId(const char *value)
bool EndDateHasBeenSet() const
const Aws::String & GetEntryId() const
BatchGetAssetPropertyAggregatesEntry & AddAggregateTypes(AggregateType &&value)
void SetPropertyAlias(Aws::String &&value)
BatchGetAssetPropertyAggregatesEntry & WithResolution(const Aws::String &value)
void SetTimeOrdering(TimeOrdering &&value)
BatchGetAssetPropertyAggregatesEntry & WithResolution(const char *value)
AWS_IOTSITEWISE_API BatchGetAssetPropertyAggregatesEntry()
void SetPropertyId(Aws::String &&value)
void SetAggregateTypes(Aws::Vector< AggregateType > &&value)
void SetPropertyAlias(const char *value)
BatchGetAssetPropertyAggregatesEntry & WithAssetId(const Aws::String &value)
const Aws::Vector< Quality > & GetQualities() const
const TimeOrdering & GetTimeOrdering() const
BatchGetAssetPropertyAggregatesEntry & WithTimeOrdering(const TimeOrdering &value)
BatchGetAssetPropertyAggregatesEntry & WithStartDate(const Aws::Utils::DateTime &value)
BatchGetAssetPropertyAggregatesEntry & WithQualities(const Aws::Vector< Quality > &value)
void SetQualities(Aws::Vector< Quality > &&value)
void SetStartDate(const Aws::Utils::DateTime &value)
BatchGetAssetPropertyAggregatesEntry & WithTimeOrdering(TimeOrdering &&value)
BatchGetAssetPropertyAggregatesEntry & WithAggregateTypes(Aws::Vector< AggregateType > &&value)
BatchGetAssetPropertyAggregatesEntry & WithPropertyAlias(const Aws::String &value)
void SetTimeOrdering(const TimeOrdering &value)
BatchGetAssetPropertyAggregatesEntry & WithPropertyAlias(Aws::String &&value)
bool PropertyIdHasBeenSet() const
BatchGetAssetPropertyAggregatesEntry & WithResolution(Aws::String &&value)
void SetPropertyAlias(const Aws::String &value)
const Aws::Vector< AggregateType > & GetAggregateTypes() const
BatchGetAssetPropertyAggregatesEntry & AddAggregateTypes(const AggregateType &value)
bool StartDateHasBeenSet() const
BatchGetAssetPropertyAggregatesEntry & WithQualities(Aws::Vector< Quality > &&value)
BatchGetAssetPropertyAggregatesEntry & AddQualities(Quality &&value)
const Aws::Utils::DateTime & GetStartDate() const
const Aws::Utils::DateTime & GetEndDate() const
void SetResolution(const char *value)
void SetEntryId(const char *value)
BatchGetAssetPropertyAggregatesEntry & WithEndDate(Aws::Utils::DateTime &&value)
BatchGetAssetPropertyAggregatesEntry & WithPropertyId(const Aws::String &value)
void SetAssetId(const Aws::String &value)
BatchGetAssetPropertyAggregatesEntry & WithPropertyId(Aws::String &&value)
void SetPropertyId(const Aws::String &value)
BatchGetAssetPropertyAggregatesEntry & WithAssetId(Aws::String &&value)
void SetEntryId(const Aws::String &value)
void SetStartDate(Aws::Utils::DateTime &&value)
void SetAssetId(Aws::String &&value)
const Aws::String & GetPropertyId() const
BatchGetAssetPropertyAggregatesEntry & WithEntryId(const char *value)
void SetEndDate(const Aws::Utils::DateTime &value)
BatchGetAssetPropertyAggregatesEntry & WithAssetId(const char *value)
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetQualities(const Aws::Vector< Quality > &value)
bool AggregateTypesHasBeenSet() const
void SetEndDate(Aws::Utils::DateTime &&value)
bool ResolutionHasBeenSet() const
bool QualitiesHasBeenSet() const
BatchGetAssetPropertyAggregatesEntry & WithPropertyId(const char *value)
void SetEntryId(Aws::String &&value)
void SetAssetId(const char *value)
AWS_IOTSITEWISE_API BatchGetAssetPropertyAggregatesEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchGetAssetPropertyAggregatesEntry & WithAggregateTypes(const Aws::Vector< AggregateType > &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