AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IotSiteWiseAction.h
1
6#pragma once
7#include <aws/iotevents/IoTEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotevents/model/AssetPropertyValue.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IoTEvents
23{
24namespace Model
25{
26
55 {
56 public:
57 AWS_IOTEVENTS_API IotSiteWiseAction();
58 AWS_IOTEVENTS_API IotSiteWiseAction(Aws::Utils::Json::JsonView jsonValue);
60 AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
61
62
64
69 inline const Aws::String& GetEntryId() const{ return m_entryId; }
70 inline bool EntryIdHasBeenSet() const { return m_entryIdHasBeenSet; }
71 inline void SetEntryId(const Aws::String& value) { m_entryIdHasBeenSet = true; m_entryId = value; }
72 inline void SetEntryId(Aws::String&& value) { m_entryIdHasBeenSet = true; m_entryId = std::move(value); }
73 inline void SetEntryId(const char* value) { m_entryIdHasBeenSet = true; m_entryId.assign(value); }
74 inline IotSiteWiseAction& WithEntryId(const Aws::String& value) { SetEntryId(value); return *this;}
75 inline IotSiteWiseAction& WithEntryId(Aws::String&& value) { SetEntryId(std::move(value)); return *this;}
76 inline IotSiteWiseAction& WithEntryId(const char* value) { SetEntryId(value); return *this;}
78
80
83 inline const Aws::String& GetAssetId() const{ return m_assetId; }
84 inline bool AssetIdHasBeenSet() const { return m_assetIdHasBeenSet; }
85 inline void SetAssetId(const Aws::String& value) { m_assetIdHasBeenSet = true; m_assetId = value; }
86 inline void SetAssetId(Aws::String&& value) { m_assetIdHasBeenSet = true; m_assetId = std::move(value); }
87 inline void SetAssetId(const char* value) { m_assetIdHasBeenSet = true; m_assetId.assign(value); }
88 inline IotSiteWiseAction& WithAssetId(const Aws::String& value) { SetAssetId(value); return *this;}
89 inline IotSiteWiseAction& WithAssetId(Aws::String&& value) { SetAssetId(std::move(value)); return *this;}
90 inline IotSiteWiseAction& WithAssetId(const char* value) { SetAssetId(value); return *this;}
92
94
97 inline const Aws::String& GetPropertyId() const{ return m_propertyId; }
98 inline bool PropertyIdHasBeenSet() const { return m_propertyIdHasBeenSet; }
99 inline void SetPropertyId(const Aws::String& value) { m_propertyIdHasBeenSet = true; m_propertyId = value; }
100 inline void SetPropertyId(Aws::String&& value) { m_propertyIdHasBeenSet = true; m_propertyId = std::move(value); }
101 inline void SetPropertyId(const char* value) { m_propertyIdHasBeenSet = true; m_propertyId.assign(value); }
102 inline IotSiteWiseAction& WithPropertyId(const Aws::String& value) { SetPropertyId(value); return *this;}
103 inline IotSiteWiseAction& WithPropertyId(Aws::String&& value) { SetPropertyId(std::move(value)); return *this;}
104 inline IotSiteWiseAction& WithPropertyId(const char* value) { SetPropertyId(value); return *this;}
106
108
111 inline const Aws::String& GetPropertyAlias() const{ return m_propertyAlias; }
112 inline bool PropertyAliasHasBeenSet() const { return m_propertyAliasHasBeenSet; }
113 inline void SetPropertyAlias(const Aws::String& value) { m_propertyAliasHasBeenSet = true; m_propertyAlias = value; }
114 inline void SetPropertyAlias(Aws::String&& value) { m_propertyAliasHasBeenSet = true; m_propertyAlias = std::move(value); }
115 inline void SetPropertyAlias(const char* value) { m_propertyAliasHasBeenSet = true; m_propertyAlias.assign(value); }
116 inline IotSiteWiseAction& WithPropertyAlias(const Aws::String& value) { SetPropertyAlias(value); return *this;}
117 inline IotSiteWiseAction& WithPropertyAlias(Aws::String&& value) { SetPropertyAlias(std::move(value)); return *this;}
118 inline IotSiteWiseAction& WithPropertyAlias(const char* value) { SetPropertyAlias(value); return *this;}
120
122
126 inline const AssetPropertyValue& GetPropertyValue() const{ return m_propertyValue; }
127 inline bool PropertyValueHasBeenSet() const { return m_propertyValueHasBeenSet; }
128 inline void SetPropertyValue(const AssetPropertyValue& value) { m_propertyValueHasBeenSet = true; m_propertyValue = value; }
129 inline void SetPropertyValue(AssetPropertyValue&& value) { m_propertyValueHasBeenSet = true; m_propertyValue = std::move(value); }
130 inline IotSiteWiseAction& WithPropertyValue(const AssetPropertyValue& value) { SetPropertyValue(value); return *this;}
131 inline IotSiteWiseAction& WithPropertyValue(AssetPropertyValue&& value) { SetPropertyValue(std::move(value)); return *this;}
133 private:
134
135 Aws::String m_entryId;
136 bool m_entryIdHasBeenSet = false;
137
138 Aws::String m_assetId;
139 bool m_assetIdHasBeenSet = false;
140
141 Aws::String m_propertyId;
142 bool m_propertyIdHasBeenSet = false;
143
144 Aws::String m_propertyAlias;
145 bool m_propertyAliasHasBeenSet = false;
146
147 AssetPropertyValue m_propertyValue;
148 bool m_propertyValueHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace IoTEvents
153} // namespace Aws
IotSiteWiseAction & WithPropertyId(Aws::String &&value)
void SetPropertyValue(const AssetPropertyValue &value)
const Aws::String & GetPropertyId() const
IotSiteWiseAction & WithAssetId(const char *value)
IotSiteWiseAction & WithAssetId(Aws::String &&value)
void SetPropertyValue(AssetPropertyValue &&value)
void SetAssetId(const Aws::String &value)
const Aws::String & GetPropertyAlias() const
void SetEntryId(const Aws::String &value)
void SetPropertyAlias(const Aws::String &value)
IotSiteWiseAction & WithEntryId(const char *value)
AWS_IOTEVENTS_API IotSiteWiseAction(Aws::Utils::Json::JsonView jsonValue)
IotSiteWiseAction & WithPropertyId(const char *value)
AWS_IOTEVENTS_API IotSiteWiseAction & operator=(Aws::Utils::Json::JsonView jsonValue)
IotSiteWiseAction & WithPropertyAlias(Aws::String &&value)
IotSiteWiseAction & WithAssetId(const Aws::String &value)
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
IotSiteWiseAction & WithPropertyId(const Aws::String &value)
IotSiteWiseAction & WithEntryId(Aws::String &&value)
IotSiteWiseAction & WithPropertyAlias(const char *value)
IotSiteWiseAction & WithPropertyValue(const AssetPropertyValue &value)
IotSiteWiseAction & WithPropertyAlias(const Aws::String &value)
void SetPropertyId(const Aws::String &value)
IotSiteWiseAction & WithEntryId(const Aws::String &value)
const AssetPropertyValue & GetPropertyValue() const
IotSiteWiseAction & WithPropertyValue(AssetPropertyValue &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue