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/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/iot/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 IoT
24{
25namespace Model
26{
27
35 {
36 public:
41
42
44
49 inline const Aws::String& GetEntryId() const{ return m_entryId; }
50 inline bool EntryIdHasBeenSet() const { return m_entryIdHasBeenSet; }
51 inline void SetEntryId(const Aws::String& value) { m_entryIdHasBeenSet = true; m_entryId = value; }
52 inline void SetEntryId(Aws::String&& value) { m_entryIdHasBeenSet = true; m_entryId = std::move(value); }
53 inline void SetEntryId(const char* value) { m_entryIdHasBeenSet = true; m_entryId.assign(value); }
54 inline PutAssetPropertyValueEntry& WithEntryId(const Aws::String& value) { SetEntryId(value); return *this;}
55 inline PutAssetPropertyValueEntry& WithEntryId(Aws::String&& value) { SetEntryId(std::move(value)); return *this;}
56 inline PutAssetPropertyValueEntry& WithEntryId(const char* value) { SetEntryId(value); return *this;}
58
60
65 inline const Aws::String& GetAssetId() const{ return m_assetId; }
66 inline bool AssetIdHasBeenSet() const { return m_assetIdHasBeenSet; }
67 inline void SetAssetId(const Aws::String& value) { m_assetIdHasBeenSet = true; m_assetId = value; }
68 inline void SetAssetId(Aws::String&& value) { m_assetIdHasBeenSet = true; m_assetId = std::move(value); }
69 inline void SetAssetId(const char* value) { m_assetIdHasBeenSet = true; m_assetId.assign(value); }
70 inline PutAssetPropertyValueEntry& WithAssetId(const Aws::String& value) { SetAssetId(value); return *this;}
71 inline PutAssetPropertyValueEntry& WithAssetId(Aws::String&& value) { SetAssetId(std::move(value)); return *this;}
72 inline PutAssetPropertyValueEntry& WithAssetId(const char* value) { SetAssetId(value); return *this;}
74
76
81 inline const Aws::String& GetPropertyId() const{ return m_propertyId; }
82 inline bool PropertyIdHasBeenSet() const { return m_propertyIdHasBeenSet; }
83 inline void SetPropertyId(const Aws::String& value) { m_propertyIdHasBeenSet = true; m_propertyId = value; }
84 inline void SetPropertyId(Aws::String&& value) { m_propertyIdHasBeenSet = true; m_propertyId = std::move(value); }
85 inline void SetPropertyId(const char* value) { m_propertyIdHasBeenSet = true; m_propertyId.assign(value); }
86 inline PutAssetPropertyValueEntry& WithPropertyId(const Aws::String& value) { SetPropertyId(value); return *this;}
87 inline PutAssetPropertyValueEntry& WithPropertyId(Aws::String&& value) { SetPropertyId(std::move(value)); return *this;}
88 inline PutAssetPropertyValueEntry& WithPropertyId(const char* value) { SetPropertyId(value); return *this;}
90
92
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 IoT
141} // namespace Aws
bool EntryIdHasBeenSet() const
PutAssetPropertyValueEntry & WithPropertyId(Aws::String &&value)
void SetAssetId(Aws::String &&value)
const Aws::String & GetPropertyAlias() const
const Aws::String & GetAssetId() const
void SetEntryId(Aws::String &&value)
void SetEntryId(const char *value)
PutAssetPropertyValueEntry & WithPropertyId(const char *value)
void SetPropertyId(Aws::String &&value)
const Aws::String & GetPropertyId() const
PutAssetPropertyValueEntry & WithAssetId(const Aws::String &value)
PutAssetPropertyValueEntry & WithPropertyValues(const Aws::Vector< AssetPropertyValue > &value)
PutAssetPropertyValueEntry & WithPropertyAlias(Aws::String &&value)
PutAssetPropertyValueEntry & WithPropertyAlias(const Aws::String &value)
void SetEntryId(const Aws::String &value)
PutAssetPropertyValueEntry & AddPropertyValues(AssetPropertyValue &&value)
PutAssetPropertyValueEntry & WithEntryId(Aws::String &&value)
void SetPropertyAlias(Aws::String &&value)
const Aws::Vector< AssetPropertyValue > & GetPropertyValues() const
void SetAssetId(const Aws::String &value)
PutAssetPropertyValueEntry & WithPropertyId(const Aws::String &value)
AWS_IOT_API PutAssetPropertyValueEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
bool PropertyIdHasBeenSet() const
void SetAssetId(const char *value)
PutAssetPropertyValueEntry & WithEntryId(const Aws::String &value)
void SetPropertyId(const char *value)
PutAssetPropertyValueEntry & AddPropertyValues(const AssetPropertyValue &value)
void SetPropertyAlias(const char *value)
AWS_IOT_API PutAssetPropertyValueEntry()
void SetPropertyValues(Aws::Vector< AssetPropertyValue > &&value)
const Aws::String & GetEntryId() const
PutAssetPropertyValueEntry & WithEntryId(const char *value)
void SetPropertyAlias(const Aws::String &value)
PutAssetPropertyValueEntry & WithPropertyValues(Aws::Vector< AssetPropertyValue > &&value)
PutAssetPropertyValueEntry & WithAssetId(Aws::String &&value)
PutAssetPropertyValueEntry & WithAssetId(const char *value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
bool PropertyValuesHasBeenSet() const
void SetPropertyValues(const Aws::Vector< AssetPropertyValue > &value)
bool PropertyAliasHasBeenSet() const
AWS_IOT_API PutAssetPropertyValueEntry(Aws::Utils::Json::JsonView jsonValue)
void SetPropertyId(const Aws::String &value)
PutAssetPropertyValueEntry & WithPropertyAlias(const char *value)
bool AssetIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue