AWS SDK for C++  1.9.123
AWS SDK for C++
PutAssetPropertyValueEntry.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
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 IoT
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
48  inline const Aws::String& GetEntryId() const{ return m_entryId; }
49 
55  inline bool EntryIdHasBeenSet() const { return m_entryIdHasBeenSet; }
56 
62  inline void SetEntryId(const Aws::String& value) { m_entryIdHasBeenSet = true; m_entryId = value; }
63 
69  inline void SetEntryId(Aws::String&& value) { m_entryIdHasBeenSet = true; m_entryId = std::move(value); }
70 
76  inline void SetEntryId(const char* value) { m_entryIdHasBeenSet = true; m_entryId.assign(value); }
77 
83  inline PutAssetPropertyValueEntry& WithEntryId(const Aws::String& value) { SetEntryId(value); return *this;}
84 
90  inline PutAssetPropertyValueEntry& WithEntryId(Aws::String&& value) { SetEntryId(std::move(value)); return *this;}
91 
97  inline PutAssetPropertyValueEntry& WithEntryId(const char* value) { SetEntryId(value); return *this;}
98 
99 
105  inline const Aws::String& GetAssetId() const{ return m_assetId; }
106 
112  inline bool AssetIdHasBeenSet() const { return m_assetIdHasBeenSet; }
113 
119  inline void SetAssetId(const Aws::String& value) { m_assetIdHasBeenSet = true; m_assetId = value; }
120 
126  inline void SetAssetId(Aws::String&& value) { m_assetIdHasBeenSet = true; m_assetId = std::move(value); }
127 
133  inline void SetAssetId(const char* value) { m_assetIdHasBeenSet = true; m_assetId.assign(value); }
134 
140  inline PutAssetPropertyValueEntry& WithAssetId(const Aws::String& value) { SetAssetId(value); return *this;}
141 
147  inline PutAssetPropertyValueEntry& WithAssetId(Aws::String&& value) { SetAssetId(std::move(value)); return *this;}
148 
154  inline PutAssetPropertyValueEntry& WithAssetId(const char* value) { SetAssetId(value); return *this;}
155 
156 
162  inline const Aws::String& GetPropertyId() const{ return m_propertyId; }
163 
169  inline bool PropertyIdHasBeenSet() const { return m_propertyIdHasBeenSet; }
170 
176  inline void SetPropertyId(const Aws::String& value) { m_propertyIdHasBeenSet = true; m_propertyId = value; }
177 
183  inline void SetPropertyId(Aws::String&& value) { m_propertyIdHasBeenSet = true; m_propertyId = std::move(value); }
184 
190  inline void SetPropertyId(const char* value) { m_propertyIdHasBeenSet = true; m_propertyId.assign(value); }
191 
197  inline PutAssetPropertyValueEntry& WithPropertyId(const Aws::String& value) { SetPropertyId(value); return *this;}
198 
204  inline PutAssetPropertyValueEntry& WithPropertyId(Aws::String&& value) { SetPropertyId(std::move(value)); return *this;}
205 
211  inline PutAssetPropertyValueEntry& WithPropertyId(const char* value) { SetPropertyId(value); return *this;}
212 
213 
219  inline const Aws::String& GetPropertyAlias() const{ return m_propertyAlias; }
220 
226  inline bool PropertyAliasHasBeenSet() const { return m_propertyAliasHasBeenSet; }
227 
233  inline void SetPropertyAlias(const Aws::String& value) { m_propertyAliasHasBeenSet = true; m_propertyAlias = value; }
234 
240  inline void SetPropertyAlias(Aws::String&& value) { m_propertyAliasHasBeenSet = true; m_propertyAlias = std::move(value); }
241 
247  inline void SetPropertyAlias(const char* value) { m_propertyAliasHasBeenSet = true; m_propertyAlias.assign(value); }
248 
254  inline PutAssetPropertyValueEntry& WithPropertyAlias(const Aws::String& value) { SetPropertyAlias(value); return *this;}
255 
261  inline PutAssetPropertyValueEntry& WithPropertyAlias(Aws::String&& value) { SetPropertyAlias(std::move(value)); return *this;}
262 
268  inline PutAssetPropertyValueEntry& WithPropertyAlias(const char* value) { SetPropertyAlias(value); return *this;}
269 
270 
275  inline const Aws::Vector<AssetPropertyValue>& GetPropertyValues() const{ return m_propertyValues; }
276 
281  inline bool PropertyValuesHasBeenSet() const { return m_propertyValuesHasBeenSet; }
282 
287  inline void SetPropertyValues(const Aws::Vector<AssetPropertyValue>& value) { m_propertyValuesHasBeenSet = true; m_propertyValues = value; }
288 
293  inline void SetPropertyValues(Aws::Vector<AssetPropertyValue>&& value) { m_propertyValuesHasBeenSet = true; m_propertyValues = std::move(value); }
294 
299  inline PutAssetPropertyValueEntry& WithPropertyValues(const Aws::Vector<AssetPropertyValue>& value) { SetPropertyValues(value); return *this;}
300 
305  inline PutAssetPropertyValueEntry& WithPropertyValues(Aws::Vector<AssetPropertyValue>&& value) { SetPropertyValues(std::move(value)); return *this;}
306 
311  inline PutAssetPropertyValueEntry& AddPropertyValues(const AssetPropertyValue& value) { m_propertyValuesHasBeenSet = true; m_propertyValues.push_back(value); return *this; }
312 
317  inline PutAssetPropertyValueEntry& AddPropertyValues(AssetPropertyValue&& value) { m_propertyValuesHasBeenSet = true; m_propertyValues.push_back(std::move(value)); return *this; }
318 
319  private:
320 
321  Aws::String m_entryId;
322  bool m_entryIdHasBeenSet;
323 
324  Aws::String m_assetId;
325  bool m_assetIdHasBeenSet;
326 
327  Aws::String m_propertyId;
328  bool m_propertyIdHasBeenSet;
329 
330  Aws::String m_propertyAlias;
331  bool m_propertyAliasHasBeenSet;
332 
333  Aws::Vector<AssetPropertyValue> m_propertyValues;
334  bool m_propertyValuesHasBeenSet;
335  };
336 
337 } // namespace Model
338 } // namespace IoT
339 } // namespace Aws
Aws::IoT::Model::PutAssetPropertyValueEntry::WithPropertyAlias
PutAssetPropertyValueEntry & WithPropertyAlias(const Aws::String &value)
Definition: PutAssetPropertyValueEntry.h:254
Aws::IoT::Model::PutAssetPropertyValueEntry::GetPropertyValues
const Aws::Vector< AssetPropertyValue > & GetPropertyValues() const
Definition: PutAssetPropertyValueEntry.h:275
Aws::IoT::Model::PutAssetPropertyValueEntry::GetPropertyAlias
const Aws::String & GetPropertyAlias() const
Definition: PutAssetPropertyValueEntry.h:219
Aws::IoT::Model::PutAssetPropertyValueEntry::SetPropertyAlias
void SetPropertyAlias(const char *value)
Definition: PutAssetPropertyValueEntry.h:247
Aws::IoT::Model::PutAssetPropertyValueEntry::SetPropertyAlias
void SetPropertyAlias(Aws::String &&value)
Definition: PutAssetPropertyValueEntry.h:240
Aws::IoT::Model::PutAssetPropertyValueEntry::SetAssetId
void SetAssetId(Aws::String &&value)
Definition: PutAssetPropertyValueEntry.h:126
Aws::IoT::Model::PutAssetPropertyValueEntry::SetAssetId
void SetAssetId(const Aws::String &value)
Definition: PutAssetPropertyValueEntry.h:119
Aws::IoT::Model::PutAssetPropertyValueEntry::EntryIdHasBeenSet
bool EntryIdHasBeenSet() const
Definition: PutAssetPropertyValueEntry.h:55
Aws::IoT::Model::PutAssetPropertyValueEntry::PropertyIdHasBeenSet
bool PropertyIdHasBeenSet() const
Definition: PutAssetPropertyValueEntry.h:169
Aws::IoT::Model::PutAssetPropertyValueEntry::SetEntryId
void SetEntryId(const char *value)
Definition: PutAssetPropertyValueEntry.h:76
Aws::IoT::Model::PutAssetPropertyValueEntry::WithAssetId
PutAssetPropertyValueEntry & WithAssetId(const Aws::String &value)
Definition: PutAssetPropertyValueEntry.h:140
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::IoT::Model::PutAssetPropertyValueEntry::GetAssetId
const Aws::String & GetAssetId() const
Definition: PutAssetPropertyValueEntry.h:105
Aws::IoT::Model::PutAssetPropertyValueEntry::WithEntryId
PutAssetPropertyValueEntry & WithEntryId(const Aws::String &value)
Definition: PutAssetPropertyValueEntry.h:83
AWSVector.h
Aws::IoT::Model::PutAssetPropertyValueEntry::PropertyValuesHasBeenSet
bool PropertyValuesHasBeenSet() const
Definition: PutAssetPropertyValueEntry.h:281
Aws::IoT::Model::PutAssetPropertyValueEntry::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::PutAssetPropertyValueEntry::WithPropertyAlias
PutAssetPropertyValueEntry & WithPropertyAlias(const char *value)
Definition: PutAssetPropertyValueEntry.h:268
Aws::IoT::Model::PutAssetPropertyValueEntry::operator=
PutAssetPropertyValueEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::PutAssetPropertyValueEntry::SetAssetId
void SetAssetId(const char *value)
Definition: PutAssetPropertyValueEntry.h:133
Aws::IoT::Model::PutAssetPropertyValueEntry::WithAssetId
PutAssetPropertyValueEntry & WithAssetId(Aws::String &&value)
Definition: PutAssetPropertyValueEntry.h:147
Aws::IoT::Model::PutAssetPropertyValueEntry::SetPropertyAlias
void SetPropertyAlias(const Aws::String &value)
Definition: PutAssetPropertyValueEntry.h:233
Aws::IoT::Model::PutAssetPropertyValueEntry::WithEntryId
PutAssetPropertyValueEntry & WithEntryId(const char *value)
Definition: PutAssetPropertyValueEntry.h:97
Aws::IoT::Model::PutAssetPropertyValueEntry
Definition: PutAssetPropertyValueEntry.h:35
Aws::IoT::Model::PutAssetPropertyValueEntry::WithPropertyId
PutAssetPropertyValueEntry & WithPropertyId(const Aws::String &value)
Definition: PutAssetPropertyValueEntry.h:197
Aws::IoT::Model::PutAssetPropertyValueEntry::PropertyAliasHasBeenSet
bool PropertyAliasHasBeenSet() const
Definition: PutAssetPropertyValueEntry.h:226
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::PutAssetPropertyValueEntry::WithPropertyValues
PutAssetPropertyValueEntry & WithPropertyValues(const Aws::Vector< AssetPropertyValue > &value)
Definition: PutAssetPropertyValueEntry.h:299
Aws::IoT::Model::PutAssetPropertyValueEntry::SetPropertyId
void SetPropertyId(Aws::String &&value)
Definition: PutAssetPropertyValueEntry.h:183
Aws::IoT::Model::PutAssetPropertyValueEntry::AddPropertyValues
PutAssetPropertyValueEntry & AddPropertyValues(const AssetPropertyValue &value)
Definition: PutAssetPropertyValueEntry.h:311
Aws::IoT::Model::PutAssetPropertyValueEntry::GetPropertyId
const Aws::String & GetPropertyId() const
Definition: PutAssetPropertyValueEntry.h:162
Aws::IoT::Model::PutAssetPropertyValueEntry::WithPropertyId
PutAssetPropertyValueEntry & WithPropertyId(Aws::String &&value)
Definition: PutAssetPropertyValueEntry.h:204
Aws::IoT::Model::PutAssetPropertyValueEntry::AddPropertyValues
PutAssetPropertyValueEntry & AddPropertyValues(AssetPropertyValue &&value)
Definition: PutAssetPropertyValueEntry.h:317
Aws::IoT::Model::PutAssetPropertyValueEntry::PutAssetPropertyValueEntry
PutAssetPropertyValueEntry(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::PutAssetPropertyValueEntry::WithEntryId
PutAssetPropertyValueEntry & WithEntryId(Aws::String &&value)
Definition: PutAssetPropertyValueEntry.h:90
Aws::IoT::Model::PutAssetPropertyValueEntry::PutAssetPropertyValueEntry
PutAssetPropertyValueEntry()
Aws::IoT::Model::PutAssetPropertyValueEntry::WithPropertyId
PutAssetPropertyValueEntry & WithPropertyId(const char *value)
Definition: PutAssetPropertyValueEntry.h:211
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::PutAssetPropertyValueEntry::SetPropertyValues
void SetPropertyValues(Aws::Vector< AssetPropertyValue > &&value)
Definition: PutAssetPropertyValueEntry.h:293
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::PutAssetPropertyValueEntry::WithAssetId
PutAssetPropertyValueEntry & WithAssetId(const char *value)
Definition: PutAssetPropertyValueEntry.h:154
AssetPropertyValue.h
Aws::IoT::Model::PutAssetPropertyValueEntry::WithPropertyAlias
PutAssetPropertyValueEntry & WithPropertyAlias(Aws::String &&value)
Definition: PutAssetPropertyValueEntry.h:261
Aws::IoT::Model::PutAssetPropertyValueEntry::SetPropertyId
void SetPropertyId(const Aws::String &value)
Definition: PutAssetPropertyValueEntry.h:176
Aws::IoT::Model::PutAssetPropertyValueEntry::SetEntryId
void SetEntryId(Aws::String &&value)
Definition: PutAssetPropertyValueEntry.h:69
Aws::IoT::Model::PutAssetPropertyValueEntry::GetEntryId
const Aws::String & GetEntryId() const
Definition: PutAssetPropertyValueEntry.h:48
Aws::IoT::Model::PutAssetPropertyValueEntry::SetPropertyValues
void SetPropertyValues(const Aws::Vector< AssetPropertyValue > &value)
Definition: PutAssetPropertyValueEntry.h:287
Aws::IoT::Model::PutAssetPropertyValueEntry::WithPropertyValues
PutAssetPropertyValueEntry & WithPropertyValues(Aws::Vector< AssetPropertyValue > &&value)
Definition: PutAssetPropertyValueEntry.h:305
Aws::IoT::Model::AssetPropertyValue
Definition: AssetPropertyValue.h:35
Aws::IoT::Model::PutAssetPropertyValueEntry::AssetIdHasBeenSet
bool AssetIdHasBeenSet() const
Definition: PutAssetPropertyValueEntry.h:112
Aws::IoT::Model::PutAssetPropertyValueEntry::SetPropertyId
void SetPropertyId(const char *value)
Definition: PutAssetPropertyValueEntry.h:190
Aws::IoT::Model::PutAssetPropertyValueEntry::SetEntryId
void SetEntryId(const Aws::String &value)
Definition: PutAssetPropertyValueEntry.h:62
IoT_EXPORTS.h