AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename EntryIdT = Aws::String>
72 void SetEntryId(EntryIdT&& value) { m_entryIdHasBeenSet = true; m_entryId = std::forward<EntryIdT>(value); }
73 template<typename EntryIdT = Aws::String>
74 IotSiteWiseAction& WithEntryId(EntryIdT&& value) { SetEntryId(std::forward<EntryIdT>(value)); return *this;}
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) { m_assetIdHasBeenSet = true; m_assetId = std::forward<AssetIdT>(value); }
85 template<typename AssetIdT = Aws::String>
86 IotSiteWiseAction& WithAssetId(AssetIdT&& value) { SetAssetId(std::forward<AssetIdT>(value)); return *this;}
88
90
93 inline const Aws::String& GetPropertyId() const { return m_propertyId; }
94 inline bool PropertyIdHasBeenSet() const { return m_propertyIdHasBeenSet; }
95 template<typename PropertyIdT = Aws::String>
96 void SetPropertyId(PropertyIdT&& value) { m_propertyIdHasBeenSet = true; m_propertyId = std::forward<PropertyIdT>(value); }
97 template<typename PropertyIdT = Aws::String>
98 IotSiteWiseAction& WithPropertyId(PropertyIdT&& value) { SetPropertyId(std::forward<PropertyIdT>(value)); return *this;}
100
102
105 inline const Aws::String& GetPropertyAlias() const { return m_propertyAlias; }
106 inline bool PropertyAliasHasBeenSet() const { return m_propertyAliasHasBeenSet; }
107 template<typename PropertyAliasT = Aws::String>
108 void SetPropertyAlias(PropertyAliasT&& value) { m_propertyAliasHasBeenSet = true; m_propertyAlias = std::forward<PropertyAliasT>(value); }
109 template<typename PropertyAliasT = Aws::String>
110 IotSiteWiseAction& WithPropertyAlias(PropertyAliasT&& value) { SetPropertyAlias(std::forward<PropertyAliasT>(value)); return *this;}
112
114
118 inline const AssetPropertyValue& GetPropertyValue() const { return m_propertyValue; }
119 inline bool PropertyValueHasBeenSet() const { return m_propertyValueHasBeenSet; }
120 template<typename PropertyValueT = AssetPropertyValue>
121 void SetPropertyValue(PropertyValueT&& value) { m_propertyValueHasBeenSet = true; m_propertyValue = std::forward<PropertyValueT>(value); }
122 template<typename PropertyValueT = AssetPropertyValue>
123 IotSiteWiseAction& WithPropertyValue(PropertyValueT&& value) { SetPropertyValue(std::forward<PropertyValueT>(value)); return *this;}
125 private:
126
127 Aws::String m_entryId;
128 bool m_entryIdHasBeenSet = false;
129
130 Aws::String m_assetId;
131 bool m_assetIdHasBeenSet = false;
132
133 Aws::String m_propertyId;
134 bool m_propertyIdHasBeenSet = false;
135
136 Aws::String m_propertyAlias;
137 bool m_propertyAliasHasBeenSet = false;
138
139 AssetPropertyValue m_propertyValue;
140 bool m_propertyValueHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace IoTEvents
145} // 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