AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
VariableValue.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/AssetModelPropertyPathSegment.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
35 {
36 public:
37 AWS_IOTSITEWISE_API VariableValue() = default;
38 AWS_IOTSITEWISE_API VariableValue(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTSITEWISE_API VariableValue& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
52 inline const Aws::String& GetPropertyId() const { return m_propertyId; }
53 inline bool PropertyIdHasBeenSet() const { return m_propertyIdHasBeenSet; }
54 template<typename PropertyIdT = Aws::String>
55 void SetPropertyId(PropertyIdT&& value) { m_propertyIdHasBeenSet = true; m_propertyId = std::forward<PropertyIdT>(value); }
56 template<typename PropertyIdT = Aws::String>
57 VariableValue& WithPropertyId(PropertyIdT&& value) { SetPropertyId(std::forward<PropertyIdT>(value)); return *this;}
59
61
75 inline const Aws::String& GetHierarchyId() const { return m_hierarchyId; }
76 inline bool HierarchyIdHasBeenSet() const { return m_hierarchyIdHasBeenSet; }
77 template<typename HierarchyIdT = Aws::String>
78 void SetHierarchyId(HierarchyIdT&& value) { m_hierarchyIdHasBeenSet = true; m_hierarchyId = std::forward<HierarchyIdT>(value); }
79 template<typename HierarchyIdT = Aws::String>
80 VariableValue& WithHierarchyId(HierarchyIdT&& value) { SetHierarchyId(std::forward<HierarchyIdT>(value)); return *this;}
82
84
87 inline const Aws::Vector<AssetModelPropertyPathSegment>& GetPropertyPath() const { return m_propertyPath; }
88 inline bool PropertyPathHasBeenSet() const { return m_propertyPathHasBeenSet; }
89 template<typename PropertyPathT = Aws::Vector<AssetModelPropertyPathSegment>>
90 void SetPropertyPath(PropertyPathT&& value) { m_propertyPathHasBeenSet = true; m_propertyPath = std::forward<PropertyPathT>(value); }
91 template<typename PropertyPathT = Aws::Vector<AssetModelPropertyPathSegment>>
92 VariableValue& WithPropertyPath(PropertyPathT&& value) { SetPropertyPath(std::forward<PropertyPathT>(value)); return *this;}
93 template<typename PropertyPathT = AssetModelPropertyPathSegment>
94 VariableValue& AddPropertyPath(PropertyPathT&& value) { m_propertyPathHasBeenSet = true; m_propertyPath.emplace_back(std::forward<PropertyPathT>(value)); return *this; }
96 private:
97
98 Aws::String m_propertyId;
99 bool m_propertyIdHasBeenSet = false;
100
101 Aws::String m_hierarchyId;
102 bool m_hierarchyIdHasBeenSet = false;
103
105 bool m_propertyPathHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace IoTSiteWise
110} // namespace Aws
VariableValue & WithHierarchyId(HierarchyIdT &&value)
AWS_IOTSITEWISE_API VariableValue()=default
const Aws::String & GetHierarchyId() const
AWS_IOTSITEWISE_API VariableValue(Aws::Utils::Json::JsonView jsonValue)
void SetHierarchyId(HierarchyIdT &&value)
VariableValue & WithPropertyId(PropertyIdT &&value)
const Aws::String & GetPropertyId() const
void SetPropertyId(PropertyIdT &&value)
VariableValue & WithPropertyPath(PropertyPathT &&value)
const Aws::Vector< AssetModelPropertyPathSegment > & GetPropertyPath() const
VariableValue & AddPropertyPath(PropertyPathT &&value)
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTSITEWISE_API VariableValue & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPropertyPath(PropertyPathT &&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