AWS SDK for C++  1.9.159
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 
184  inline const Aws::String& GetPropertyAlias() const{ return m_propertyAlias; }
185 
194  inline bool PropertyAliasHasBeenSet() const { return m_propertyAliasHasBeenSet; }
195 
204  inline void SetPropertyAlias(const Aws::String& value) { m_propertyAliasHasBeenSet = true; m_propertyAlias = value; }
205 
214  inline void SetPropertyAlias(Aws::String&& value) { m_propertyAliasHasBeenSet = true; m_propertyAlias = std::move(value); }
215 
224  inline void SetPropertyAlias(const char* value) { m_propertyAliasHasBeenSet = true; m_propertyAlias.assign(value); }
225 
234  inline PutAssetPropertyValueEntry& WithPropertyAlias(const Aws::String& value) { SetPropertyAlias(value); return *this;}
235 
244  inline PutAssetPropertyValueEntry& WithPropertyAlias(Aws::String&& value) { SetPropertyAlias(std::move(value)); return *this;}
245 
254  inline PutAssetPropertyValueEntry& WithPropertyAlias(const char* value) { SetPropertyAlias(value); return *this;}
255 
256 
261  inline const Aws::Vector<AssetPropertyValue>& GetPropertyValues() const{ return m_propertyValues; }
262 
267  inline bool PropertyValuesHasBeenSet() const { return m_propertyValuesHasBeenSet; }
268 
273  inline void SetPropertyValues(const Aws::Vector<AssetPropertyValue>& value) { m_propertyValuesHasBeenSet = true; m_propertyValues = value; }
274 
279  inline void SetPropertyValues(Aws::Vector<AssetPropertyValue>&& value) { m_propertyValuesHasBeenSet = true; m_propertyValues = std::move(value); }
280 
285  inline PutAssetPropertyValueEntry& WithPropertyValues(const Aws::Vector<AssetPropertyValue>& value) { SetPropertyValues(value); return *this;}
286 
291  inline PutAssetPropertyValueEntry& WithPropertyValues(Aws::Vector<AssetPropertyValue>&& value) { SetPropertyValues(std::move(value)); return *this;}
292 
297  inline PutAssetPropertyValueEntry& AddPropertyValues(const AssetPropertyValue& value) { m_propertyValuesHasBeenSet = true; m_propertyValues.push_back(value); return *this; }
298 
303  inline PutAssetPropertyValueEntry& AddPropertyValues(AssetPropertyValue&& value) { m_propertyValuesHasBeenSet = true; m_propertyValues.push_back(std::move(value)); return *this; }
304 
305  private:
306 
307  Aws::String m_entryId;
308  bool m_entryIdHasBeenSet;
309 
310  Aws::String m_assetId;
311  bool m_assetIdHasBeenSet;
312 
313  Aws::String m_propertyId;
314  bool m_propertyIdHasBeenSet;
315 
316  Aws::String m_propertyAlias;
317  bool m_propertyAliasHasBeenSet;
318 
319  Aws::Vector<AssetPropertyValue> m_propertyValues;
320  bool m_propertyValuesHasBeenSet;
321  };
322 
323 } // namespace Model
324 } // namespace IoTSiteWise
325 } // 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:244
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:291
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:194
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::GetPropertyValues
const Aws::Vector< AssetPropertyValue > & GetPropertyValues() const
Definition: PutAssetPropertyValueEntry.h:261
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:273
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::PropertyValuesHasBeenSet
bool PropertyValuesHasBeenSet() const
Definition: PutAssetPropertyValueEntry.h:267
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:254
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:297
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:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::GetPropertyAlias
const Aws::String & GetPropertyAlias() const
Definition: PutAssetPropertyValueEntry.h:184
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:279
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::AddPropertyValues
PutAssetPropertyValueEntry & AddPropertyValues(AssetPropertyValue &&value)
Definition: PutAssetPropertyValueEntry.h:303
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:204
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:285
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry::SetPropertyAlias
void SetPropertyAlias(const char *value)
Definition: PutAssetPropertyValueEntry.h:224
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:214
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:234