AWS SDK for C++  1.8.126
AWS SDK for C++
PutAssetPropertyValueEntry.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace IoTSiteWise
24 {
25 namespace Model
26 {
27 
37  {
38  public:
43 
44 
49  inline const Aws::String& GetEntryId() const{ return m_entryId; }
50 
55  inline bool EntryIdHasBeenSet() const { return m_entryIdHasBeenSet; }
56 
61  inline void SetEntryId(const Aws::String& value) { m_entryIdHasBeenSet = true; m_entryId = value; }
62 
67  inline void SetEntryId(Aws::String&& value) { m_entryIdHasBeenSet = true; m_entryId = std::move(value); }
68 
73  inline void SetEntryId(const char* value) { m_entryIdHasBeenSet = true; m_entryId.assign(value); }
74 
79  inline PutAssetPropertyValueEntry& WithEntryId(const Aws::String& value) { SetEntryId(value); return *this;}
80 
85  inline PutAssetPropertyValueEntry& WithEntryId(Aws::String&& value) { SetEntryId(std::move(value)); return *this;}
86 
91  inline PutAssetPropertyValueEntry& WithEntryId(const char* value) { SetEntryId(value); return *this;}
92 
93 
97  inline const Aws::String& GetAssetId() const{ return m_assetId; }
98 
102  inline bool AssetIdHasBeenSet() const { return m_assetIdHasBeenSet; }
103 
107  inline void SetAssetId(const Aws::String& value) { m_assetIdHasBeenSet = true; m_assetId = value; }
108 
112  inline void SetAssetId(Aws::String&& value) { m_assetIdHasBeenSet = true; m_assetId = std::move(value); }
113 
117  inline void SetAssetId(const char* value) { m_assetIdHasBeenSet = true; m_assetId.assign(value); }
118 
122  inline PutAssetPropertyValueEntry& WithAssetId(const Aws::String& value) { SetAssetId(value); return *this;}
123 
127  inline PutAssetPropertyValueEntry& WithAssetId(Aws::String&& value) { SetAssetId(std::move(value)); return *this;}
128 
132  inline PutAssetPropertyValueEntry& WithAssetId(const char* value) { SetAssetId(value); return *this;}
133 
134 
138  inline const Aws::String& GetPropertyId() const{ return m_propertyId; }
139 
143  inline bool PropertyIdHasBeenSet() const { return m_propertyIdHasBeenSet; }
144 
148  inline void SetPropertyId(const Aws::String& value) { m_propertyIdHasBeenSet = true; m_propertyId = value; }
149 
153  inline void SetPropertyId(Aws::String&& value) { m_propertyIdHasBeenSet = true; m_propertyId = std::move(value); }
154 
158  inline void SetPropertyId(const char* value) { m_propertyIdHasBeenSet = true; m_propertyId.assign(value); }
159 
163  inline PutAssetPropertyValueEntry& WithPropertyId(const Aws::String& value) { SetPropertyId(value); return *this;}
164 
168  inline PutAssetPropertyValueEntry& WithPropertyId(Aws::String&& value) { SetPropertyId(std::move(value)); return *this;}
169 
173  inline PutAssetPropertyValueEntry& WithPropertyId(const char* value) { SetPropertyId(value); return *this;}
174 
175 
185  inline const Aws::String& GetPropertyAlias() const{ return m_propertyAlias; }
186 
196  inline bool PropertyAliasHasBeenSet() const { return m_propertyAliasHasBeenSet; }
197 
207  inline void SetPropertyAlias(const Aws::String& value) { m_propertyAliasHasBeenSet = true; m_propertyAlias = value; }
208 
218  inline void SetPropertyAlias(Aws::String&& value) { m_propertyAliasHasBeenSet = true; m_propertyAlias = std::move(value); }
219 
229  inline void SetPropertyAlias(const char* value) { m_propertyAliasHasBeenSet = true; m_propertyAlias.assign(value); }
230 
240  inline PutAssetPropertyValueEntry& WithPropertyAlias(const Aws::String& value) { SetPropertyAlias(value); return *this;}
241 
251  inline PutAssetPropertyValueEntry& WithPropertyAlias(Aws::String&& value) { SetPropertyAlias(std::move(value)); return *this;}
252 
262  inline PutAssetPropertyValueEntry& WithPropertyAlias(const char* value) { SetPropertyAlias(value); return *this;}
263 
264 
269  inline const Aws::Vector<AssetPropertyValue>& GetPropertyValues() const{ return m_propertyValues; }
270 
275  inline bool PropertyValuesHasBeenSet() const { return m_propertyValuesHasBeenSet; }
276 
281  inline void SetPropertyValues(const Aws::Vector<AssetPropertyValue>& value) { m_propertyValuesHasBeenSet = true; m_propertyValues = value; }
282 
287  inline void SetPropertyValues(Aws::Vector<AssetPropertyValue>&& value) { m_propertyValuesHasBeenSet = true; m_propertyValues = std::move(value); }
288 
293  inline PutAssetPropertyValueEntry& WithPropertyValues(const Aws::Vector<AssetPropertyValue>& value) { SetPropertyValues(value); return *this;}
294 
299  inline PutAssetPropertyValueEntry& WithPropertyValues(Aws::Vector<AssetPropertyValue>&& value) { SetPropertyValues(std::move(value)); return *this;}
300 
305  inline PutAssetPropertyValueEntry& AddPropertyValues(const AssetPropertyValue& value) { m_propertyValuesHasBeenSet = true; m_propertyValues.push_back(value); return *this; }
306 
311  inline PutAssetPropertyValueEntry& AddPropertyValues(AssetPropertyValue&& value) { m_propertyValuesHasBeenSet = true; m_propertyValues.push_back(std::move(value)); return *this; }
312 
313  private:
314 
315  Aws::String m_entryId;
316  bool m_entryIdHasBeenSet;
317 
318  Aws::String m_assetId;
319  bool m_assetIdHasBeenSet;
320 
321  Aws::String m_propertyId;
322  bool m_propertyIdHasBeenSet;
323 
324  Aws::String m_propertyAlias;
325  bool m_propertyAliasHasBeenSet;
326 
327  Aws::Vector<AssetPropertyValue> m_propertyValues;
328  bool m_propertyValuesHasBeenSet;
329  };
330 
331 } // namespace Model
332 } // namespace IoTSiteWise
333 } // namespace Aws
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::GetEntryId
const Aws::String & GetEntryId() const
Definition: PutAssetPropertyValueEntry.h:49
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::PutAssetPropertyValueEntry
PutAssetPropertyValueEntry()
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::SetEntryId
void SetEntryId(const char *value)
Definition: PutAssetPropertyValueEntry.h:73
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::WithPropertyAlias
PutAssetPropertyValueEntry & WithPropertyAlias(Aws::String &&value)
Definition: PutAssetPropertyValueEntry.h:251
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::WithAssetId
PutAssetPropertyValueEntry & WithAssetId(const Aws::String &value)
Definition: PutAssetPropertyValueEntry.h:122
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::SetAssetId
void SetAssetId(const Aws::String &value)
Definition: PutAssetPropertyValueEntry.h:107
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::WithPropertyValues
PutAssetPropertyValueEntry & WithPropertyValues(Aws::Vector< AssetPropertyValue > &&value)
Definition: PutAssetPropertyValueEntry.h:299
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::WithPropertyId
PutAssetPropertyValueEntry & WithPropertyId(const Aws::String &value)
Definition: PutAssetPropertyValueEntry.h:163
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::WithPropertyId
PutAssetPropertyValueEntry & WithPropertyId(const char *value)
Definition: PutAssetPropertyValueEntry.h:173
IoTSiteWise_EXPORTS.h
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::SetEntryId
void SetEntryId(const Aws::String &value)
Definition: PutAssetPropertyValueEntry.h:61
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::EntryIdHasBeenSet
bool EntryIdHasBeenSet() const
Definition: PutAssetPropertyValueEntry.h:55
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::PropertyAliasHasBeenSet
bool PropertyAliasHasBeenSet() const
Definition: PutAssetPropertyValueEntry.h:196
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::GetPropertyValues
const Aws::Vector< AssetPropertyValue > & GetPropertyValues() const
Definition: PutAssetPropertyValueEntry.h:269
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry
Definition: PutAssetPropertyValueEntry.h:37
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::AssetIdHasBeenSet
bool AssetIdHasBeenSet() const
Definition: PutAssetPropertyValueEntry.h:102
AWSVector.h
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::WithEntryId
PutAssetPropertyValueEntry & WithEntryId(const Aws::String &value)
Definition: PutAssetPropertyValueEntry.h:79
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::WithPropertyId
PutAssetPropertyValueEntry & WithPropertyId(Aws::String &&value)
Definition: PutAssetPropertyValueEntry.h:168
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::SetPropertyValues
void SetPropertyValues(const Aws::Vector< AssetPropertyValue > &value)
Definition: PutAssetPropertyValueEntry.h:281
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::PropertyValuesHasBeenSet
bool PropertyValuesHasBeenSet() const
Definition: PutAssetPropertyValueEntry.h:275
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::SetPropertyId
void SetPropertyId(const Aws::String &value)
Definition: PutAssetPropertyValueEntry.h:148
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::WithPropertyAlias
PutAssetPropertyValueEntry & WithPropertyAlias(const char *value)
Definition: PutAssetPropertyValueEntry.h:262
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::SetPropertyId
void SetPropertyId(Aws::String &&value)
Definition: PutAssetPropertyValueEntry.h:153
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::GetAssetId
const Aws::String & GetAssetId() const
Definition: PutAssetPropertyValueEntry.h:97
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::AddPropertyValues
PutAssetPropertyValueEntry & AddPropertyValues(const AssetPropertyValue &value)
Definition: PutAssetPropertyValueEntry.h:305
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::SetAssetId
void SetAssetId(const char *value)
Definition: PutAssetPropertyValueEntry.h:117
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::operator=
PutAssetPropertyValueEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTSiteWise::Model::AssetPropertyValue
Definition: AssetPropertyValue.h:34
AssetPropertyValue.h
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::WithAssetId
PutAssetPropertyValueEntry & WithAssetId(Aws::String &&value)
Definition: PutAssetPropertyValueEntry.h:127
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::SetEntryId
void SetEntryId(Aws::String &&value)
Definition: PutAssetPropertyValueEntry.h:67
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::GetPropertyAlias
const Aws::String & GetPropertyAlias() const
Definition: PutAssetPropertyValueEntry.h:185
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::SetAssetId
void SetAssetId(Aws::String &&value)
Definition: PutAssetPropertyValueEntry.h:112
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::WithEntryId
PutAssetPropertyValueEntry & WithEntryId(const char *value)
Definition: PutAssetPropertyValueEntry.h:91
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::PropertyIdHasBeenSet
bool PropertyIdHasBeenSet() const
Definition: PutAssetPropertyValueEntry.h:143
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::SetPropertyValues
void SetPropertyValues(Aws::Vector< AssetPropertyValue > &&value)
Definition: PutAssetPropertyValueEntry.h:287
Aws
Definition: AccessManagementClient.h:15
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::AddPropertyValues
PutAssetPropertyValueEntry & AddPropertyValues(AssetPropertyValue &&value)
Definition: PutAssetPropertyValueEntry.h:311
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::GetPropertyId
const Aws::String & GetPropertyId() const
Definition: PutAssetPropertyValueEntry.h:138
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::SetPropertyAlias
void SetPropertyAlias(const Aws::String &value)
Definition: PutAssetPropertyValueEntry.h:207
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::WithEntryId
PutAssetPropertyValueEntry & WithEntryId(Aws::String &&value)
Definition: PutAssetPropertyValueEntry.h:85
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::WithAssetId
PutAssetPropertyValueEntry & WithAssetId(const char *value)
Definition: PutAssetPropertyValueEntry.h:132
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::WithPropertyValues
PutAssetPropertyValueEntry & WithPropertyValues(const Aws::Vector< AssetPropertyValue > &value)
Definition: PutAssetPropertyValueEntry.h:293
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::SetPropertyAlias
void SetPropertyAlias(const char *value)
Definition: PutAssetPropertyValueEntry.h:229
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::SetPropertyId
void SetPropertyId(const char *value)
Definition: PutAssetPropertyValueEntry.h:158
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::PutAssetPropertyValueEntry
PutAssetPropertyValueEntry(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::SetPropertyAlias
void SetPropertyAlias(Aws::String &&value)
Definition: PutAssetPropertyValueEntry.h:218
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::WithPropertyAlias
PutAssetPropertyValueEntry & WithPropertyAlias(const Aws::String &value)
Definition: PutAssetPropertyValueEntry.h:240