AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
IotSiteWiseAction.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iotevents/IoTEvents_EXPORTS.h>
9#include <aws/iotevents/model/AssetPropertyValue.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace IoTEvents {
21namespace Model {
22
51 public:
52 AWS_IOTEVENTS_API IotSiteWiseAction() = default;
53 AWS_IOTEVENTS_API IotSiteWiseAction(Aws::Utils::Json::JsonView jsonValue);
55 AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
56
58
63 inline const Aws::String& GetEntryId() const { return m_entryId; }
64 inline bool EntryIdHasBeenSet() const { return m_entryIdHasBeenSet; }
65 template <typename EntryIdT = Aws::String>
66 void SetEntryId(EntryIdT&& value) {
67 m_entryIdHasBeenSet = true;
68 m_entryId = std::forward<EntryIdT>(value);
69 }
70 template <typename EntryIdT = Aws::String>
71 IotSiteWiseAction& WithEntryId(EntryIdT&& value) {
72 SetEntryId(std::forward<EntryIdT>(value));
73 return *this;
74 }
76
78
81 inline const Aws::String& GetAssetId() const { return m_assetId; }
82 inline bool AssetIdHasBeenSet() const { return m_assetIdHasBeenSet; }
83 template <typename AssetIdT = Aws::String>
84 void SetAssetId(AssetIdT&& value) {
85 m_assetIdHasBeenSet = true;
86 m_assetId = std::forward<AssetIdT>(value);
87 }
88 template <typename AssetIdT = Aws::String>
89 IotSiteWiseAction& WithAssetId(AssetIdT&& value) {
90 SetAssetId(std::forward<AssetIdT>(value));
91 return *this;
92 }
94
96
99 inline const Aws::String& GetPropertyId() const { return m_propertyId; }
100 inline bool PropertyIdHasBeenSet() const { return m_propertyIdHasBeenSet; }
101 template <typename PropertyIdT = Aws::String>
102 void SetPropertyId(PropertyIdT&& value) {
103 m_propertyIdHasBeenSet = true;
104 m_propertyId = std::forward<PropertyIdT>(value);
105 }
106 template <typename PropertyIdT = Aws::String>
107 IotSiteWiseAction& WithPropertyId(PropertyIdT&& value) {
108 SetPropertyId(std::forward<PropertyIdT>(value));
109 return *this;
110 }
112
114
117 inline const Aws::String& GetPropertyAlias() const { return m_propertyAlias; }
118 inline bool PropertyAliasHasBeenSet() const { return m_propertyAliasHasBeenSet; }
119 template <typename PropertyAliasT = Aws::String>
120 void SetPropertyAlias(PropertyAliasT&& value) {
121 m_propertyAliasHasBeenSet = true;
122 m_propertyAlias = std::forward<PropertyAliasT>(value);
123 }
124 template <typename PropertyAliasT = Aws::String>
125 IotSiteWiseAction& WithPropertyAlias(PropertyAliasT&& value) {
126 SetPropertyAlias(std::forward<PropertyAliasT>(value));
127 return *this;
128 }
130
132
136 inline const AssetPropertyValue& GetPropertyValue() const { return m_propertyValue; }
137 inline bool PropertyValueHasBeenSet() const { return m_propertyValueHasBeenSet; }
138 template <typename PropertyValueT = AssetPropertyValue>
139 void SetPropertyValue(PropertyValueT&& value) {
140 m_propertyValueHasBeenSet = true;
141 m_propertyValue = std::forward<PropertyValueT>(value);
142 }
143 template <typename PropertyValueT = AssetPropertyValue>
144 IotSiteWiseAction& WithPropertyValue(PropertyValueT&& value) {
145 SetPropertyValue(std::forward<PropertyValueT>(value));
146 return *this;
147 }
149 private:
150 Aws::String m_entryId;
151
152 Aws::String m_assetId;
153
154 Aws::String m_propertyId;
155
156 Aws::String m_propertyAlias;
157
158 AssetPropertyValue m_propertyValue;
159 bool m_entryIdHasBeenSet = false;
160 bool m_assetIdHasBeenSet = false;
161 bool m_propertyIdHasBeenSet = false;
162 bool m_propertyAliasHasBeenSet = false;
163 bool m_propertyValueHasBeenSet = false;
164};
165
166} // namespace Model
167} // namespace IoTEvents
168} // namespace Aws
const Aws::String & GetPropertyId() const
const Aws::String & GetPropertyAlias() const
void SetPropertyAlias(PropertyAliasT &&value)
IotSiteWiseAction & WithAssetId(AssetIdT &&value)
IotSiteWiseAction & WithPropertyAlias(PropertyAliasT &&value)
AWS_IOTEVENTS_API IotSiteWiseAction(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTEVENTS_API IotSiteWiseAction()=default
AWS_IOTEVENTS_API IotSiteWiseAction & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPropertyValue(PropertyValueT &&value)
IotSiteWiseAction & WithEntryId(EntryIdT &&value)
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
IotSiteWiseAction & WithPropertyValue(PropertyValueT &&value)
IotSiteWiseAction & WithPropertyId(PropertyIdT &&value)
const AssetPropertyValue & GetPropertyValue() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue