AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutAssetPropertyValueEntry.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/iotsitewise/model/AssetPropertyValue.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
37 {
38 public:
39 AWS_IOTSITEWISE_API PutAssetPropertyValueEntry();
42 AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const Aws::String& GetEntryId() const{ return m_entryId; }
51 inline bool EntryIdHasBeenSet() const { return m_entryIdHasBeenSet; }
52 inline void SetEntryId(const Aws::String& value) { m_entryIdHasBeenSet = true; m_entryId = value; }
53 inline void SetEntryId(Aws::String&& value) { m_entryIdHasBeenSet = true; m_entryId = std::move(value); }
54 inline void SetEntryId(const char* value) { m_entryIdHasBeenSet = true; m_entryId.assign(value); }
55 inline PutAssetPropertyValueEntry& WithEntryId(const Aws::String& value) { SetEntryId(value); return *this;}
56 inline PutAssetPropertyValueEntry& WithEntryId(Aws::String&& value) { SetEntryId(std::move(value)); return *this;}
57 inline PutAssetPropertyValueEntry& WithEntryId(const char* value) { SetEntryId(value); return *this;}
59
61
64 inline const Aws::String& GetAssetId() const{ return m_assetId; }
65 inline bool AssetIdHasBeenSet() const { return m_assetIdHasBeenSet; }
66 inline void SetAssetId(const Aws::String& value) { m_assetIdHasBeenSet = true; m_assetId = value; }
67 inline void SetAssetId(Aws::String&& value) { m_assetIdHasBeenSet = true; m_assetId = std::move(value); }
68 inline void SetAssetId(const char* value) { m_assetIdHasBeenSet = true; m_assetId.assign(value); }
69 inline PutAssetPropertyValueEntry& WithAssetId(const Aws::String& value) { SetAssetId(value); return *this;}
70 inline PutAssetPropertyValueEntry& WithAssetId(Aws::String&& value) { SetAssetId(std::move(value)); return *this;}
71 inline PutAssetPropertyValueEntry& WithAssetId(const char* value) { SetAssetId(value); return *this;}
73
75
78 inline const Aws::String& GetPropertyId() const{ return m_propertyId; }
79 inline bool PropertyIdHasBeenSet() const { return m_propertyIdHasBeenSet; }
80 inline void SetPropertyId(const Aws::String& value) { m_propertyIdHasBeenSet = true; m_propertyId = value; }
81 inline void SetPropertyId(Aws::String&& value) { m_propertyIdHasBeenSet = true; m_propertyId = std::move(value); }
82 inline void SetPropertyId(const char* value) { m_propertyIdHasBeenSet = true; m_propertyId.assign(value); }
83 inline PutAssetPropertyValueEntry& WithPropertyId(const Aws::String& value) { SetPropertyId(value); return *this;}
84 inline PutAssetPropertyValueEntry& WithPropertyId(Aws::String&& value) { SetPropertyId(std::move(value)); return *this;}
85 inline PutAssetPropertyValueEntry& WithPropertyId(const char* value) { SetPropertyId(value); return *this;}
87
89
97 inline const Aws::String& GetPropertyAlias() const{ return m_propertyAlias; }
98 inline bool PropertyAliasHasBeenSet() const { return m_propertyAliasHasBeenSet; }
99 inline void SetPropertyAlias(const Aws::String& value) { m_propertyAliasHasBeenSet = true; m_propertyAlias = value; }
100 inline void SetPropertyAlias(Aws::String&& value) { m_propertyAliasHasBeenSet = true; m_propertyAlias = std::move(value); }
101 inline void SetPropertyAlias(const char* value) { m_propertyAliasHasBeenSet = true; m_propertyAlias.assign(value); }
102 inline PutAssetPropertyValueEntry& WithPropertyAlias(const Aws::String& value) { SetPropertyAlias(value); return *this;}
103 inline PutAssetPropertyValueEntry& WithPropertyAlias(Aws::String&& value) { SetPropertyAlias(std::move(value)); return *this;}
104 inline PutAssetPropertyValueEntry& WithPropertyAlias(const char* value) { SetPropertyAlias(value); return *this;}
106
108
112 inline const Aws::Vector<AssetPropertyValue>& GetPropertyValues() const{ return m_propertyValues; }
113 inline bool PropertyValuesHasBeenSet() const { return m_propertyValuesHasBeenSet; }
114 inline void SetPropertyValues(const Aws::Vector<AssetPropertyValue>& value) { m_propertyValuesHasBeenSet = true; m_propertyValues = value; }
115 inline void SetPropertyValues(Aws::Vector<AssetPropertyValue>&& value) { m_propertyValuesHasBeenSet = true; m_propertyValues = std::move(value); }
118 inline PutAssetPropertyValueEntry& AddPropertyValues(const AssetPropertyValue& value) { m_propertyValuesHasBeenSet = true; m_propertyValues.push_back(value); return *this; }
119 inline PutAssetPropertyValueEntry& AddPropertyValues(AssetPropertyValue&& value) { m_propertyValuesHasBeenSet = true; m_propertyValues.push_back(std::move(value)); return *this; }
121 private:
122
123 Aws::String m_entryId;
124 bool m_entryIdHasBeenSet = false;
125
126 Aws::String m_assetId;
127 bool m_assetIdHasBeenSet = false;
128
129 Aws::String m_propertyId;
130 bool m_propertyIdHasBeenSet = false;
131
132 Aws::String m_propertyAlias;
133 bool m_propertyAliasHasBeenSet = false;
134
135 Aws::Vector<AssetPropertyValue> m_propertyValues;
136 bool m_propertyValuesHasBeenSet = false;
137 };
138
139} // namespace Model
140} // namespace IoTSiteWise
141} // namespace Aws
void SetAssetId(const char *value)
void SetEntryId(Aws::String &&value)
PutAssetPropertyValueEntry & WithPropertyId(const Aws::String &value)
PutAssetPropertyValueEntry & WithEntryId(const char *value)
void SetEntryId(const Aws::String &value)
const Aws::String & GetPropertyId() const
void SetPropertyId(Aws::String &&value)
bool PropertyAliasHasBeenSet() const
const Aws::String & GetPropertyAlias() const
PutAssetPropertyValueEntry & WithPropertyAlias(const Aws::String &value)
bool PropertyIdHasBeenSet() const
PutAssetPropertyValueEntry & WithPropertyAlias(Aws::String &&value)
bool EntryIdHasBeenSet() const
void SetEntryId(const char *value)
PutAssetPropertyValueEntry & AddPropertyValues(AssetPropertyValue &&value)
PutAssetPropertyValueEntry & WithAssetId(Aws::String &&value)
AWS_IOTSITEWISE_API PutAssetPropertyValueEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
PutAssetPropertyValueEntry & WithEntryId(const Aws::String &value)
PutAssetPropertyValueEntry & WithPropertyAlias(const char *value)
PutAssetPropertyValueEntry & WithPropertyId(Aws::String &&value)
const Aws::Vector< AssetPropertyValue > & GetPropertyValues() const
void SetAssetId(const Aws::String &value)
const Aws::String & GetAssetId() const
bool PropertyValuesHasBeenSet() const
PutAssetPropertyValueEntry & WithAssetId(const Aws::String &value)
PutAssetPropertyValueEntry & WithPropertyId(const char *value)
void SetPropertyAlias(const char *value)
const Aws::String & GetEntryId() const
void SetPropertyId(const Aws::String &value)
PutAssetPropertyValueEntry & WithPropertyValues(const Aws::Vector< AssetPropertyValue > &value)
PutAssetPropertyValueEntry & WithEntryId(Aws::String &&value)
PutAssetPropertyValueEntry & WithPropertyValues(Aws::Vector< AssetPropertyValue > &&value)
bool AssetIdHasBeenSet() const
void SetPropertyValues(Aws::Vector< AssetPropertyValue > &&value)
void SetPropertyAlias(Aws::String &&value)
void SetPropertyAlias(const Aws::String &value)
PutAssetPropertyValueEntry & AddPropertyValues(const AssetPropertyValue &value)
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTSITEWISE_API PutAssetPropertyValueEntry(Aws::Utils::Json::JsonView jsonValue)
void SetPropertyValues(const Aws::Vector< AssetPropertyValue > &value)
PutAssetPropertyValueEntry & WithAssetId(const char *value)
void SetAssetId(Aws::String &&value)
AWS_IOTSITEWISE_API PutAssetPropertyValueEntry()
void SetPropertyId(const char *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