AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TimeSeriesSummary.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotsitewise/model/PropertyDataType.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IoTSiteWise
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_IOTSITEWISE_API TimeSeriesSummary();
38 AWS_IOTSITEWISE_API TimeSeriesSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetAssetId() const{ return m_assetId; }
48 inline bool AssetIdHasBeenSet() const { return m_assetIdHasBeenSet; }
49 inline void SetAssetId(const Aws::String& value) { m_assetIdHasBeenSet = true; m_assetId = value; }
50 inline void SetAssetId(Aws::String&& value) { m_assetIdHasBeenSet = true; m_assetId = std::move(value); }
51 inline void SetAssetId(const char* value) { m_assetIdHasBeenSet = true; m_assetId.assign(value); }
52 inline TimeSeriesSummary& WithAssetId(const Aws::String& value) { SetAssetId(value); return *this;}
53 inline TimeSeriesSummary& WithAssetId(Aws::String&& value) { SetAssetId(std::move(value)); return *this;}
54 inline TimeSeriesSummary& WithAssetId(const char* value) { SetAssetId(value); return *this;}
56
58
61 inline const Aws::String& GetPropertyId() const{ return m_propertyId; }
62 inline bool PropertyIdHasBeenSet() const { return m_propertyIdHasBeenSet; }
63 inline void SetPropertyId(const Aws::String& value) { m_propertyIdHasBeenSet = true; m_propertyId = value; }
64 inline void SetPropertyId(Aws::String&& value) { m_propertyIdHasBeenSet = true; m_propertyId = std::move(value); }
65 inline void SetPropertyId(const char* value) { m_propertyIdHasBeenSet = true; m_propertyId.assign(value); }
66 inline TimeSeriesSummary& WithPropertyId(const Aws::String& value) { SetPropertyId(value); return *this;}
67 inline TimeSeriesSummary& WithPropertyId(Aws::String&& value) { SetPropertyId(std::move(value)); return *this;}
68 inline TimeSeriesSummary& WithPropertyId(const char* value) { SetPropertyId(value); return *this;}
70
72
75 inline const Aws::String& GetAlias() const{ return m_alias; }
76 inline bool AliasHasBeenSet() const { return m_aliasHasBeenSet; }
77 inline void SetAlias(const Aws::String& value) { m_aliasHasBeenSet = true; m_alias = value; }
78 inline void SetAlias(Aws::String&& value) { m_aliasHasBeenSet = true; m_alias = std::move(value); }
79 inline void SetAlias(const char* value) { m_aliasHasBeenSet = true; m_alias.assign(value); }
80 inline TimeSeriesSummary& WithAlias(const Aws::String& value) { SetAlias(value); return *this;}
81 inline TimeSeriesSummary& WithAlias(Aws::String&& value) { SetAlias(std::move(value)); return *this;}
82 inline TimeSeriesSummary& WithAlias(const char* value) { SetAlias(value); return *this;}
84
86
89 inline const Aws::String& GetTimeSeriesId() const{ return m_timeSeriesId; }
90 inline bool TimeSeriesIdHasBeenSet() const { return m_timeSeriesIdHasBeenSet; }
91 inline void SetTimeSeriesId(const Aws::String& value) { m_timeSeriesIdHasBeenSet = true; m_timeSeriesId = value; }
92 inline void SetTimeSeriesId(Aws::String&& value) { m_timeSeriesIdHasBeenSet = true; m_timeSeriesId = std::move(value); }
93 inline void SetTimeSeriesId(const char* value) { m_timeSeriesIdHasBeenSet = true; m_timeSeriesId.assign(value); }
94 inline TimeSeriesSummary& WithTimeSeriesId(const Aws::String& value) { SetTimeSeriesId(value); return *this;}
95 inline TimeSeriesSummary& WithTimeSeriesId(Aws::String&& value) { SetTimeSeriesId(std::move(value)); return *this;}
96 inline TimeSeriesSummary& WithTimeSeriesId(const char* value) { SetTimeSeriesId(value); return *this;}
98
100
105 inline const PropertyDataType& GetDataType() const{ return m_dataType; }
106 inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; }
107 inline void SetDataType(const PropertyDataType& value) { m_dataTypeHasBeenSet = true; m_dataType = value; }
108 inline void SetDataType(PropertyDataType&& value) { m_dataTypeHasBeenSet = true; m_dataType = std::move(value); }
109 inline TimeSeriesSummary& WithDataType(const PropertyDataType& value) { SetDataType(value); return *this;}
110 inline TimeSeriesSummary& WithDataType(PropertyDataType&& value) { SetDataType(std::move(value)); return *this;}
112
114
121 inline const Aws::String& GetDataTypeSpec() const{ return m_dataTypeSpec; }
122 inline bool DataTypeSpecHasBeenSet() const { return m_dataTypeSpecHasBeenSet; }
123 inline void SetDataTypeSpec(const Aws::String& value) { m_dataTypeSpecHasBeenSet = true; m_dataTypeSpec = value; }
124 inline void SetDataTypeSpec(Aws::String&& value) { m_dataTypeSpecHasBeenSet = true; m_dataTypeSpec = std::move(value); }
125 inline void SetDataTypeSpec(const char* value) { m_dataTypeSpecHasBeenSet = true; m_dataTypeSpec.assign(value); }
126 inline TimeSeriesSummary& WithDataTypeSpec(const Aws::String& value) { SetDataTypeSpec(value); return *this;}
127 inline TimeSeriesSummary& WithDataTypeSpec(Aws::String&& value) { SetDataTypeSpec(std::move(value)); return *this;}
128 inline TimeSeriesSummary& WithDataTypeSpec(const char* value) { SetDataTypeSpec(value); return *this;}
130
132
135 inline const Aws::Utils::DateTime& GetTimeSeriesCreationDate() const{ return m_timeSeriesCreationDate; }
136 inline bool TimeSeriesCreationDateHasBeenSet() const { return m_timeSeriesCreationDateHasBeenSet; }
137 inline void SetTimeSeriesCreationDate(const Aws::Utils::DateTime& value) { m_timeSeriesCreationDateHasBeenSet = true; m_timeSeriesCreationDate = value; }
138 inline void SetTimeSeriesCreationDate(Aws::Utils::DateTime&& value) { m_timeSeriesCreationDateHasBeenSet = true; m_timeSeriesCreationDate = std::move(value); }
142
144
147 inline const Aws::Utils::DateTime& GetTimeSeriesLastUpdateDate() const{ return m_timeSeriesLastUpdateDate; }
148 inline bool TimeSeriesLastUpdateDateHasBeenSet() const { return m_timeSeriesLastUpdateDateHasBeenSet; }
149 inline void SetTimeSeriesLastUpdateDate(const Aws::Utils::DateTime& value) { m_timeSeriesLastUpdateDateHasBeenSet = true; m_timeSeriesLastUpdateDate = value; }
150 inline void SetTimeSeriesLastUpdateDate(Aws::Utils::DateTime&& value) { m_timeSeriesLastUpdateDateHasBeenSet = true; m_timeSeriesLastUpdateDate = std::move(value); }
154
156
163 inline const Aws::String& GetTimeSeriesArn() const{ return m_timeSeriesArn; }
164 inline bool TimeSeriesArnHasBeenSet() const { return m_timeSeriesArnHasBeenSet; }
165 inline void SetTimeSeriesArn(const Aws::String& value) { m_timeSeriesArnHasBeenSet = true; m_timeSeriesArn = value; }
166 inline void SetTimeSeriesArn(Aws::String&& value) { m_timeSeriesArnHasBeenSet = true; m_timeSeriesArn = std::move(value); }
167 inline void SetTimeSeriesArn(const char* value) { m_timeSeriesArnHasBeenSet = true; m_timeSeriesArn.assign(value); }
168 inline TimeSeriesSummary& WithTimeSeriesArn(const Aws::String& value) { SetTimeSeriesArn(value); return *this;}
169 inline TimeSeriesSummary& WithTimeSeriesArn(Aws::String&& value) { SetTimeSeriesArn(std::move(value)); return *this;}
170 inline TimeSeriesSummary& WithTimeSeriesArn(const char* value) { SetTimeSeriesArn(value); return *this;}
172 private:
173
174 Aws::String m_assetId;
175 bool m_assetIdHasBeenSet = false;
176
177 Aws::String m_propertyId;
178 bool m_propertyIdHasBeenSet = false;
179
180 Aws::String m_alias;
181 bool m_aliasHasBeenSet = false;
182
183 Aws::String m_timeSeriesId;
184 bool m_timeSeriesIdHasBeenSet = false;
185
186 PropertyDataType m_dataType;
187 bool m_dataTypeHasBeenSet = false;
188
189 Aws::String m_dataTypeSpec;
190 bool m_dataTypeSpecHasBeenSet = false;
191
192 Aws::Utils::DateTime m_timeSeriesCreationDate;
193 bool m_timeSeriesCreationDateHasBeenSet = false;
194
195 Aws::Utils::DateTime m_timeSeriesLastUpdateDate;
196 bool m_timeSeriesLastUpdateDateHasBeenSet = false;
197
198 Aws::String m_timeSeriesArn;
199 bool m_timeSeriesArnHasBeenSet = false;
200 };
201
202} // namespace Model
203} // namespace IoTSiteWise
204} // namespace Aws
TimeSeriesSummary & WithDataType(const PropertyDataType &value)
void SetDataTypeSpec(const Aws::String &value)
TimeSeriesSummary & WithTimeSeriesId(Aws::String &&value)
TimeSeriesSummary & WithDataTypeSpec(const char *value)
TimeSeriesSummary & WithAlias(Aws::String &&value)
TimeSeriesSummary & WithTimeSeriesArn(Aws::String &&value)
void SetDataType(const PropertyDataType &value)
void SetTimeSeriesCreationDate(Aws::Utils::DateTime &&value)
void SetTimeSeriesArn(const Aws::String &value)
TimeSeriesSummary & WithAssetId(const Aws::String &value)
const Aws::Utils::DateTime & GetTimeSeriesCreationDate() const
TimeSeriesSummary & WithAlias(const char *value)
TimeSeriesSummary & WithAssetId(const char *value)
TimeSeriesSummary & WithDataTypeSpec(Aws::String &&value)
const PropertyDataType & GetDataType() const
TimeSeriesSummary & WithTimeSeriesArn(const char *value)
void SetTimeSeriesLastUpdateDate(Aws::Utils::DateTime &&value)
TimeSeriesSummary & WithTimeSeriesCreationDate(const Aws::Utils::DateTime &value)
TimeSeriesSummary & WithAssetId(Aws::String &&value)
TimeSeriesSummary & WithTimeSeriesId(const Aws::String &value)
void SetPropertyId(const Aws::String &value)
void SetDataType(PropertyDataType &&value)
void SetAssetId(const Aws::String &value)
void SetTimeSeriesLastUpdateDate(const Aws::Utils::DateTime &value)
TimeSeriesSummary & WithTimeSeriesArn(const Aws::String &value)
void SetTimeSeriesCreationDate(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetTimeSeriesLastUpdateDate() const
TimeSeriesSummary & WithDataType(PropertyDataType &&value)
TimeSeriesSummary & WithAlias(const Aws::String &value)
TimeSeriesSummary & WithTimeSeriesLastUpdateDate(const Aws::Utils::DateTime &value)
TimeSeriesSummary & WithPropertyId(const char *value)
void SetAlias(const Aws::String &value)
AWS_IOTSITEWISE_API TimeSeriesSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTimeSeriesId() const
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTimeSeriesId(const Aws::String &value)
TimeSeriesSummary & WithPropertyId(Aws::String &&value)
TimeSeriesSummary & WithTimeSeriesLastUpdateDate(Aws::Utils::DateTime &&value)
TimeSeriesSummary & WithDataTypeSpec(const Aws::String &value)
TimeSeriesSummary & WithTimeSeriesCreationDate(Aws::Utils::DateTime &&value)
TimeSeriesSummary & WithTimeSeriesId(const char *value)
TimeSeriesSummary & WithPropertyId(const Aws::String &value)
AWS_IOTSITEWISE_API TimeSeriesSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue